Closed Bug 1968366 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 52765 - Allow computed column-rule serialization consistent with specified one

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(2 files)

Sync web-platform-tests PR 52765 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/52765
Details from upstream follow.

Sam Davis Omekara Jr. <samomekarajr@microsoft.com> wrote:

Allow computed column-rule serialization consistent with specified one

This CL adds the "skip default/initial value" behavior for the computed
column-rule serialization to match the shortest serialization principle
(similar to crrev.com/c/6563724). This behavior was already implemented
for the specified shorthand 1, so this CL allows that same behavior to
apply to the computed value as well. This should fix the RoundTrip error
for column-rule, which reduces the number of broken properties in
"CSSParserImplTest, AllPropertiesCanParseImportant" test.

Bug: 338535751
Change-Id: I07eb472b2bc1f7cd210d49c22791098a77fde63d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6576943
Commit-Queue: Sam Davis Omekara \<samomekarajr@microsoft.com>
Reviewed-by: Kevin Babbitt \<kbabbitt@microsoft.com>
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1465029}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Safari on GitHub CI

Total 2 tests and 6 subtests

Status Summary

Firefox

OK : 2
PASS: 7
FAIL: 2

Safari

OK : 2
PASS: 6
FAIL: 3

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Automatic update from web-platform-tests
Allow computed column-rule serialization consistent with specified one

This CL adds the "skip default/initial value" behavior for the computed
column-rule serialization to match the shortest serialization principle
(similar to crrev.com/c/6563724). This behavior was already implemented
for the specified shorthand 1, so this CL allows that same behavior to
apply to the computed value as well. This should fix the RoundTrip error
for column-rule, which reduces the number of broken properties in
"CSSParserImplTest, AllPropertiesCanParseImportant" test.

Bug: 338535751
Change-Id: I07eb472b2bc1f7cd210d49c22791098a77fde63d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6576943
Commit-Queue: Sam Davis Omekara <samomekarajr@microsoft.com>
Reviewed-by: Kevin Babbitt <kbabbitt@microsoft.com>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1465029}

--

wpt-commits: 8389d8b9d31d90386a6499bfe288fd7366e40462
wpt-pr: 52765

Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aaeb2807418f [wpt PR 52765] - Allow computed column-rule serialization consistent with specified one, https://hg.mozilla.org/integration/autoland/rev/c8ab0bcfb226 [wpt PR 52765] - Update wpt metadata,
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: