Closed Bug 1577753 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 18767 - CSS: Serialize using 1% - 2px instead of 1% + -2px

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Eric Willigers <ericwilligers@chromium.org> wrote:

CSS: Serialize using 1% - 2px instead of 1% + -2px

We now use subtraction when the length in a computed length-percentage
calc is negative.

Discussed in https://github.com/w3c/csswg-drafts/issues/3335

Change-Id: I24822de431059a97cf8f9203950b6d84de72180e
Reviewed-on: https://chromium-review.googlesource.com/1777843
WPT-Export-Revision: 8b75d1bb2b7fb2a8893953a37b0c789793a17b8c

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests and 16 subtests OK : 1 PASS : 16
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/8196c3c4fd62 [wpt PR 18767] - CSS: Serialize using 1% - 2px instead of 1% + -2px, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.