[wpt-sync] Sync PR 64943 - Avoid invalidating unchanged CSS property registrations
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64943 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64943
Details from upstream follow.
Jiangzhenbang <edomondja@gmail.com> wrote:
Avoid invalidating unchanged CSS property registrations
Media query changes rebuild RuleSets even when their @property
declarations are unchanged. Clearing and redeclaring those registrations
invalidates the matched properties cache and schedules document-wide
style recalculation.Build the complete set of active @property declarations before updating
PropertyRegistry. Reuse an existing registration when it comes from the
same StyleRuleProperty and its descriptors are unchanged. DevTools may
mutate descriptors on an existing StyleRuleProperty. Only actual changes
update the registry version and notify StyleEngine.Bug: 578577144
Test: blink_unittests property registry and style engine tests
Test: external/wpt/css/css-properties-values-api
Change-Id: Idd2b09e4e6c6157a7b9c65275109770f8d60731d
Reviewed-on: https://chromium-review.googlesource.com/8667020
WPT-Export-Revision: 4c18769e2d031cf8fc8d4911616ea5b36834c0c3
| Assignee | ||
Updated•20 days ago
|
| Assignee | ||
Comment 1•18 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=117985
| Assignee | ||
Comment 2•9 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 125 tests
Status Summary
Firefox
OK : 1[GitHub] 111[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 1[GitHub] 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1264[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1271[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 135
Chrome
OK : 1
PASS: 1
Safari
OK : 1
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-properties-values-api/at-property-animation.html [wpt.fyi]
- CSS animation setting "inherit" for a custom property on a keyframe is responsive to changing that custom property on the parent.:
FAIL - JS-originated animation setting "inherit" for a custom property on a keyframe is responsive to changing that custom property on the parent.:
FAIL
- CSS animation setting "inherit" for a custom property on a keyframe is responsive to changing that custom property on the parent.:
- /css/css-properties-values-api/at-property-shadow.html [wpt.fyi]
- @property rules in shadow trees should be globally registered:
FAIL
- @property rules in shadow trees should be globally registered:
- /css/css-properties-values-api/at-property-typedom.html [wpt.fyi]
- Properties declared with @property reify correctly:
FAIL - Re-declaring a property with a different type affects reification:
FAIL
- Properties declared with @property reify correctly:
- /css/css-properties-values-api/font-property-unit-cycles.tentative.html [wpt.fyi]
- font-size calc() with registered custom property and em uses parent em:
FAIL - font-size calc() with registered custom property and ex uses parent ex:
FAIL - font-size calc() with registered custom property and cap uses parent cap:
FAIL - font-size calc() with registered custom property and ch uses parent ch:
FAIL - font-size calc() with registered custom property and ic uses parent ic:
FAIL - font-size-adjust calc() with em uses parent em:
FAIL - font-size-adjust calc() with ex uses parent ex:
FAIL - font-size-adjust calc() with cap uses parent cap:
FAIL - font-size-adjust calc() with ch uses parent ch:
FAIL - font-size-adjust calc() with ic uses parent ic:
FAIL - font-weight calc() with em uses parent em:
FAIL - font-weight calc() with ex uses parent ex:
FAIL - font-weight calc() with cap uses parent cap:
FAIL - font-weight calc() with ch uses parent ch:
FAIL - font-weight calc() with ic uses parent ic:
FAIL - font-stretch calc() with em uses parent em:
FAIL - font-stretch calc() with ex uses parent ex:
FAIL - font-stretch calc() with cap uses parent cap:
FAIL - font-stretch calc() with ch uses parent ch:
FAIL - font-stretch calc() with ic uses parent ic:
FAIL - font-style calc() with em uses parent em:
FAIL - font-style calc() with ex uses parent ex:
FAIL - font-style calc() with cap uses parent cap:
FAIL - font-style calc() with ch uses parent ch:
FAIL - font-style calc() with ic uses parent ic:
FAIL - font-feature-settings calc() with em uses parent em:
FAIL - font-feature-settings calc() with ex uses parent ex:
FAIL - font-feature-settings calc() with cap uses parent cap:
FAIL - font-feature-settings calc() with ch uses parent ch:
FAIL - font-feature-settings calc() with ic uses parent ic:
FAIL - font-variation-settings calc() with em uses parent em:
FAIL - font-variation-settings calc() with ex uses parent ex:
FAIL - font-variation-settings calc() with cap uses parent cap:
FAIL - font-variation-settings calc() with ch uses parent ch:
FAIL - font-variation-settings calc() with ic uses parent ic:
FAIL - <number> registered custom property with em and no cycle uses element em:
FAIL - <number> registered custom property with ex and no cycle uses element ex:
FAIL - <number> registered custom property with cap and no cycle uses element cap:
FAIL - <number> registered custom property with ch and no cycle uses element ch:
FAIL - <number> registered custom property with ic and no cycle uses element ic:
FAIL - <integer> registered custom property with em and no cycle uses element em:
FAIL - <integer> registered custom property with ex and no cycle uses element ex:
FAIL - <integer> registered custom property with cap and no cycle uses element cap:
FAIL - <integer> registered custom property with ch and no cycle uses element ch:
FAIL - <integer> registered custom property with ic and no cycle uses element ic:
FAIL - <angle> registered custom property with em and no cycle uses element em:
FAIL - <angle> registered custom property with ex and no cycle uses element ex:
FAIL - <angle> registered custom property with cap and no cycle uses element cap:
FAIL - <angle> registered custom property with ch and no cycle uses element ch:
FAIL - <angle> registered custom property with ic and no cycle uses element ic:
FAIL - <percentage> registered custom property with em and no cycle uses element em:
FAIL - <percentage> registered custom property with ex and no cycle uses element ex:
FAIL - <percentage> registered custom property with cap and no cycle uses element cap:
FAIL - <percentage> registered custom property with ch and no cycle uses element ch:
FAIL - <percentage> registered custom property with ic and no cycle uses element ic:
FAIL
- font-size calc() with registered custom property and em uses parent em:
- /css/css-properties-values-api/typedom.html [wpt.fyi]
- Computed <angle> is reified as CSSUnitValue:
FAIL - Computed <custom-ident> is reified as CSSKeywordValue:
FAIL - Computed <image> [url] is reified as CSSImageValue:
FAIL - Computed <integer> is reified as CSSUnitValue:
FAIL - Computed <length-percentage> [%] is reified as CSSUnitValue:
FAIL - Computed <length-percentage> [px] is reified as CSSUnitValue:
FAIL - Computed <length-percentage> [px + %] is reified as CSSMathSum:
FAIL - Computed <length> is reified as CSSUnitValue:
FAIL - Computed <number> is reified as CSSUnitValue:
FAIL - Computed <percentage> is reified as CSSUnitValue:
FAIL - Computed <resolution> is reified as CSSUnitValue:
FAIL - Computed <time> is reified as CSSUnitValue:
FAIL - Computed ident is reified as CSSKeywordValue:
FAIL - First computed value correctly reified in space-separated list:
FAIL - First computed value correctly reified in comma-separated list:
FAIL - All computed values correctly reified in space-separated list:
FAIL - All computed values correctly reified in comma-separated list:
FAIL - CSSKeywordValue rejected by set() for syntax * [attributeStyleMap]:
FAIL - CSSKeywordValue rejected by set() for syntax * [styleMap]:
FAIL - CSSKeywordValue rejected by set() for syntax foo [attributeStyleMap]:
FAIL - CSSKeywordValue rejected by set() for syntax foo [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <angle> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <angle> [styleMap]:
FAIL - CSSKeywordValue rejected by set() for syntax <custom-ident> [attributeStyleMap]:
FAIL - CSSKeywordValue rejected by set() for syntax <custom-ident> [styleMap]:
FAIL - CSSImageValue rejected by set() for syntax <image> [attributeStyleMap]:
FAIL - CSSImageValue rejected by set() for syntax <image> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <integer> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <integer> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length-percentage> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length-percentage> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <number> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <number> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <percentage> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <percentage> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <resolution> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <resolution> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <time> [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <time> [styleMap]:
FAIL - CSSTransformValue rejected by set() for syntax <transform-list> [attributeStyleMap]:
FAIL - CSSTransformValue rejected by set() for syntax <transform-list> [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length>+ [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length>+ [styleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length># [attributeStyleMap]:
FAIL - CSSUnitValue rejected by set() for syntax <length># [styleMap]:
FAIL - Computed <angle> is reified as CSSUnitValue by iterator:
FAIL - Computed <custom-ident> is reified as CSSKeywordValue by iterator:
FAIL - Computed <image> is reified as CSSImageValue by iterator:
FAIL - Computed <integer> is reified as CSSUnitValue by iterator:
FAIL - Computed <length> is reified as CSSUnitValue by iterator:
FAIL - Computed <number> is reified as CSSUnitValue by iterator:
FAIL - Computed <percentage> is reified as CSSUnitValue by iterator:
FAIL - Computed <resolution> is reified as CSSUnitValue by iterator:
FAIL - Computed <time> is reified as CSSUnitValue by iterator:
FAIL - Computed none | thing | THING is reified as CSSKeywordValue by iterator:
FAIL - Computed <angle> | <length> is reified as CSSUnitValue by iterator:
FAIL
- Computed <angle> is reified as CSSUnitValue:
- /css/css-properties-values-api/var-reference-registered-properties.html [wpt.fyi]
- Invalid values for registered properties are serialized as the empty string:
FAIL
- Invalid values for registered properties are serialized as the empty string:
- /css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html [wpt.fyi]
- Animating a custom property of type <length-percentage># with iterationComposite:
FAIL
- Animating a custom property of type <length-percentage># with iterationComposite:
- /css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html [wpt.fyi]
- Animating a custom property of type <length-percentage>+ with iterationComposite:
FAIL
- Animating a custom property of type <length-percentage>+ with iterationComposite:
- /css/css-properties-values-api/animation/custom-property-animation-list-type-mismatch.html [wpt.fyi]
- Additive animation of <transform-function> when underlying value is a multi-item <transform-list>:
FAIL - Additive <transform-function># animation with dynamic underlying list length and value update:
FAIL
- Additive animation of <transform-function> when underlying value is a multi-item <transform-list>:
- /css/css-properties-values-api/animation/custom-property-animation-transform-function.html [wpt.fyi]
- Animating a custom property of type <transform-function> with additivity:
FAIL - Animating a custom property of type <transform-function> with a single keyframe and additivity:
FAIL
- Animating a custom property of type <transform-function> with additivity:
- /css/css-properties-values-api/animation/custom-property-animation-transform-list-multiple-values.html [wpt.fyi]
- Animating a custom property of type <transform-list> containing multiple values and with mismatching list lengths:
FAIL
- Animating a custom property of type <transform-list> containing multiple values and with mismatching list lengths:
- /css/css-properties-values-api/animation/custom-property-animation-transform-none.tentative.html [wpt.fyi]
- Animating a custom property of type "<transform-list>|none" from "none" to <transform-list> value:
FAIL - Animating a custom property of type "<transform-function>|none" from "none" to <transform-function> value:
FAIL
- Animating a custom property of type "<transform-list>|none" from "none" to <transform-list> value:
- /css/css-properties-values-api/animation/custom-property-transition-property-all.html [wpt.fyi]
- A custom property can yield a CSS Transition with transition-property: all:
FAIL
- A custom property can yield a CSS Transition with transition-property: all:
- /css/css-properties-values-api/animation/custom-property-transition-transform-function-box-size.tentative.html [wpt.fyi]
- A custom property of type <transform-function> yields a CSS Transition using the mix function for a box size dependent matrix interpolation:
FAIL
- A custom property of type <transform-function> yields a CSS Transition using the mix function for a box size dependent matrix interpolation:
- /css/css-properties-values-api/animation/custom-property-transition-transform-function-none.tentative.html [wpt.fyi]
- A custom property keyword none is not a <transform-function> value and is not interpolable with <transform-function> values:
FAIL
- A custom property keyword none is not a <transform-function> value and is not interpolable with <transform-function> values:
- /css/css-properties-values-api/animation/custom-property-transition-transform-function-to-list.html [wpt.fyi]
- A custom property cannot yield a CSS Transition from <transform-function> to <transform-list>:
FAIL
- A custom property cannot yield a CSS Transition from <transform-function> to <transform-list>:
- /css/css-properties-values-api/animation/custom-property-transition-transform-list-box-size.tentative.html [wpt.fyi]
- A custom property of type <transform-list> yields a CSS Transition using the mix function for a box size dependent matrix interpolation:
FAIL
- A custom property of type <transform-list> yields a CSS Transition using the mix function for a box size dependent matrix interpolation:
- /css/css-properties-values-api/animation/custom-property-transition-transform-list-none.tentative.html [wpt.fyi]
- A custom property keyword none is not a <transform-list> value and is not interpolable with <transform-list> values:
FAIL
- A custom property keyword none is not a <transform-list> value and is not interpolable with <transform-list> values:
- /css/css-properties-values-api/animation/registered-var-to-registered-animating.html [wpt.fyi]
- Animated registered custom properties can var() reference other animated registered custom properties across separate Animations.:
FAIL
- Animated registered custom properties can var() reference other animated registered custom properties across separate Animations.:
Comment 4•8 days ago
|
||
| bugherder | ||
Description
•