[wpt-sync] Sync PR 14077 - Fix serialization of computed style for 'paint-order'

RESOLVED FIXED in Firefox 65

Status

()

enhancement
P4
normal
RESOLVED FIXED
8 months ago
8 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla65
Points:
---

Firefox Tracking Flags

(firefox65 fixed)

Details

(Whiteboard: [wptsync downstream], )

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

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

Fredrik Söderquist <fs@opera.com> wrote:
>  Fix serialization of computed style for 'paint-order'
>  
>  We were always serializing as the completed (all keywords present) form,
>  which is not the shortest canonical form.
>  
>   https://svgwg.org/svg2-draft/painting.html#PaintOrder
>  
>  Fold the ComputedStyleUtils helper into the PaintOrder CSSProperty
>  class, since this is very specific to this property.
>  
>  Matches WebKit and almost Gecko (which seems to handle some "two
>  keyword" cases differently.)
>  
>  Bug: 904898
>  Change-Id: Ib796a111e601485e339fdf2739a587fb5f893b8a
>  Reviewed-on: https://chromium-review.googlesource.com/1335579
>  WPT-Export-Revision: dc4ae705f18903d92a07457707d5c946c049cde5
Component: web-platform-tests → SVG
Product: Testing → Core
Failed to get results from try push
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee38ad38e9a1
[wpt PR 14077] - Fix serialization of computed style for 'paint-order', a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/65a2135472b5
[wpt PR 14077] - Fix serialization of computed style for 'paint-order', a=testonly
https://hg.mozilla.org/mozilla-central/rev/65a2135472b5
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.