Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / css / invalid-rule-value.html
blob677d87cc2f88de0d124e877729316206f0096330
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <link rel="stylesheet" href="../js/resources/js-test-style.css">
5 <script src="../js/resources/js-test-pre.js"></script>
6 </head>
7 <body>
8 <div id="test-invalid-rule" style="weight: *; color: rgb(0, 128, 0)"></div>
9 <p id="description"></p>
10 <div id="console"></div>
11 <script>
12 description("This test checks that a rule with an invalid value does not halt other style rules from being applied.");
14 shouldBe("document.getElementById('test-invalid-rule').style.getPropertyValue('color')", "'rgb(0, 128, 0)'");
16 var successfullyParsed = true;
17 </script>
18 <script src="../js/resources/js-test-post.js"></script>
19 </body>
20 </html>