Emilio Cobos Álvarez
Emilio Cobos Álvarez
While looking into this, I realized that `CSSMediaRule.matches` isn't _quite_ easy either... A media rule might be disconnected from a document, accessed from another document, etc. So at least we...
FWIW, wpt.fyi solves a very similar problem using just css like: ```css code:hover { width: max-content; } ``` (See the "Subtest" column in a test with long names like [this](https://wpt.fyi/results/css/cssom/CSSStyleSheet-constructable.html?label=master&label=experimental),...
Right, I think we already depend on when styles are "visible" to the engine via transitions and such. @bfgeek is right that this is not really terribly-well defined (that's https://github.com/w3c/csswg-drafts/issues/5115).
> Can you describe the motivation a bit better? From that bug it sounds like this might allow for some simplification of layout/paint code? It doesn't really simplify anything. Iff...
Not opposed to this, and it shouldn't be observable, but I'm curious about the performance argument, is the claim that's faster to parse? I expect the performance difference to be...
`transform` supports unitless zero angles in a few places, but I think that's it.
Yeah, so what we implement is just an alias for `mask-composite`: https://searchfox.org/mozilla-central/rev/7b1de5e29d878cc163dec7beaf9b57a2f0f41aaa/servo/components/style/properties/longhands/svg.mako.rs#169 Blaming it, it goes back to the original implementation of the property in https://bugzilla.mozilla.org/show_bug.cgi?id=686281: https://hg.mozilla.org/mozilla-central/rev/f6eba571ce59. So this is...
There's `scroll-padding` / `scroll-margin` you could use, to make sure you scroll at least to a "safe" place. (40% of the viewport height or such maybe? If that intersects with...
Just a quick update: The vtables before were absolutely wrong anyway (didn't take into account destructors, etc.). Also, MSVC packs virtual method overrides differently from the rest of the compilers,...
It's not really trivial, someone needs to go ahead and implement it properly, and add a bunch of tests. I'd be happy to mentor, though I'm not sure if I'd...