Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t040306-syntax-01-f.html
blobf60b946bc5d0bed06e7a0a990d6793f144a21a6c
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: RGB color syntax error handling</title>
5 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#color-units">
6 <style type="text/css">
7 p.correct { color: red }
8 p.incorrect { color: green }
9 p#numnumpercent { color: rgb(255, 0, 0%) }
10 p#percentnumnum { color: rgb(100%, 0, 0) }
11 p#percentpercentnum { color: rgb(100%, 0%, 0) }
12 p#percentnumpercent { color: rgb(100%, 0, 0%) }
13 p#floatnumnum { color: rgb(255.0, 0, 0) }
14 p#numfloatnum { color: rgb(0, 128.0, 0) }
15 p#numnumnum { color: rgb(0, 128, 0) }
16 p#percentpercentpercent1 { color: rgb(0%, 50%, 0%) }
17 p#percentpercentpercent2 { color: rgb(0%, 49.99%, 0%) }
18 </style>
19 </head>
20 <body>
21 <p id="numnumpercent" class="incorrect">This should be green</p>
22 <p id="percentnumnum" class="incorrect">This should be green</p>
23 <p id="percentpercentnum" class="incorrect">This should be green</p>
24 <p id="percentnumpercent" class="incorrect">This should be green</p>
25 <p id="floatnumnum" class="incorrect">This should be green</p>
26 <p id="numfloatnum" class="incorrect">This should be green</p>
28 <p id="numnumnum" class="correct">This should be green</p>
29 <p id="percentpercentpercent1" class="correct">This should be green</p>
30 <p id="percentpercentpercent2" class="correct">This should be green</p>
31 </body>
32 </html>