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

Unified Diff: LayoutTests/fast/regions/no-split-line-box.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
Index: LayoutTests/fast/regions/no-split-line-box.html
diff --git a/LayoutTests/fast/regions/no-split-line-box.html b/LayoutTests/fast/regions/no-split-line-box.html
deleted file mode 100644
index 73ab5927cc0ddff9a1da6c4c3c4567da8699370c..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/no-split-line-box.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!--
- Each of the two regions should only display two line boxes in this test.
- The buggy behavior splits the third line box between the first and second region.
- -->
-<script type="text/javascript" charset="utf-8" src="resources/helper.js"></script>
-
-<style type="text/css">
- .article{
- -webkit-flow-into: thread;
- line-height:14px;
- }
- .region{
- -webkit-flow-from: thread;
- width:4em;
- height:35px; /*2.5x line height*/
- background-color:lightgray;
- }
- .divider{
- width:4em;
- height:10px;
- }
- .description{
- color:blue;
- }
-</style>
-
-<div id="test">
- <div class="region"></div>
- <div class="divider"></div>
- <div id="secondRegion" class="region"></div>
- <div class="article">
- mnopqr mnopqr <span id="testSpan">m</span>nopqr mnopqr
- </div>
- <p class="description">The two regions on either side of the divider should each have two text lines.</p>
- <p class="description">There should be no text line split between the regions.</p>
- <p class="description">The top left corner of the third text line should be in the top left corner of the second region.</p>
-</div>
-<div id="result"></div>
-
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var testElement = document.getElementById("testSpan")
- var testRect = testElement.getBoundingClientRect();
- var regionElement = document.getElementById("secondRegion")
- var regionRect = regionElement.getBoundingClientRect();
- var resultString = assertTopLeftMatch (regionRect, testRect);
-
- if (window.testRunner)
- document.getElementById("test").innerText="";
- var resultDiv = document.getElementById("result");
- resultDiv.innerText = resultString;
-</script>

Powered by Google App Engine
This is Rietveld 408576698