Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/css-parser/ascii-case-insensitive-matching.html |
| diff --git a/third_party/WebKit/LayoutTests/css-parser/ascii-case-insensitive-matching.html b/third_party/WebKit/LayoutTests/css-parser/ascii-case-insensitive-matching.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..585f3376f35aee0b8e6d01987bd01cf44028b1a8 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/css-parser/ascii-case-insensitive-matching.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<script src="../resources/testharness.js"></script> |
| +<script src="../resources/testharnessreport.js"></script> |
| +<style> |
| +#a { |
| + width: 100px; |
| + height: 100px; |
| + background-color: green; |
| +} |
| + |
| +@support\017f (background-color: red) { |
| + #a { |
| + background-color: red; |
| + } |
| +} |
| +</style> |
| +<div id=a></div> |
| +<script> |
| +test(function() { |
| + assert_equals(getComputedStyle(a).backgroundColor, "rgb(0, 128, 0)"); |
|
rune
2016/01/25 18:28:41
micro-nit: inconsistent indentation. 4 spaces in j
fs
2016/01/26 09:25:08
Fixed.
|
| +}, "Identifier values are matched ASCII case-insensitively"); |
| +</script> |