Files
Ian Kilpatrick 19f4f4a283 Bug 2023072 [wpt PR 58458] - [style] Fix parsing of CSS will-change., a=testonly
Automatic update from web-platform-tests
[style] Fix parsing of CSS will-change.

For forwards-compatibility CSS will-change accepts a list of
<custom-ident> as valid values. We did this previously however within
computed style we dropped any unknown values which we couldn't resolve
to a CSS property.

This was incorrect.

This patch instead stores a Vector<AtomicString> of values in
StyleWillChangeData. This allows us to preserve the values for
getComputedStyle().

We can do this now we have a CSSBitset for querying if a particular
longhand is present.

Change-Id: I76ce32fcab04e8352d370ab0380627513109de5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7658908
Reviewed-by: Anders Hartvoll Ruud <[email protected]>
Commit-Queue: Ian Kilpatrick <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1598553}

--

wpt-commits: 8df867df74c1ee181f682ff9dff53a0162258499
wpt-pr: 58458
2026-03-16 10:13:23 +00:00
..
…