[wpt-sync] Sync PR 14105 - Fix parsing of negative values for 'r', 'rx', 'ry' and 'stroke-width'

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 14105 into mozilla-central (this bug is closed when the sync is complete).

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

Fredrik Söderquist <fs@opera.com> wrote:
>  Fix parsing of negative values for 'r', 'rx', 'ry' and 'stroke-width'
>  
>  For all of these properties[1][2][3][4], a negative value is considered
>  illegal and should fail in the parser. (The value range is already
>  corectly specified for instance for animation, and also for the
>  corresponing presentation attributes.)
>  
>  [1] https://svgwg.org/svg2-draft/geometry.html#R
>  [2] https://svgwg.org/svg2-draft/geometry.html#RX
>  [3] https://svgwg.org/svg2-draft/geometry.html#RY
>  [4] https://svgwg.org/svg2-draft/painting.html#StrokeWidthProperty
>  
>  Bug: 902346
>  Change-Id: I4b073288b97151d7a9df4b1c2ce99341dca9c8ee
>  Reviewed-on: https://chromium-review.googlesource.com/1304561
>  WPT-Export-Revision: 0f900dd3ab9d638afa587db2671d59660c279215
Component: web-platform-tests → SVG
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Failed to get results from try push
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f380f6a8f5c0
[wpt PR 14105] - Fix parsing of negative values for 'r', 'rx', 'ry' and 'stroke-width', a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd69b29dc52d
[wpt PR 14105] - Fix parsing of negative values for 'r', 'rx', 'ry' and 'stroke-width', a=testonly
https://hg.mozilla.org/mozilla-central/rev/fd69b29dc52d
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.