summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/invalid-rule-value.html
blob: ac83e9a7c368e712bcc41726056123a8e7cce153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<div id="test-invalid-rule" style="weight: *; color: rgb(0, 128, 0)"></div>
<script>
description("This test checks that a rule with an invalid value does not halt other style rules from being applied.");

shouldBe("document.getElementById('test-invalid-rule').style.getPropertyValue('color')", "'rgb(0, 128, 0)'");
</script>
</body>
</html>