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

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/color-expected.txt

Issue 1986053004: Devtools Color: Basic support for #RRGGBBAA and #RGBA (Closed) 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/inspector/components/color-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/components/color-expected.txt b/third_party/WebKit/LayoutTests/inspector/components/color-expected.txt
index eb75fee2c510c64a56fa39a8edd0420bacfe7cd6..c7bea85654e6b3a55983f9cff7583397ca6f460a 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/color-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/components/color-expected.txt
@@ -7,6 +7,7 @@ Dumping 'red' in different formats:
- hsla(0, 100%, 50%, 1)
- hsv(0, 100%, 100%)
- hsva(0, 100%, 100%, 1)
+ - #ff0000ff
- #ff0000
- #f00
- red
@@ -20,6 +21,7 @@ Dumping 'green' in different formats:
- hsla(120, 100%, 25%, 1)
- hsv(120, 100%, 50%)
- hsva(120, 100%, 50%, 1)
+ - #008000ff
- #008000
- null
- green
@@ -33,6 +35,7 @@ Dumping 'blue' in different formats:
- hsla(240, 100%, 50%, 1)
- hsv(240, 100%, 100%)
- hsva(240, 100%, 100%, 1)
+ - #0000ffff
- #0000ff
- #00f
- blue
@@ -46,6 +49,7 @@ Dumping 'cyan' in different formats:
- hsla(180, 100%, 50%, 1)
- hsv(180, 100%, 100%)
- hsva(180, 100%, 100%, 1)
+ - #00ffffff
- #00ffff
- #0ff
- cyan
@@ -59,6 +63,7 @@ Dumping 'magenta' in different formats:
- hsla(300, 100%, 50%, 1)
- hsv(300, 100%, 100%)
- hsva(300, 100%, 100%, 1)
+ - #ff00ffff
- #ff00ff
- #f0f
- magenta
@@ -72,6 +77,7 @@ Dumping 'yellow' in different formats:
- hsla(60, 100%, 50%, 1)
- hsv(60, 100%, 100%)
- hsva(60, 100%, 100%, 1)
+ - #ffff00ff
- #ffff00
- #ff0
- yellow
@@ -85,6 +91,7 @@ Dumping 'white' in different formats:
- hsla(0, 0%, 100%, 1)
- hsv(0, 0%, 100%)
- hsva(0, 0%, 100%, 1)
+ - #ffffffff
- #ffffff
- #fff
- white
@@ -98,6 +105,7 @@ Dumping 'black' in different formats:
- hsla(0, 0%, 0%, 1)
- hsv(0, 0%, 0%)
- hsva(0, 0%, 0%, 1)
+ - #000000ff
- #000000
- #000
- black
@@ -111,6 +119,7 @@ Dumping 'rgb(94, 126, 91)' in different formats:
- hsla(115, 16%, 43%, 1)
- hsv(115, 28%, 49%)
- hsva(115, 28%, 49%, 1)
+ - #5e7e5bff
- #5e7e5b
- null
- null
@@ -124,6 +133,7 @@ Dumping 'rgba(94, 126, 91, 0.5)' in different formats:
- hsla(115, 16%, 43%, 0.5)
- hsv(115, 28%, 49%)
- hsva(115, 28%, 49%, 0.5)
+ - #5e7e5b80
- null
- null
- null
@@ -137,6 +147,7 @@ Dumping 'hsl(212, 55%, 32%)' in different formats:
- hsla(212, 55%, 32%, 1)
- hsv(212, 71%, 50%)
- hsva(212, 71%, 50%, 1)
+ - #254f7eff
- #254f7e
- null
- null
@@ -150,12 +161,27 @@ Dumping 'hsla(212, 55%, 32%, 0.5)' in different formats:
- hsla(212, 55%, 32%, 0.5)
- hsv(212, 71%, 50%)
- hsva(212, 71%, 50%, 0.5)
+ - #254f7e80
- null
- null
- null
- default: hsla(212, 55%, 32%, 0.5)
- inverse color: rgba(218, 176, 129, 0.5)
- setAlpha(0.42): rgba(37, 79, 126, 0.42)
+Dumping '#12345678' in different formats:
+ - null
+ - rgba(18, 52, 86, 0.47058823529411764)
+ - null
+ - hsla(210, 65%, 20%, 0.47058823529411764)
+ - hsv(210, 79%, 34%)
+ - hsva(210, 79%, 34%, 0.47058823529411764)
+ - #12345678
+ - null
+ - null
+ - null
+ - default: #12345678
+ - inverse color: rgba(237, 203, 169, 0.47058823529411764)
+ - setAlpha(0.42): rgba(18, 52, 86, 0.42)
Dumping '#00FFFF' in different formats:
- rgb(0, 255, 255)
- rgba(0, 255, 255, 1)
@@ -163,12 +189,27 @@ Dumping '#00FFFF' in different formats:
- hsla(180, 100%, 50%, 1)
- hsv(180, 100%, 100%)
- hsva(180, 100%, 100%, 1)
+ - #00ffffff
- #00FFFF
- #0ff
- cyan
- default: #00ffff
- inverse color: rgba(255, 0, 0, 1)
- setAlpha(0.42): rgba(0, 255, 255, 0.42)
+Dumping '#1234' in different formats:
+ - null
+ - rgba(17, 34, 51, 0.26666666666666666)
+ - null
+ - hsla(210, 50%, 13%, 0.26666666666666666)
+ - hsv(210, 67%, 20%)
+ - hsva(210, 67%, 20%, 0.26666666666666666)
+ - #1234
+ - null
+ - null
+ - null
+ - default: #11223344
+ - inverse color: rgba(238, 221, 204, 0.26666666666666666)
+ - setAlpha(0.42): rgba(17, 34, 51, 0.42)
Dumping '#0FF' in different formats:
- rgb(0, 255, 255)
- rgba(0, 255, 255, 1)
@@ -176,6 +217,7 @@ Dumping '#0FF' in different formats:
- hsla(180, 100%, 50%, 1)
- hsv(180, 100%, 100%)
- hsva(180, 100%, 100%, 1)
+ - #00ffffff
- #00ffff
- #0FF
- cyan

Powered by Google App Engine
This is Rietveld 408576698