github web-platform-tests/wpt merge_pr_48728

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
4 months ago

[Gap Decorations] Introduce ColumnRuleColor on ComputedStyle

This CL introduces new data structures to extend the ColumnRuleColor
property for the gap decorations feature. The following classes are
introduced:

StyleColorRepeater: Holds color repeater values.
GapColorData: Represents either a single StyleColor or a StyleColorRepeater.
GapColorDataList: Contains a list of GapColorData.

The column-rule-color type is updated to be GapColorDataList, and
relevant call sites have been modified accordingly.

Additionally, this CL enhances the gap decorations VirtualTestSuites
to cover more cases with the feature flag enabled, using existing tests.
It also adds new tests related to animation and serialization to the
TestExpectations file, which are currently failing with the feature
flag enabled.

The code is exercised through the gap-decorations-color-computed.html
test.

Bug: 357648037
Change-Id: Iebfe4c4610a6f5375a913a64e7d845ba2b2b7e65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5884169
Reviewed-by: Kevin Babbitt kbabbitt@microsoft.com
Reviewed-by: Anders Hartvoll Ruud andruud@chromium.org
Commit-Queue: Sam Davis Omekara samomekarajr@microsoft.com
Reviewed-by: Alison Maher almaher@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1371456}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.