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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-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/elements/styles-4/styles-invalid-color-values-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt
index 29d72a7ab5e2b473c88b64cc5617f3e5eb94ab64..bc9e06a8cb0837abd634ab23d1c45ee82de56d3f 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt
@@ -9,6 +9,8 @@ color: red
nickname: red
hex: #ff0000
shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #f00f
rgb: rgb(255, 0, 0)
hsl: hsl(0, 100%, 50%)
@@ -18,6 +20,41 @@ color: #F00
nickname: red
hex: #ff0000
shorthex: #F00
+ hexa: #ff0000ff
+ shorthexa: #f00f
+ rgb: rgb(255, 0, 0)
+ hsl: hsl(0, 100%, 50%)
+
+color: #F00F
+ simple: true
+ original: #F00F
+ nickname: red
+ hex: #ff0000
+ shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #F00F
+ rgb: rgb(255, 0, 0)
+ hsl: hsl(0, 100%, 50%)
+
+color: #FF0000
+ simple: true
+ original: #FF0000
+ nickname: red
+ hex: #FF0000
+ shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #f00f
+ rgb: rgb(255, 0, 0)
+ hsl: hsl(0, 100%, 50%)
+
+color: #FF0000FF
+ simple: true
+ original: #FF0000FF
+ nickname: red
+ hex: #ff0000
+ shorthex: #f00
+ hexa: #FF0000FF
+ shorthexa: #f00f
rgb: rgb(255, 0, 0)
hsl: hsl(0, 100%, 50%)
@@ -27,6 +64,8 @@ color: rgb(255,0,0)
nickname: red
hex: #ff0000
shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #f00f
rgb: rgb(255,0,0)
hsl: hsl(0, 100%, 50%)
@@ -36,6 +75,8 @@ color: rgb(300,0,0)
nickname: red
hex: #ff0000
shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #f00f
rgb: rgb(255, 0, 0)
hsl: hsl(0, 100%, 50%)
@@ -45,6 +86,8 @@ color: rgb(255,-10,0)
nickname: red
hex: #ff0000
shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #f00f
rgb: rgb(255, 0, 0)
hsl: hsl(0, 100%, 50%)
@@ -54,12 +97,16 @@ color: rgb(110%, 0%, 0%)
nickname: red
hex: #ff0000
shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #f00f
rgb: rgb(255, 0, 0)
hsl: hsl(0, 100%, 50%)
color: rgba(0,0,0,0.5)
simple: false
original: rgba(0,0,0,0.5)
+ hexa: #00000080
+ shorthexa: null
rgb: null
rgba: rgba(0,0,0,0.5)
hsl: null
@@ -71,6 +118,8 @@ color: hsl(-120, 100%, 50%)
nickname: blue
hex: #0000ff
shorthex: #00f
+ hexa: #0000ffff
+ shorthexa: #00ff
rgb: rgb(0, 0, 255)
hsl: hsl(-120, 100%, 50%)
@@ -80,6 +129,8 @@ color: hsl(-120, 200%, 200%)
nickname: white
hex: #ffffff
shorthex: #fff
+ hexa: #ffffffff
+ shorthexa: #ffff
rgb: rgb(255, 255, 255)
hsl: hsl(-120, 200%, 200%)
@@ -89,6 +140,8 @@ color: hsl(-120, -200%, -200%)
nickname: black
hex: #000000
shorthex: #000
+ hexa: #000000ff
+ shorthexa: #000f
rgb: rgb(0, 0, 0)
hsl: hsl(0, 0%, 0%)
@@ -96,6 +149,8 @@ color: hsla(-120, -200%, -200%, -5)
simple: false
original: hsla(-120, -200%, -200%, -5)
nickname: transparent
+ hexa: #00000000
+ shorthexa: #0000
rgb: null
rgba: rgba(0, 0, 0, 0)
hsl: null
@@ -104,6 +159,8 @@ color: hsla(-120, -200%, -200%, -5)
color: hsla(240,100%,50%,0.05)
simple: false
original: hsla(240,100%,50%,0.05)
+ hexa: #0000ff0d
+ shorthexa: null
rgb: null
rgba: rgba(0, 0, 255, 0.05)
hsl: null
@@ -114,6 +171,8 @@ color: hsl(200.5,0%,50%)
original: hsl(200.5,0%,50%)
nickname: grey
hex: #808080
+ hexa: #808080ff
+ shorthexa: null
rgb: rgb(128, 128, 128)
hsl: hsl(200.5,0%,50%)
@@ -121,12 +180,16 @@ color: hsla(200,1.5%,50%,1)
simple: true
original: hsla(200,1.5%,50%,1)
hex: #7e8081
+ hexa: #7e8081ff
+ shorthexa: null
rgb: rgb(126, 128, 129)
hsl: hsl(200, 1%, 50%)
color: rgba(0,0,0,.5)
simple: false
original: rgba(0,0,0,.5)
+ hexa: #00000080
+ shorthexa: null
rgb: null
rgba: rgba(0,0,0,.5)
hsl: null
@@ -135,6 +198,8 @@ color: rgba(0,0,0,.5)
color: hsla(.5,.5%,.5%,.5)
simple: false
original: hsla(.5,.5%,.5%,.5)
+ hexa: #01010180
+ shorthexa: null
rgb: null
rgba: rgba(1, 1, 1, 0.5)
hsl: null
@@ -143,6 +208,8 @@ color: hsla(.5,.5%,.5%,.5)
color: hsla(100.5,50.5%,50.5%,.5)
simple: false
original: hsla(100.5,50.5%,50.5%,.5)
+ hexa: #6ac14180
+ shorthexa: null
rgb: null
rgba: rgba(106, 193, 65, 0.5)
hsl: null
@@ -151,6 +218,8 @@ color: hsla(100.5,50.5%,50.5%,.5)
color: rgba(255, 0, 0, -5)
simple: false
original: rgba(255, 0, 0, -5)
+ hexa: #ff000000
+ shorthexa: #f000
rgb: null
rgba: rgba(255, 0, 0, 0)
hsl: null
@@ -162,6 +231,8 @@ color: rgba(255, 0, 0, 5)
nickname: red
hex: #ff0000
shorthex: #f00
+ hexa: #ff0000ff
+ shorthexa: #f00f
rgb: rgb(255, 0, 0)
hsl: hsl(0, 100%, 50%)
@@ -169,8 +240,6 @@ Running: testInvalidColors
SUCCESS: parsed invalid color none to null
-SUCCESS: parsed invalid color #0000 to null
-
SUCCESS: parsed invalid color #00000 to null
SUCCESS: parsed invalid color #ggg to null

Powered by Google App Engine
This is Rietveld 408576698