| Index: LayoutTests/fast/css/font-family-initial.html
|
| diff --git a/LayoutTests/fast/css/font-family-initial.html b/LayoutTests/fast/css/font-family-initial.html
|
| index 048231f6baa1affbf66e27b814f65dd08f4f8e23..2bd26d481610525353980102721d7e5f96a55e09 100644
|
| --- a/LayoutTests/fast/css/font-family-initial.html
|
| +++ b/LayoutTests/fast/css/font-family-initial.html
|
| @@ -1,33 +1,2 @@
|
| -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -<script>
|
| -if (window.testRunner) {
|
| - window.testRunner.dumpAsText();
|
| -}
|
| -</script>
|
| -</head>
|
| -<body>
|
| -<div id="unstyled">Unstyled Font Family</div>
|
| -<div id="initialFontFamily" style="font-family: initial;">Initial Font Family</div>
|
| -<div id="initialFont" style="font: initial;">Initial Font</div>
|
| -<hr>
|
| -<p id="description"></p>
|
| -<div id="console"></div>
|
| -<script>
|
| -description("Test for <a href=\"https://bugs.webkit.org/show_bug.cgi?id=19085\">Bug 19085: font-family: initial sets font-family differently than font: initial</a>");
|
| -
|
| -var initialFontElement = document.getElementById("initialFont");
|
| -var initialFontFamilyElement = document.getElementById("initialFontFamily");
|
| -var unstyledElement = document.getElementById("unstyled");
|
| -
|
| -var initialFont = document.defaultView.getComputedStyle(initialFontElement, null).getPropertyValue("font-family");
|
| -var initialFontFamily = document.defaultView.getComputedStyle(initialFontFamilyElement, null).getPropertyValue("font-family");
|
| -var unstyled = document.defaultView.getComputedStyle(unstyledElement, null).getPropertyValue("font-family");
|
| -
|
| -shouldBe("initialFontFamily", "unstyled");
|
| -shouldBe("initialFont", "unstyled");
|
| -</script>
|
| -</body>
|
| -</html>
|
| +<!DOCTYPE HTML>
|
| +<div style="font-family: monospace"><div style="font-family: initial">INITIAL</div></div>
|
|
|