css-e-notation-test-2.html (1091B)
1 <!DOCTYPE html> 2 <title>CSS test: E-notation</title> 3 <link rel="author" title="Bert Bos" href="mailto:bert@w3.org"> 4 <link rel="help" href="http://www.w3.org/TR/CSS2/syndata.html#numbers"> 5 <link rel="match" href="css-e-notation-ref-2.html"> 6 <meta name="flags" content="asis"> 7 <meta name="assert" content="Test checks interpretation of numbers in e-notation."> 8 <style> 9 body {background: white; color: black; min-width: 300px} 10 .t {background: black; color: white} 11 #p0 {width: 300px} 12 #p1 {width: 3e2px} 13 #p2 {width: 3.0e2px} 14 #p3 {width: 30.0e1px} 15 #p4 {width: 300.0e0px} 16 #p5 {width: 3e+2px} 17 #p6 {width: 3E+2px} 18 #p7 {width: 0.3E+3px} 19 #p8 {width: 3000.0E-1px} 20 #p9 {width: 30000.000000000000000E-2px} 21 </style> 22 <body> 23 <p>Test passes if all rectangles below are 300px wide 24 <p class=t id=p0>300px 25 <p class=t id=p1>300px 26 <p class=t id=p2>300px 27 <p class=t id=p3>300px 28 <p class=t id=p4>300px 29 <p class=t id=p5>300px 30 <p class=t id=p6>300px 31 <p class=t id=p7>300px 32 <p class=t id=p8>300px 33 <p class=t id=p9>300px 34 </body>