Status: PASS | Duration: 55ms | Subtests: 14/14 | 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 border-radius value '1px' | PASS | |
| Property border-radius value '1px 2% 3px 4%' | PASS | |
| Property border-radius value '5em / 1px 2% 3px 4%' | PASS | |
| Property border-radius value '1px 2% 3px 4% / 5em' | PASS | |
| Property border-radius value '1px 1px 1px 2% / 1px 2% 1px 2%' | PASS | |
| Property border-radius value '1px 1px 1px 1px / 1px 1px 2% 1px' | PASS | |
| Property border-radius value '1px 1px 2% 2%' | PASS | |
| Property border-radius value '1px 2% 1px 1px' | PASS | |
| Property border-radius value '1px 2% 2% 2% / 1px 2% 3px 2%' | PASS | |
| Property border-top-left-radius value 'calc(-0.5em + 10px)' | PASS | |
| Property border-top-right-radius value '20%' | PASS | |
| Property border-bottom-right-radius value 'calc(0.5em + 10px) 40%' | PASS | |
| Property border-bottom-left-radius value '50% 60px' | PASS | |
| Property border-top-left-radius value '40px 0px' | PASS |
/css/css-backgrounds/parsing/border-radius-computed.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Backgrounds and Borders Module Level 3: getComputedStyle().borderRadius</title> <link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-radius"> <meta name="assert" content="Computed value has computed length-percentage values."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/computed-testcommon.js"></script> <style> #target { font-size: 40px; } </style> </head> <body> <div id="target"></div> <script> test_computed_value("border-radius", "1px"); test_computed_value("border-radius", "1px 2% 3px 4%"); test_computed_value("border-radius", "5em / 1px 2% 3px 4%", "200px / 1px 2% 3px 4%"); test_computed_value("border-radius", "1px 2% 3px 4% / 5em", "1px 2% 3px 4% / 200px"); test_computed_value("border-radius", "1px 1px 1px 2% / 1px 2% 1px 2%", "1px 1px 1px 2% / 1px 2%"); test_computed_value("border-radius", "1px 1px 1px 1px / 1px 1px 2% 1px", "1px / 1px 1px 2%"); test_computed_value("border-radius", "1px 1px 2% 2%"); test_computed_value("border-radius", "1px 2% 1px 1px"); test_computed_value("border-radius", "1px 2% 2% 2% / 1px 2% 3px 2%", "1px 2% 2% / 1px 2% 3px"); test_computed_value("border-top-left-radius", "calc(-0.5em + 10px)", "0px"); test_computed_value("border-top-right-radius", "20%"); test_computed_value("border-bottom-right-radius", "calc(0.5em + 10px) 40%", "30px 40%"); test_computed_value("border-bottom-left-radius", "50% 60px"); test_computed_value("border-top-left-radius", "40px 0px", "40px 0px"); </script> </body> </html>