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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/cssText-shorthand.html

Issue 1988013003: Move generic shorthand serialization checks out of specific routines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shorthand1
Patch Set: actually fix test 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/fast/css/cssText-shorthand.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/cssText-shorthand.html b/third_party/WebKit/LayoutTests/fast/css/cssText-shorthand.html
index 385d9abb86f145d5c4055015bbd566405b8bc790..524b691a3e9c6fbf11572650fe83da4e23e0ba74 100644
--- a/third_party/WebKit/LayoutTests/fast/css/cssText-shorthand.html
+++ b/third_party/WebKit/LayoutTests/fast/css/cssText-shorthand.html
@@ -8,13 +8,15 @@ var tests = [
['border: 1px solid red;', 'border: 1px solid red;'],
['border: 1px red;', 'border: 1px red;'],
['border: red;', 'border: red;'],
- ['border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px;', 'border: 1px;'],
+ ['border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px;',
+ 'border-color: initial; border-style: initial; border-width: 1px;'],
['border-top: 1px; border-right: 2px; border-bottom: 3px; border-left: 4px;', 'border-color: initial; border-style: initial; border-width: 1px 2px 3px 4px;'],
- ['border: 1px; border-top: 2px;', 'border-color: initial; border-style: initial; border-width: 2px 1px 1px;'],
+ ['border: 1px; border-top: 2px;', 'border-color: initial; border-style: initial; border-width: 2px 1px 1px; border-image: initial;'],
['border: 1px; border-top: 1px !important;',
- 'border-right: 1px; border-bottom: 1px; border-left: 1px; border-top: 1px !important;'],
+ 'border-right: 1px; border-bottom: 1px; border-left: 1px; border-top: 1px !important; border-image: initial;'],
- ['border: 1px; border-top-color: red;', 'border-style: initial; border-top-color: red; border-width: 1px;'],
+ ['border: 1px; border-top-color: red;',
+ 'border-bottom-color: initial; border-image: initial; border-left-color: initial; border-right-color: initial; border-style: initial; border-top-color: red; border-width: 1px;'],
['border: solid; border-style: dotted', 'border: dotted;'],
['border-width: 1px;', 'border-width: 1px;'],

Powered by Google App Engine
This is Rietveld 408576698