Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: third_party/WebKit/LayoutTests/css-parser/ascii-case-insensitive-matching.html

Issue 1636453002: Use ASCII case-insensitive matching for ident-likes in the CSS parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Consistent indentation in test. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSAtRuleID.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fcca01083e59aa821df4d708719b3294caec3edd
--- /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)");
+}, "Identifier values are matched ASCII case-insensitively");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSAtRuleID.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698