Status: FAIL | Duration: 88ms | Subtests: 4/8 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| -20px - inline - invalid | PASS | |
| -.4567px - inline - invalid | PASS | |
| nonLength - inline - invalid | PASS | |
| 10 - inline - invalid | PASS | |
| -20px - computed - invalid | FAIL | assert_equals: expected "0px" but got "" |
| -.4567px - computed - invalid | FAIL | assert_equals: expected "0px" but got "" |
| nonLength - computed - invalid | FAIL | assert_equals: expected "0px" but got "" |
| 10 - computed - invalid | FAIL | assert_equals: expected "0px" but got "" |
/css/css-shapes/shape-outside/values/shape-margin-004.html
<!DOCTYPE html> <html> <head> <title>Shape Margin Invalid Values</title> <link rel="author" title="Adobe" href="http://html.adobe.com/"> <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-margin-property"> <meta name="assert" content="shape-margin values may only be positive length units."> <meta name="flags" content="ahem dom"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="support/parsing-utils.js"></script> </head> <body> <div id="log"></div> <script type="text/javascript"> var shape_margin_invalid_tests = [ {"name": "-20px"}, {"name": "-.4567px"}, {"name": "nonLength"}, {"name": "10"} ]; generate_tests( ParsingUtils.testShapeMarginInlineStyle, ParsingUtils.buildTestCases(shape_margin_invalid_tests, "inline - invalid")); generate_tests( ParsingUtils.testShapeMarginComputedStyle, ParsingUtils.buildTestCases(shape_margin_invalid_tests, "computed - invalid")); </script> </body> </html>