Closed Bug 1450714 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10270 - Serialize font shorthand like any other shorthand

Categories

(Core :: DOM: CSS Object Model, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Chris Nardi <cnardi@chromium.org> wrote:
>  Serialize font shorthand like any other shorthand
>  
>  The font shorthand had a short-circuit in StylePropertySerializer, which
>  meant that it was never serialized as a shorthand, citing reasons of web
>  incompatibility. However, it appears that all other major browsers
>  serialize font as a shorthand instead of expanding to all properties.
>  Remove this short-circuit to match other browsers.
>  
>  Bug: 827921
>  Change-Id: I4d522b41a6153808b6b8dab17831afdd8315fdc3
>  Reviewed-on: https://chromium-review.googlesource.com/989834
>  WPT-Export-Revision: 885858f7b7465a6e58c1f675cc3fd7f29b3fb431
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 2 tests and 5 subtests
OK     : 2
PASS   : 5
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f0a1ed73216
[wpt PR 10270] - Serialize font shorthand like any other shorthand, a=testonly
https://hg.mozilla.org/mozilla-central/rev/3f0a1ed73216
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.