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

Unified Diff: LayoutTests/css3/tab-size-complex-path.html

Issue 1242213002: Add tab characters support in complex path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fast/text/drawBidiText.html NeedsRebaseline Created 5 years, 4 months 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/css3/tab-size-complex-path-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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">&Tab;<span>leading text, tab-size in px.</span></pre></div>
<div><pre id="leading-em" class="em-tab-size">&Tab;<span>leading text, tab-size in em.</span></pre></div>
<div><pre id="leading-int" class="int-tab-size">&Tab;<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>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/css3/tab-size-complex-path-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698