Closed Bug 1505118 Opened Last year Closed Last year

[wpt-sync] Sync PR 13951 - SVG Geometry Properties - parsing

Categories

(Core :: SVG, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Eric Willigers <ericwilligers@chromium.org> wrote:
>  SVG Geometry Properties - parsing
>  
>  The properties cx cy r rx ry x y have the specified initial values,
>  grammar and inheritance behavior.
>  https://svgwg.org/svg2-draft/geometry.html
Component: web-platform-tests → SVG
Product: Testing → Core
Ran 15 tests and 68 subtests
OK     : 15
FAIL   : 68

New tests that have failures or other problems:
/svg/geometry/inheritance.svg
    Property cx does not inherit: FAIL
    Property cx has initial value 0px: FAIL
    Property cy does not inherit: FAIL
    Property cy has initial value 0px: FAIL
    Property r does not inherit: FAIL
    Property r has initial value 0px: FAIL
    Property rx does not inherit: FAIL
    Property rx has initial value auto: FAIL
    Property ry does not inherit: FAIL
    Property ry has initial value auto: FAIL
    Property x does not inherit: FAIL
    Property x has initial value 0px: FAIL
    Property y does not inherit: FAIL
    Property y has initial value 0px: FAIL
/svg/geometry/parsing/cx-invalid.svg
    e.style['cx'] = "10" should not set the property value: FAIL
    e.style['cx'] = "10px 20px" should not set the property value: FAIL
    e.style['cx'] = "auto" should not set the property value: FAIL
/svg/geometry/parsing/cx-valid.svg
    e.style['cx'] = "-1px" should set the property value: FAIL
    e.style['cx'] = "0" should set the property value: FAIL
    e.style['cx'] = "4%" should set the property value: FAIL
    e.style['cx'] = "calc(2em + 3ex)" should set the property value: FAIL
/svg/geometry/parsing/cy-invalid.svg
    e.style['cy'] = "10" should not set the property value: FAIL
    e.style['cy'] = "10px 20px" should not set the property value: FAIL
    e.style['cy'] = "auto" should not set the property value: FAIL
/svg/geometry/parsing/cy-valid.svg
    e.style['cy'] = "-1px" should set the property value: FAIL
    e.style['cy'] = "0" should set the property value: FAIL
    e.style['cy'] = "4%" should set the property value: FAIL
    e.style['cy'] = "calc(2em + 3ex)" should set the property value: FAIL
/svg/geometry/parsing/r-invalid.svg
    e.style['r'] = "-1px" should not set the property value: FAIL
    e.style['r'] = "10" should not set the property value: FAIL
    e.style['r'] = "10px 20px" should not set the property value: FAIL
    e.style['r'] = "auto" should not set the property value: FAIL
/svg/geometry/parsing/r-valid.svg
    e.style['r'] = "0" should set the property value: FAIL
    e.style['r'] = "1px" should set the property value: FAIL
    e.style['r'] = "4%" should set the property value: FAIL
    e.style['r'] = "calc(2em + 3ex)" should set the property value: FAIL
/svg/geometry/parsing/rx-invalid.svg
    e.style['rx'] = "-1px" should not set the property value: FAIL
    e.style['rx'] = "10" should not set the property value: FAIL
    e.style['rx'] = "10px 20px" should not set the property value: FAIL
    e.style['rx'] = "none" should not set the property value: FAIL
/svg/geometry/parsing/rx-valid.svg
    e.style['rx'] = "0" should set the property value: FAIL
    e.style['rx'] = "1px" should set the property value: FAIL
    e.style['rx'] = "4%" should set the property value: FAIL
    e.style['rx'] = "auto" should set the property value: FAIL
    e.style['rx'] = "calc(2em + 3ex)" should set the property value: FAIL
/svg/geometry/parsing/ry-invalid.svg
    e.style['rx'] = "-1px" should not set the property value: FAIL
    e.style['rx'] = "10" should not set the property value: FAIL
    e.style['rx'] = "10px 20px" should not set the property value: FAIL
    e.style['rx'] = "none" should not set the property value: FAIL
/svg/geometry/parsing/ry-valid.svg
    e.style['rx'] = "0" should set the property value: FAIL
    e.style['rx'] = "1px" should set the property value: FAIL
    e.style['rx'] = "4%" should set the property value: FAIL
    e.style['rx'] = "auto" should set the property value: FAIL
    e.style['rx'] = "calc(2em + 3ex)" should set the property value: FAIL
/svg/geometry/parsing/x-invalid.svg
    e.style['x'] = "10" should not set the property value: FAIL
    e.style['x'] = "10px 20px" should not set the property value: FAIL
    e.style['x'] = "auto" should not set the property value: FAIL
/svg/geometry/parsing/x-valid.svg
    e.style['x'] = "-1px" should set the property value: FAIL
    e.style['x'] = "0" should set the property value: FAIL
    e.style['x'] = "4%" should set the property value: FAIL
    e.style['x'] = "calc(2em + 3ex)" should set the property value: FAIL
/svg/geometry/parsing/y-invalid.svg
    e.style['y'] = "10" should not set the property value: FAIL
    e.style['y'] = "10px 20px" should not set the property value: FAIL
    e.style['y'] = "auto" should not set the property value: FAIL
/svg/geometry/parsing/y-valid.svg
    e.style['y'] = "-1px" should set the property value: FAIL
    e.style['y'] = "0" should set the property value: FAIL
    e.style['y'] = "4%" should set the property value: FAIL
    e.style['y'] = "calc(2em + 3ex)" should set the property value: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/66ecc165f23f
[wpt PR 13951] - SVG Geometry Properties - parsing, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c87924f9209f
[wpt PR 13951] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/66ecc165f23f
https://hg.mozilla.org/mozilla-central/rev/c87924f9209f
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.