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

Unified Diff: LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt

Issue 1313863003: Devtools Color: Support decimal values which omit 0 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations Created 5 years, 4 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: LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt
diff --git a/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt b/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt
index 3fb4f335be1de62f71c09631948326547d10e115..e7fdf936bd28ff797e77049cf9c518997ad2de76 100644
--- a/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt
+++ b/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt
@@ -124,6 +124,30 @@ color: hsla(200,1.5%,50%,1)
rgb: rgb(126, 128, 129)
hsl: hsl(200, 1%, 50%)
+color: rgba(0,0,0,.5)
+ simple: false
+ original: rgba(0,0,0,.5)
+ rgb: null
+ rgba: rgba(0,0,0,.5)
+ hsl: null
+ hsla: hsla(0, 0%, 0%, 0.5)
+
+color: hsla(.5,.5%,.5%,.5)
+ simple: false
+ original: hsla(.5,.5%,.5%,.5)
+ rgb: null
+ rgba: rgba(1, 1, 1, 0.5)
+ hsl: null
+ hsla: 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)
+ rgb: null
+ rgba: rgba(106, 193, 65, 0.5)
+ hsl: null
+ hsla: hsla(100.5,50.5%,50.5%,.5)
+
color: rgba(255, 0, 0, -5)
simple: false
original: rgba(255, 0, 0, -5)
@@ -159,10 +183,14 @@ SUCCESS: parsed invalid color rgb(1,1,1.2) to null
SUCCESS: parsed invalid color rgba(0,0,0,1%) to null
+SUCCESS: parsed invalid color rgba(0,0,0,) to null
+
SUCCESS: parsed invalid color hsl(0,0,0) to null
SUCCESS: parsed invalid color hsl(0%, 0%, 0%) to null
+SUCCESS: parsed invalid color hsla(0,,0,1) to null
+
SUCCESS: parsed invalid color hsl(0, 0%, 0) to null
SUCCESS: parsed invalid color hsl(a,b,c) to null
« no previous file with comments | « LayoutTests/inspector/elements/styles-4/styles-invalid-color-values.html ('k') | Source/devtools/front_end/common/Color.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698