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

Unified Diff: third_party/WebKit/LayoutTests/css3/calc/number-parsing.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/filters/filter-property-parsing.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/css3/calc/number-parsing.html
diff --git a/third_party/WebKit/LayoutTests/css3/calc/number-parsing.html b/third_party/WebKit/LayoutTests/css3/calc/number-parsing.html
index 44e8d70446b1c79f9ab749daf1868d440cfb2430..da0e324f4c75dd6c4a27ba1a96157f724659420f 100644
--- a/third_party/WebKit/LayoutTests/css3/calc/number-parsing.html
+++ b/third_party/WebKit/LayoutTests/css3/calc/number-parsing.html
@@ -22,7 +22,7 @@ test(function() {
assertParsedValue('font-weight', 'calc(100 + 200)', '');
assertParsedValue('flex', 'calc(1 + 2) calc(3 + 4)', '3 7 0%');
assertParsedValue('-webkit-filter', 'saturate(calc(4 / 2))', 'saturate(2)');
- assertParsedValue('-webkit-filter', 'invert(calc(4 / 2))', '');
+ assertParsedValue('-webkit-filter', 'invert(calc(4 / 2))', 'invert(1)');
assertParsedValue('-webkit-filter', 'invert(calc(2 / 4))', 'invert(0.5)');
assertParsedValue('-webkit-filter', 'brightness(calc(4 / 2))', 'brightness(2)');
}, 'Ensure using calc() for CSS numbers does not crash or produce incorrect values.');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/filters/filter-property-parsing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698