blob: e9b028d4eb427f694d430fdc9d27eb353c6a90f5 [file] [log] [blame]
This is a testharness.js-based test.
FAIL e.style['stroke-width'] = "0" should set the property value assert_equals: serialization should be canonical expected "0px" but got "0"
FAIL e.style['stroke-width'] = "10" should set the property value assert_equals: serialization should be canonical expected "10px" but got "10"
PASS e.style['stroke-width'] = "1px" should set the property value
PASS e.style['stroke-width'] = "calc(2em + 3ex)" should set the property value
PASS e.style['stroke-width'] = "4%" should set the property value
PASS e.style['stroke-width'] = "5vmin" should set the property value
PASS e.style['stroke-width'] = "calc(50% + 60px)" should set the property value
PASS e.style['stroke-width'] = "calc(3)" should set the property value
PASS e.style['stroke-width'] = "calc(2 + 1)" should set the property value
PASS e.style['stroke-width'] = "calc(2 + (7 - 5))" should set the property value
Harness: the test ran to completion.