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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/script-tests/invalid-predefined-color.js

Issue 1936913002: [CSS] Accept 8 (#RRGGBBAA) and 4 (#RGBA) value hex colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Length restrict quirks mode fastParseColorInternal() code. Created 4 years, 7 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
Index: third_party/WebKit/LayoutTests/fast/css/script-tests/invalid-predefined-color.js
diff --git a/third_party/WebKit/LayoutTests/fast/css/script-tests/invalid-predefined-color.js b/third_party/WebKit/LayoutTests/fast/css/script-tests/invalid-predefined-color.js
index be676098ba21263ffa868a5dddab3741b6dd91cf..abd89064a861a870f9c3c4ac8b8783c1e59b669e 100644
--- a/third_party/WebKit/LayoutTests/fast/css/script-tests/invalid-predefined-color.js
+++ b/third_party/WebKit/LayoutTests/fast/css/script-tests/invalid-predefined-color.js
@@ -11,7 +11,7 @@ for (var i=1;i<=5;i++)
shouldBe("getComputedStyle(div, null).color", "red");
}
-for (var i=1;i<=6;i++)
+for (var i=1;i<=5;i++)
{
var div = document.getElementById("invalid"+i);
shouldBe("getComputedStyle(div, null).color", "black");

Powered by Google App Engine
This is Rietveld 408576698