Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t040306-c63-color-00-b-ag.html
blob92d94a4cdda5a342cae3563c46f1154194d54efa
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Color Units</title>
5 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 body {color: blue;}
8 span {vertical-align: bottom; font: 15px/1 Ahem;}
9 img {vertical-align: bottom; color: red;}
10 .one {color: #0f0;}
11 .two {color: #00ff00;}
12 .three {color: rgb(0,255,0);}
13 .four {color: rgb(0%,100%,0%);}
14 .five {color: rgb(0.0%,100.0%,0.0%);}
15 .six {color: lime;}
16 .seven {color: invalidValue;}
17 .eight {color: rgb(1280,165,0);}
18 .nine {color: rgb(255,165,0);}
19 .ten {color: rgb(100%,64.7%,-500%);}
20 .eleven {color: rgb(100%,64.7%,0%);}
21 </style>
22 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#color-units" title="4.3.6 Colors">
23 </head>
24 <body>
25 <p>There should be three solid bars of colour below, each longer than the last, each of the colour specified.</p>
26 <div>
27 Blue: <span>X</span><span class="seven">X</span><img alt="FAIL" src="support/swatch-blue.png">
28 </div>
29 <div>
30 Orange: <span class="eight">X</span><span class="nine">X</span><span class="ten">X</span><span class="eleven">X</span><img alt="FAIL" src="support/swatch-orange.png">
31 </div>
32 <div>
33 Lime: <span class="one">X</span><span class="two">X</span><span class="three">X</span><span class="four">X</span><span class="five">X</span><span class="six">X</span><span style="color: #0f0;">X</span><span style="color: #00ff00;">X</span><span style="color: rgb(0,255,0);">X</span><span style="color: rgb(0%,100%,0%);">X</span><span style="color: rgb(0.0%,100.0%,0.0%);">X</span><span style="color: lime;">X</span><img alt="FAIL" src="support/swatch-lime.png">
34 </div>
35 </body>
36 </html>