mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Before bug 1763750, we unconditionally called compute_writing_mode, which got the writing mode from the cascade mode for visited styles. However after that bug we only do that if we apply any writing-mode-related property. We could just call compute_writing_mode unconditionally, but instead it seems better to skip all that work for visited cascade and reuse the mechanism introduced in that bug to only apply the visited-dependent longhands. We assert that all visited-dependent longhands are "late" longhands, so as to also avoid applying the font group and such. Differential Revision: https://phabricator.services.mozilla.com/D143490 |
||
---|---|---|
.. | ||
helpers | ||
longhands | ||
shorthands | ||
build.py | ||
cascade.rs | ||
computed_value_flags.rs | ||
counted_unknown_properties.py | ||
data.py | ||
declaration_block.rs | ||
gecko.mako.rs | ||
helpers.mako.rs | ||
Mako-1.1.2-py2.py3-none-any.whl | ||
properties.html.mako | ||
properties.mako.rs |