| Index: third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands.html b/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands.html
|
| index 92c584df0822a9effed033345fa18d595739dc2e..9c04aae4f73eee45a0ef7bdf47a38d98e1e9484f 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands.html
|
| @@ -36,29 +36,29 @@ function checkFontStyleValue() {
|
| style.fontSize = "20px";
|
| // We need all font longhands to build the shorthand.
|
| shouldBe("style.font", "''");
|
| -shouldBe("computedStyle.font", "'normal normal normal normal 20px / normal foobar'");
|
| +shouldBe("computedStyle.font", "'normal normal normal normal 20px / 23px foobar'");
|
| shouldBe("computedStyle.fontSize", "'20px'");
|
| shouldBe("checkFontStyleValue()", "true");
|
|
|
| style.fontSize = "20px";
|
| style.fontFamily = "sans-serif";
|
| shouldBe("style.font", "''");
|
| -shouldBe("computedStyle.font", "'normal normal normal normal 20px / normal sans-serif'");
|
| +shouldBe("computedStyle.font", "'normal normal normal normal 20px / 24px sans-serif'");
|
| shouldBe("computedStyle.fontFamily", "'sans-serif'");
|
|
|
| style.fontStyle = "italic";
|
| shouldBe("style.font", "''");
|
| -shouldBe("computedStyle.font", "'italic normal normal normal 20px / normal sans-serif'");
|
| +shouldBe("computedStyle.font", "'italic normal normal normal 20px / 25px sans-serif'");
|
| shouldBe("computedStyle.fontStyle", "'italic'");
|
|
|
| style.fontVariant = "small-caps";
|
| shouldBe("style.font", "''");
|
| -shouldBe("computedStyle.font", "'italic small-caps normal normal 20px / normal sans-serif'");
|
| +shouldBe("computedStyle.font", "'italic small-caps normal normal 20px / 25px sans-serif'");
|
| shouldBe("computedStyle.fontVariant", "'small-caps'");
|
|
|
| style.fontWeight = "bold";
|
| shouldBe("style.font", "''");
|
| -shouldBe("computedStyle.font", "'italic small-caps bold normal 20px / normal sans-serif'");
|
| +shouldBe("computedStyle.font", "'italic small-caps bold normal 20px / 25px sans-serif'");
|
| shouldBe("computedStyle.fontWeight", "'bold'");
|
|
|
| style.lineHeight = "40px";
|
| @@ -74,7 +74,7 @@ shouldBe("checkFontStyleValue()", "true");
|
|
|
| style.font = "";
|
| shouldBe("style.font", "''");
|
| -shouldBe("computedStyle.font", "'normal normal normal normal 16px / normal foobar'");
|
| +shouldBe("computedStyle.font", "'normal normal normal normal 16px / 20px foobar'");
|
| shouldBe("checkFontStyleValue()", "true");
|
|
|
| document.body.removeChild(testContainer);
|
|
|