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

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

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
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/elements/styles-4/styles-invalid-color-values.html
diff --git a/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values.html b/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values.html
index f2968f8c86eea8b61fd2e3224f40be3c1581cc68..6ad4d68951888e98d9765a11845c90201bc90548 100644
--- a/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values.html
+++ b/LayoutTests/inspector/elements/styles-4/styles-invalid-color-values.html
@@ -23,6 +23,9 @@ function test()
'hsla(240,100%,50%,0.05)',
'hsl(200.5,0%,50%)',
'hsla(200,1.5%,50%,1)',
+ 'rgba(0,0,0,.5)',
+ 'hsla(.5,.5%,.5%,.5)',
+ 'hsla(100.5,50.5%,50.5%,.5)',
// Each of these has their alpha clipped [0.0, 1.0].
'rgba(255, 0, 0, -5)', // clipped to rgba(255,0,0,0)
@@ -39,8 +42,10 @@ function test()
'rgb(a,b,c,d)',
'rgb(1,1,1.2)',
'rgba(0,0,0,1%)',
+ 'rgba(0,0,0,)',
'hsl(0,0,0)',
'hsl(0%, 0%, 0%)',
+ 'hsla(0,,0,1)',
'hsl(0, 0%, 0)',
'hsl(a,b,c)',
'hsla(0,0,0,0)',
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-4/styles-invalid-color-values-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698