Status: PASS | Duration: 2ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi
/css/css-values/if-range-with-attr-crash.html
<!DOCTYPE html> <title>CSS Values and Units Test: invalid attr() syntax inside if style range</title> <link rel="help" href="https://crbug.com/407890255"> <style> div { color: if( style(attr(data-foo <number>) = 3): green; else: red; ); } </style> <div id="test" data-foo=3> Pass if loading this page does not crash. </div>