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

Unified Diff: LayoutTests/fast/multicol/break-properties.html

Issue 299373006: Move old multicol tests to a separate directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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/multicol/break-properties.html
diff --git a/LayoutTests/fast/multicol/break-properties.html b/LayoutTests/fast/multicol/break-properties.html
deleted file mode 100644
index e1a32b37ac984777a5feda84a42a3849c2f88f91..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/multicol/break-properties.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<style>
- div.box { -webkit-box-sizing: border; border: solid blue; }
- div.shorter { height: 54px; }
- div.taller { height: 72px; }
-</style>
-<div style="height: 100px; width: 630; -webkit-columns:6; -webkit-column-gap:5px; columns:6; column-gap:5px;">
- <div class="taller box"></div>
- <div class="taller box"></div>
- <div id="break-before" class="shorter box" style="-webkit-column-break-before: always;"></div>
- <div class="shorter box" style="-webkit-column-break-after: always;"></div>
- <div id="after-break" class="shorter box"></div>
- <div id="no-break" class="shorter box" style="-webkit-column-break-inside: avoid;"></div>
-</div>
-<pre id="console"></pre>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function log(message)
- {
- document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
- }
-
- function testBoxPosition(id, expectedLeft, expectedTop)
- {
- var rect = document.getElementById(id).getBoundingClientRect();
- if (Math.round(rect.left) === expectedLeft && Math.round(rect.top) === expectedTop)
- log("PASS: '" + id + "' is at (" + expectedLeft + ", " + expectedTop + ")");
- else
- log("FAIL: '" + id + "' is at (" + Math.round(rect.left) + ", " + Math.round(rect.top) + ") instead of (" + expectedLeft + " ," + expectedTop + ")");
- }
-
- testBoxPosition("break-before", 220, 8);
- testBoxPosition("after-break", 431, 8);
- testBoxPosition("no-break", 537, 8);
-</script>

Powered by Google App Engine
This is Rietveld 408576698