Status: FAIL | Duration: 51ms | Subtests: 3/7 | 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 |
|---|---|---|
| Property inline-size value 'auto' | FAIL | assert_equals: expected "200px" but got "auto" |
| Property inline-size value '10px' | PASS | |
| Property inline-size value '20%' | FAIL | assert_equals: expected "40px" but got "20%" |
| Property inline-size value 'calc(0.5em + 10px)' | PASS | |
| Property inline-size value 'calc(-0.5em + 10px)' | PASS | |
| Property inline-size value 'min-content' | FAIL | assert_equals: expected "60px" but got "min-content" |
| Property inline-size value 'max-content' | FAIL | assert_equals: expected "60px" but got "max-content" |
/css/css-logical/parsing/inline-size-computed.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Logical Properties and Values: getComputedStyle().inlineSize</title> <link rel="help" href="https://drafts.csswg.org/css-logical-1/#dimension-properties"> <meta name="assert" content="inline-size computed value is an absolute length."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/computed-testcommon.js"></script> <style> #parent { width: 200px; } #target { width: 0px; height: 0px; font-size: 40px; } #child { width: 60px; } </style> </head> <body> <div id="parent"> <div id="target"> <div id="child"> </div> </div> </div> <script> test_computed_value("inline-size", "auto", "200px"); // parent width test_computed_value("inline-size", "10px"); test_computed_value("inline-size", "20%", "40px"); test_computed_value("inline-size", "calc(0.5em + 10px)", "30px"); test_computed_value("inline-size", "calc(-0.5em + 10px)", "0px"); test_computed_value("inline-size", "min-content", "60px"); // child width test_computed_value("inline-size", "max-content", "60px"); </script> </body> </html>