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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/filter-property-parsing-invalid.html

Issue 2052883002: Clamp filter functions {grayscale, invert, opacity, sepia} to 100% (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@filter-js-tests
Patch Set: Additional test fixup Created 4 years, 6 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/css3/filters/filter-property-parsing-invalid.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/filter-property-parsing-invalid.html b/third_party/WebKit/LayoutTests/css3/filters/filter-property-parsing-invalid.html
index 22747852601bd51544b108eed358482345095566..0d9f3638e80da56e1811d74867d5feee1ecd45b4 100644
--- a/third_party/WebKit/LayoutTests/css3/filters/filter-property-parsing-invalid.html
+++ b/third_party/WebKit/LayoutTests/css3/filters/filter-property-parsing-invalid.html
@@ -12,14 +12,12 @@ assert_invalid_value("webkitFilter", "grayscale(0.5, 0.5)"); // Too many paramet
assert_invalid_value("webkitFilter", "grayscale(0.5,)"); // Trailing comma
assert_invalid_value("webkitFilter", "grayscale(-0.5)"); // Negative parameter
assert_invalid_value("webkitFilter", "grayscale(-10%)"); // Negative percent
-assert_invalid_value("webkitFilter", "grayscale(1.5)"); // Parameter out of bounds
assert_invalid_value("webkitFilter", "sepia(0.5 0.5 3.0)"); // Too many parameters
assert_invalid_value("webkitFilter", "sepia(0.1, 0.1)"); // Too many parameters and commas
assert_invalid_value("webkitFilter", "sepia(0.5,)"); // Trailing comma
assert_invalid_value("webkitFilter", "sepia(-0.01)"); // Negative parameter
assert_invalid_value("webkitFilter", "sepia(-10%)"); // Negative percent
-assert_invalid_value("webkitFilter", "sepia(10000)"); // Parameter out of bounds
assert_invalid_value("webkitFilter", "saturate(10px)"); // Length instead of number
assert_invalid_value("webkitFilter", "saturate(0.5 0.5)"); // Too many parameters
@@ -39,7 +37,6 @@ assert_invalid_value("webkitFilter", "invert(0.5 0.5)"); // Too many parameters
assert_invalid_value("webkitFilter", "invert(0.5, 0.5)"); // Too many parameters and commas
assert_invalid_value("webkitFilter", "invert(0.5,)"); // Trailing comma
assert_invalid_value("webkitFilter", "invert(-0.5)"); // Negative parameter
-assert_invalid_value("webkitFilter", "invert(1.5)"); // Parameter out of bounds
assert_invalid_value("webkitFilter", "opacity(10px)"); // Length instead of number
assert_invalid_value("webkitFilter", "opacity(0.5 0.5)"); // Too many parameters
@@ -47,7 +44,6 @@ assert_invalid_value("webkitFilter", "opacity(0.5, 0.5)"); // Too many parameter
assert_invalid_value("webkitFilter", "opacity(0.5,)"); // Trailing comma
assert_invalid_value("webkitFilter", "opacity(-0.5)"); // Negative parameter
assert_invalid_value("webkitFilter", "opacity(-10%)"); // Negative percent
-assert_invalid_value("webkitFilter", "opacity(1.5)"); // Parameter out of bounds
assert_invalid_value("webkitFilter", "brightness(10px)"); // Length instead of number
assert_invalid_value("webkitFilter", "brightness(0.5 0.5)"); // Too many parameters

Powered by Google App Engine
This is Rietveld 408576698