| Index: co19/tests/co19/src/LayoutTests/fast/css/font-shorthand-from-longhands_t01.dart
|
| diff --git a/co19/tests/co19/src/LayoutTests/fast/css/font-shorthand-from-longhands_t01.dart b/co19/tests/co19/src/LayoutTests/fast/css/font-shorthand-from-longhands_t01.dart
|
| index 89176823db17f36ad405dfc23dd16f57238a1f01..a9f03137bc975f3ae469b112255cd8ba53463f69 100644
|
| --- a/co19/tests/co19/src/LayoutTests/fast/css/font-shorthand-from-longhands_t01.dart
|
| +++ b/co19/tests/co19/src/LayoutTests/fast/css/font-shorthand-from-longhands_t01.dart
|
| @@ -47,50 +47,50 @@ main() {
|
| style.fontSize = "20px";
|
| // We need at least the font-family to build the shorthand.
|
| shouldBe(style.font, '');
|
| - shouldBe(computedStyle.font, 'normal normal normal 20px/normal foobar');
|
| + shouldBe(computedStyle.font, 'normal normal normal normal 20px/normal foobar');
|
| shouldBe(computedStyle.fontSize, '20px');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| style.fontSize = "20px";
|
| style.fontFamily = "sans-serif";
|
| shouldBe(style.font, '20px sans-serif');
|
| - shouldBe(computedStyle.font, 'normal normal normal 20px/normal sans-serif');
|
| + shouldBe(computedStyle.font, 'normal normal normal normal 20px/normal sans-serif');
|
| shouldBe(computedStyle.fontFamily, 'sans-serif');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| style.fontStyle = "italic";
|
| shouldBe(style.font, 'italic 20px sans-serif');
|
| - shouldBe(computedStyle.font, 'italic normal normal 20px/normal sans-serif');
|
| + shouldBe(computedStyle.font, 'italic normal normal normal 20px/normal sans-serif');
|
| shouldBe(computedStyle.fontStyle, 'italic');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| style.fontVariant = "small-caps";
|
| shouldBe(style.font, 'italic small-caps 20px sans-serif');
|
| - shouldBe(computedStyle.font, 'italic small-caps normal 20px/normal sans-serif');
|
| + shouldBe(computedStyle.font, 'italic small-caps normal normal 20px/normal sans-serif');
|
| shouldBe(computedStyle.fontVariant, 'small-caps');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| style.fontWeight = "bold";
|
| shouldBe(style.font, 'italic small-caps bold 20px sans-serif');
|
| - shouldBe(computedStyle.font, 'italic small-caps bold 20px/normal sans-serif');
|
| + shouldBe(computedStyle.font, 'italic small-caps bold normal 20px/normal sans-serif');
|
| shouldBe(computedStyle.fontWeight, 'bold');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| style.lineHeight = "40px";
|
| shouldBe(style.font, 'italic small-caps bold 20px/40px sans-serif');
|
| - shouldBe(computedStyle.font, 'italic small-caps bold 20px/40px sans-serif');
|
| + shouldBe(computedStyle.font, 'italic small-caps bold normal 20px/40px sans-serif');
|
| shouldBe(computedStyle.lineHeight, '40px');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| style.font = "";
|
| shouldBe(style.font, '');
|
| - shouldBe(computedStyle.font, 'normal normal normal 16px/normal foobar');
|
| + shouldBe(computedStyle.font, 'normal normal normal normal 16px/normal foobar');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| style.fontWeight = "bold";
|
| // It is normal to return null as the font-size is mandatory to build the shorthand.
|
| shouldBe(style.font, '');
|
| - shouldBe(computedStyle.font, 'normal normal bold 16px/normal foobar');
|
| + shouldBe(computedStyle.font, 'normal normal bold normal 16px/normal foobar');
|
| shouldBe(computedStyle.fontWeight, 'bold');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|
| @@ -98,7 +98,7 @@ main() {
|
| style.fontFamily = "sans-serif";
|
| style.fontWeight = "bold";
|
| shouldBe(style.font, 'bold 40px sans-serif');
|
| - shouldBe(computedStyle.font, 'normal normal bold 40px/normal sans-serif');
|
| + shouldBe(computedStyle.font, 'normal normal bold normal 40px/normal sans-serif');
|
| shouldBe(computedStyle.fontSize, '40px');
|
| shouldBe(computedStyle.fontFamily, 'sans-serif');
|
| shouldBe(checkFontStyleValue(), true);
|
|
|