Emilio Cobos Álvarez
Emilio Cobos Álvarez
(Though not a terrible fan of it it might be the path of least resistance...) I assume that for stuff that doesn't apply you just always return the empty string?
So, here's a proposal. All of the interfaces below would extend `CSSStyleDeclaration` and thus have a `getPropertyValue` / `setProperty` / `cssText` / `length` / `item` / etc...: * `CSSStyleProperties` (`CSS2Properties`)...
I guess not really, that'd be fine for me.
@bfgeek behavior changes as you'd expect, I agree this is just a different min/max algo
For my own reference, here's the Gecko changes lea is talking about in the OP: https://gist.github.com/emilio/7affed0677dd1a26caf482a025a60635
Yeah, I agree this is not so complicated as `:has()` because it doesn't descend. However, it's still a bunch of work and cache misses to walk the DOM if there...
cc #6988 which is somewhat related.
Right. My reasoning for doing this for SVG images is that they cannot run script, etc, so it's a much more limited environment. But I guess you're right that they...
Yeah, that's right.
I just realized that in non-Gecko browsers, this bit of information is already passed down to the right process due to https://github.com/w3c/csswg-drafts/issues/4772.