if-range-with-attr-crash.html (350B)
1 <!DOCTYPE html> 2 <title>CSS Values and Units Test: invalid attr() syntax inside if style range</title> 3 <link rel="help" href="https://crbug.com/407890255"> 4 <style> 5 div { 6 color: if( 7 style(attr(data-foo <number>) = 3): green; 8 else: red; 9 ); 10 } 11 </style> 12 <div id="test" data-foo=3> 13 Pass if loading this page does not crash. 14 </div>