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

Unified Diff: third_party/WebKit/LayoutTests/css-parser/serialize-css-alpha-value-expected.txt

Issue 2606143002: Fix RGBA alpha parsing and serialization to adhere to W3 standard. (Closed)
Patch Set: fix blending Created 3 years, 12 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/css-parser/serialize-css-alpha-value-expected.txt
diff --git a/third_party/WebKit/LayoutTests/css-parser/serialize-css-alpha-value-expected.txt b/third_party/WebKit/LayoutTests/css-parser/serialize-css-alpha-value-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dbf565a7a206b930cf282956f873ba87392b69d3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css-parser/serialize-css-alpha-value-expected.txt
@@ -0,0 +1,211 @@
+This tests if floating point alpha values of numbers to two decimial places are serialized and returned correctly.
sashab 2017/01/02 23:04:15 Don't need -expected.txt for testharness.js tests
ktyliu 2017/01/03 02:14:22 Done.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.body.style.color is "rgba(0, 0, 0, 0)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.01)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.01)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.02)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.02)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.03)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.03)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.04)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.04)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.05)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.05)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.06)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.06)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.07)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.07)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.08)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.08)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.09)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.09)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.1)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.1)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.11)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.11)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.12)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.12)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.13)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.13)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.14)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.14)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.15)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.15)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.16)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.16)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.17)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.17)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.18)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.18)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.19)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.19)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.2)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.2)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.21)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.21)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.22)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.22)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.23)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.23)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.24)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.24)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.25)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.25)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.26)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.26)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.27)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.27)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.28)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.28)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.29)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.29)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.3)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.3)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.31)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.31)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.32)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.32)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.33)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.33)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.34)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.34)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.35)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.35)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.36)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.36)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.37)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.37)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.38)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.38)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.39)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.39)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.4)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.4)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.41)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.41)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.42)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.42)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.43)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.43)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.44)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.44)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.45)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.45)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.46)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.46)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.47)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.47)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.48)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.48)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.49)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.49)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.5)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.5)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.51)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.51)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.52)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.52)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.53)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.53)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.54)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.54)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.55)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.55)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.56)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.56)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.57)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.57)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.58)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.58)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.59)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.59)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.6)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.6)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.61)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.61)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.62)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.62)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.63)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.63)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.64)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.64)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.65)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.65)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.66)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.66)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.67)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.67)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.68)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.68)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.69)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.69)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.7)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.7)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.71)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.71)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.72)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.72)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.73)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.73)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.74)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.74)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.75)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.75)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.76)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.76)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.77)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.77)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.78)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.78)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.79)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.79)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.8)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.8)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.81)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.81)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.82)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.82)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.83)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.83)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.84)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.84)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.85)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.85)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.86)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.86)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.87)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.87)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.88)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.88)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.89)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.89)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.9)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.9)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.91)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.91)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.92)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.92)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.93)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.93)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.94)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.94)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.95)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.95)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.96)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.96)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.97)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.97)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.98)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.98)"
+PASS document.body.style.color is "rgba(0, 0, 0, 0.99)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.99)"
+0ASS document.body.style.color is "rgba(0, 0, 0, 1)"
+PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 1)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698