servo/components/style/properties
Emilio Cobos Álvarez 14fb147b6c style: Fix visited handling after bug 1763750
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
2023-08-16 17:46:41 +02:00
..
helpers Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
longhands style: Implement parsing / serialization for container{,-type,-name} CSS properties 2023-08-16 17:46:41 +02:00
shorthands style: Implement parsing / serialization for container{,-type,-name} CSS properties 2023-08-16 17:46:41 +02:00
build.py Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
cascade.rs style: Fix visited handling after bug 1763750 2023-08-16 17:46:41 +02:00
computed_value_flags.rs style: Remove NS_AUTHOR_SPECIFIED_PADDING 2023-05-31 00:50:28 +02:00
counted_unknown_properties.py Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
data.py style: Implement parsing / serialization for container{,-type,-name} CSS properties 2023-08-16 17:46:41 +02:00
declaration_block.rs style: Add support for the revert-layer keyword 2023-06-09 10:22:22 +02:00
gecko.mako.rs Revert "Backport several style changes from Gecko (5) (#30099)" (#30104) 2023-08-16 06:24:42 +00:00
helpers.mako.rs Make the choice of layout runtime setting 2023-07-06 14:49:24 +02:00
Mako-1.1.2-py2.py3-none-any.whl style: Update mako in the style system. 2020-04-16 16:35:07 +02:00
properties.html.mako Generate apis.html and css-properties.json for docs as part of crates’ build scripts 2019-07-30 08:37:33 +02:00
properties.mako.rs style: Fix visited handling after bug 1763750 2023-08-16 17:46:41 +02:00