Closed Bug 1918856 Opened 1 year ago Closed 1 year ago

Do serialization of computed `border-spacing` in stylo

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: mrobinson, Assigned: mrobinson)

References

Details

Attachments

(1 file, 1 obsolete file)

border-spacing serializes in a special way compared to other Size2D types. Both values should be serialized even if they are equal. Moving this to stylo allows Servo to share this special serialization code.

Assignee: nobody → mrobinson
Status: NEW → ASSIGNED
Pushed by mrobinson@igalia.com: https://hg.mozilla.org/integration/autoland/rev/22da217ea4e5 Do serialization of computed `border-spacing` in stylo r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/48863 for changes under testing/web-platform/tests
Upstream PR was closed without merging

Reland of D222204: This fixes an issues in
test_transitions_per_property.html where border-spacing was assumed
to serialize to 0px 0px. It follows the pattern used by other
properties that do not serialize this way.

I've uploaded a new version of this change that I believe addresses the issues in the mochitests.

Flags: needinfo?(mrobinson)
Pushed by mrobinson@igalia.com: https://hg.mozilla.org/integration/autoland/rev/3c952710a4cd Do serialization of computed `border-spacing` in stylo r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
Attachment #9424824 - Attachment is obsolete: true
Regressions: 1942636
Regressions: 1941066
Regressions: 1965069
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: