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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/unprefixed-expected.txt

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/css3/filters/unprefixed-expected.txt
diff --git a/third_party/WebKit/LayoutTests/css3/filters/unprefixed-expected.txt b/third_party/WebKit/LayoutTests/css3/filters/unprefixed-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..577bad4f576445c98f3e35822669104d4f944eea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/filters/unprefixed-expected.txt
@@ -0,0 +1,201 @@
+Test that -webkit-filter matches filter.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Basic reference : -webkit-filter: url('#a')
+PASS computed filter style: url("#a")
+
+Bare unquoted reference converting to quoted form : -webkit-filter: url(#a)
+PASS computed filter style: url("#a")
+
+Multiple references : -webkit-filter: url('#a') url('#b')
+PASS computed filter style: url("#a") url("#b")
+
+Reference as 2nd value : -webkit-filter: grayscale(1) url('#a')
+PASS computed filter style: grayscale(1) url("#a")
+
+Float value converts to integer : -webkit-filter: grayscale(1.0)
+PASS computed filter style: grayscale(1)
+
+Zero value : -webkit-filter: grayscale(0)
+PASS computed filter style: grayscale(0)
+
+No values : -webkit-filter: grayscale()
+PASS computed filter style: grayscale(1)
+
+Multiple values : -webkit-filter: grayscale(0.5) grayscale(0.25)
+PASS computed filter style: grayscale(0.5) grayscale(0.25)
+
+Integer value : -webkit-filter: sepia(1)
+PASS computed filter style: sepia(1)
+
+Float value converts to integer : -webkit-filter: sepia(1.0)
+PASS computed filter style: sepia(1)
+
+Zero value : -webkit-filter: sepia(0)
+PASS computed filter style: sepia(0)
+
+No values : -webkit-filter: sepia()
+PASS computed filter style: sepia(1)
+
+Multiple values : -webkit-filter: sepia(0.5) sepia(0.25)
+PASS computed filter style: sepia(0.5) sepia(0.25)
+
+Rule combinations : -webkit-filter: sepia(0.5) grayscale(0.25)
+PASS computed filter style: sepia(0.5) grayscale(0.25)
+
+Integer value : -webkit-filter: saturate(1)
+PASS computed filter style: saturate(1)
+
+Float value converts to integer : -webkit-filter: saturate(1.0)
+PASS computed filter style: saturate(1)
+
+Zero value : -webkit-filter: saturate(0)
+PASS computed filter style: saturate(0)
+
+No values : -webkit-filter: saturate()
+PASS computed filter style: saturate(1)
+
+Multiple values : -webkit-filter: saturate(0.5) saturate(0.25)
+PASS computed filter style: saturate(0.5) saturate(0.25)
+
+Rule combinations : -webkit-filter: saturate(0.5) grayscale(0.25)
+PASS computed filter style: saturate(0.5) grayscale(0.25)
+
+Degrees value as integer : -webkit-filter: hue-rotate(10deg)
+PASS computed filter style: hue-rotate(10deg)
+
+Degrees float value converts to integer : -webkit-filter: hue-rotate(10.0deg)
+PASS computed filter style: hue-rotate(10deg)
+
+Radians value : -webkit-filter: hue-rotate(10rad)
+PASS computed filter style: hue-rotate(572.958deg)
+
+Gradians value : -webkit-filter: hue-rotate(10grad)
+PASS computed filter style: hue-rotate(9deg)
+
+Turns value : -webkit-filter: hue-rotate(0.5turn)
+PASS computed filter style: hue-rotate(180deg)
+
+Zero value : -webkit-filter: hue-rotate(0)
+PASS computed filter style: hue-rotate(0deg)
+
+No values : -webkit-filter: hue-rotate()
+PASS computed filter style: hue-rotate(0deg)
+
+Rule combinations : -webkit-filter: hue-rotate(10deg) grayscale(0.25)
+PASS computed filter style: hue-rotate(10deg) grayscale(0.25)
+
+Integer value : -webkit-filter: invert(1)
+PASS computed filter style: invert(1)
+
+Float value converts to integer : -webkit-filter: invert(1.0)
+PASS computed filter style: invert(1)
+
+Zero value : -webkit-filter: invert(0)
+PASS computed filter style: invert(0)
+
+No values : -webkit-filter: invert()
+PASS computed filter style: invert(1)
+
+Multiple values : -webkit-filter: invert(0.5) invert(0.25)
+PASS computed filter style: invert(0.5) invert(0.25)
+
+Rule combinations : -webkit-filter: invert(0.5) grayscale(0.25)
+PASS computed filter style: invert(0.5) grayscale(0.25)
+
+Integer value : -webkit-filter: opacity(1)
+PASS computed filter style: opacity(1)
+
+Float value converts to integer : -webkit-filter: opacity(1.0)
+PASS computed filter style: opacity(1)
+
+Zero value : -webkit-filter: opacity(0)
+PASS computed filter style: opacity(0)
+
+No values : -webkit-filter: opacity()
+PASS computed filter style: opacity(1)
+
+Multiple values : -webkit-filter: opacity(0.5) opacity(0.25)
+PASS computed filter style: opacity(0.5) opacity(0.25)
+
+Rule combinations : -webkit-filter: opacity(0.5) grayscale(0.25)
+PASS computed filter style: opacity(0.5) grayscale(0.25)
+
+Integer value : -webkit-filter: brightness(1)
+PASS computed filter style: brightness(1)
+
+Float value converts to integer : -webkit-filter: brightness(1.0)
+PASS computed filter style: brightness(1)
+
+Zero value : -webkit-filter: brightness(0)
+PASS computed filter style: brightness(0)
+
+No values : -webkit-filter: brightness()
+PASS computed filter style: brightness(0)
+
+Multiple values : -webkit-filter: brightness(0.5) brightness(0.25)
+PASS computed filter style: brightness(0.5) brightness(0.25)
+
+Rule combinations : -webkit-filter: brightness(0.5) grayscale(0.25)
+PASS computed filter style: brightness(0.5) grayscale(0.25)
+
+Integer value : -webkit-filter: contrast(1)
+PASS computed filter style: contrast(1)
+
+Value greater than 1 : -webkit-filter: contrast(2)
+PASS computed filter style: contrast(2)
+
+Float value converts to integer : -webkit-filter: contrast(1.0)
+PASS computed filter style: contrast(1)
+
+Zero value : -webkit-filter: contrast(0)
+PASS computed filter style: contrast(0)
+
+No values : -webkit-filter: contrast()
+PASS computed filter style: contrast(1)
+
+Multiple values : -webkit-filter: contrast(0.5) contrast(0.25)
+PASS computed filter style: contrast(0.5) contrast(0.25)
+
+Rule combinations : -webkit-filter: contrast(0.5) grayscale(0.25)
+PASS computed filter style: contrast(0.5) grayscale(0.25)
+
+One zero to px : -webkit-filter: blur(0)
+PASS computed filter style: blur(0px)
+
+One length : -webkit-filter: blur(2em)
+PASS computed filter style: blur(32px)
+
+One length : -webkit-filter: blur(5px)
+PASS computed filter style: blur(5px)
+
+No values : -webkit-filter: blur()
+PASS computed filter style: blur(0px)
+
+Named color then three values : -webkit-filter: drop-shadow(red 1px 2px 3px)
+PASS computed filter style: drop-shadow(rgb(255, 0, 0) 1px 2px 3px)
+
+Three values then named color : -webkit-filter: drop-shadow(1px 2px 3px red)
+PASS computed filter style: drop-shadow(rgb(255, 0, 0) 1px 2px 3px)
+
+Color then three values with zero length : -webkit-filter: drop-shadow(#abc 0 0 0)
+PASS computed filter style: drop-shadow(rgb(170, 187, 204) 0px 0px 0px)
+
+Three values with zero length : -webkit-filter: drop-shadow(0 0 0)
+PASS computed filter style: drop-shadow(rgb(0, 0, 0) 0px 0px 0px)
+
+Two values no color : -webkit-filter: drop-shadow(1px 2px)
+PASS computed filter style: drop-shadow(rgb(0, 0, 0) 1px 2px 0px)
+
+Multiple operations : -webkit-filter: grayscale(0.5) sepia(0.25) saturate(0.75) hue-rotate(35deg) invert(0.2) opacity(0.9) blur(5px)
+PASS computed filter style: grayscale(0.5) sepia(0.25) saturate(0.75) hue-rotate(35deg) invert(0.2) opacity(0.9) blur(5px)
+
+Percentage values : -webkit-filter: grayscale(50%) sepia(25%) saturate(75%) invert(20%) opacity(90%) brightness(60%) contrast(30%)
+PASS computed filter style: grayscale(0.5) sepia(0.25) saturate(0.75) invert(0.2) opacity(0.9) brightness(0.6) contrast(0.3)
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698