Index: LayoutTests/css3/tab-size-complex-path.html |
diff --git a/LayoutTests/css3/tab-size.html b/LayoutTests/css3/tab-size-complex-path.html |
similarity index 95% |
copy from LayoutTests/css3/tab-size.html |
copy to LayoutTests/css3/tab-size-complex-path.html |
index e44ac20afe148ba9af0c9fceda7560ce6398bf53..aaf306ffea4f2ed4251c7f38c42f59a50cff9418 100644 |
--- a/LayoutTests/css3/tab-size.html |
+++ b/LayoutTests/css3/tab-size-complex-path.html |
@@ -4,6 +4,7 @@ |
<style> |
body { |
font-size: 13px; |
+ text-rendering:optimizeLegibility; |
} |
.px-tab-size { |
tab-size: 60px; |
@@ -18,7 +19,7 @@ body { |
<script src="../resources/js-test.js"></script> |
</head> |
<body> |
- <div style="background-repeat: repeat-x;"> |
+ <div id="container" style="background-repeat: repeat-x;"> |
<div><pre id="leading-px" class="px-tab-size">	<span>leading text, tab-size in px.</span></pre></div> |
<div><pre id="leading-em" class="em-tab-size">	<span>leading text, tab-size in em.</span></pre></div> |
<div><pre id="leading-int" class="int-tab-size">	<span>leading text, tab-size in spaces.</span></pre></div> |
@@ -79,6 +80,9 @@ intTabLength = intTrailingSpan.getBoundingClientRect().left - intLeadingSpan.get |
shouldBe("pxTabLength", "pxExpected", false, 0.02); |
shouldBe("emTabLength", "emExpected", false, 0.02); |
shouldBe("intTabLength", "intExpected", false, 0.02); |
+ |
+if (window.testRunner) |
+ container.style.display = "none"; |
</script> |
</body> |
</html> |