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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt

Issue 1519643002: Serialize font shorthand as empty string if any longhand is not specified (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/font-shorthand-from-longhands-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt b/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt
index 231aec08b29e048ebb4d5bf01ec5857d4941b71c..5a5f29367d4ffb9aac856af70357882159184f70 100644
--- a/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt
@@ -7,38 +7,27 @@ PASS style.font is ''
PASS computedStyle.font is 'normal normal normal normal 20px / normal foobar'
PASS computedStyle.fontSize is '20px'
PASS checkFontStyleValue() is true
-PASS style.font is '20px sans-serif'
+PASS style.font is ''
PASS computedStyle.font is 'normal normal normal normal 20px / normal sans-serif'
PASS computedStyle.fontFamily is 'sans-serif'
-PASS checkFontStyleValue() is true
-PASS style.font is 'italic 20px sans-serif'
+PASS style.font is ''
PASS computedStyle.font is 'italic normal normal normal 20px / normal sans-serif'
PASS computedStyle.fontStyle is 'italic'
-PASS checkFontStyleValue() is true
-PASS style.font is 'italic small-caps 20px sans-serif'
+PASS style.font is ''
PASS computedStyle.font is 'italic small-caps normal normal 20px / normal sans-serif'
PASS computedStyle.fontVariant is 'small-caps'
-PASS checkFontStyleValue() is true
-PASS style.font is 'italic small-caps bold 20px sans-serif'
+PASS style.font is ''
PASS computedStyle.font is 'italic small-caps bold normal 20px / normal sans-serif'
PASS computedStyle.fontWeight is 'bold'
-PASS checkFontStyleValue() is true
-PASS style.font is 'italic small-caps bold 20px/40px sans-serif'
+PASS style.font is ''
PASS computedStyle.font is 'italic small-caps bold normal 20px / 40px sans-serif'
PASS computedStyle.lineHeight is '40px'
+PASS style.font is 'italic small-caps bold ultra-expanded 20px/40px sans-serif'
+PASS computedStyle.font is 'italic small-caps bold ultra-expanded 20px / 40px sans-serif'
PASS checkFontStyleValue() is true
PASS style.font is ''
PASS computedStyle.font is 'normal normal normal normal 16px / normal foobar'
PASS checkFontStyleValue() is true
-PASS style.font is ''
-PASS computedStyle.font is 'normal normal bold normal 16px / normal foobar'
-PASS computedStyle.fontWeight is 'bold'
-PASS checkFontStyleValue() is true
-PASS style.font is 'bold 40px sans-serif'
-PASS computedStyle.font is 'normal normal bold normal 40px / normal sans-serif'
-PASS computedStyle.fontSize is '40px'
-PASS computedStyle.fontFamily is 'sans-serif'
-PASS checkFontStyleValue() is true
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698