Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / duplicate-property-in-rule.html
blobd94682fd09ac6d40d46e01c98de56604239df52f
1 <html>
2 <head>
3 <title>Property is declared twice in rule</title>
4 <style type="text/css">
5 div
7 color: red;
8 color: green;
10 </style>
11 <script>
12 if (window.testRunner)
13 window.testRunner.dumpAsText();
14 </script>
15 </head>
16 <body>
17 <div>This text should be green and the page should have no other style.</div>
18 <div id="testresult">Fail</div>
19 <script type="text/javascript">
20 if(document.styleSheets[0].cssRules[0].style.length == 1)
22 document.getElementById("testresult").innerHTML = "Pass";
24 </script>
25 </body>
26 </html>