Closed Bug 1489847 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12906 - CSS: Serialize path string using absolute commands

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12906 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12906 Details from upstream follow. Eric Willigers <ericwilligers@chromium.org> wrote: > CSS: Serialize path string using absolute commands > > The canonical serialization format for path strings uses absolute > commands only. > > Discussed in https://github.com/w3c/svgwg/issues/321 > > Previously, Blink only normalized path string to absolute commands > when they were animated. > > BUG=696395 > > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I773ceb40f22fc5ce1e5f7ea0b4eca6cc612e763e > > Reviewed-on: https://chromium-review.googlesource.com/1215150 > WPT-Export-Revision: 0aa0bf8f5f5db1134f271ea9fa80dc72b41b5750
PR 12906 applied with additional changes from upstream: 84ec2ed74115b1c2ca72765b458f3a5d4da792dc, 9a5d71b326166e12784bdd9d161772e20f87c1fd
Component: web-platform-tests → SVG
Product: Testing → Core
Component: SVG → CSS Parsing and Computation
Ran 5 tests and 48 subtests OK : 5 PASS : 8 FAIL : 40 New tests that have failures or other problems: /css/motion/offset-path-serialization.html Motion Path Module Level 1: path serialization: FAIL /css/motion/parsing/offset-parsing-valid.html e.style['offset'] = "center bottom path(\"M 1 2 V 3 Z\")" should set the property value: FAIL e.style['offset'] = "center center path(\"M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z\") 100% 90deg / left bottom" should set the property value: FAIL e.style['offset'] = "path( 'm 1 2 v 3.00 z')" should set the property value: FAIL e.style['offset'] = "path('m 0 30 v 100') -7rad 8px / left top" should set the property value: FAIL e.style['offset'] = "path('m 20 0 h 100') -7rad 8px / auto" should set the property value: FAIL e.style['offset'] = "path(\"M 0 0 H 100\") 100px 0deg" should set the property value: FAIL e.style['offset'] = "path(\"M 0 0 H 1\") -200% auto" should set the property value: FAIL e.style['offset'] = "path(\"M 0 0 H 1\") -200%" should set the property value: FAIL e.style['offset'] = "path(\"M 0 0 H 1\") auto" should set the property value: FAIL e.style['offset'] = "path(\"M 0 0 H 1\")" should set the property value: FAIL /svg/path/property/serialization.svg serialization: FAIL
Blocks: 1489392
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cea1dbbb46c0 [wpt PR 12906] - CSS: path string computed style uses absolute commands, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/4a4348f816c5 [wpt PR 12906] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.