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

Unified Diff: LayoutTests/fast/multicol/vertical-lr/image-inside-nested-blocks-with-border.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/vertical-lr/image-inside-nested-blocks-with-border.html
diff --git a/LayoutTests/fast/multicol/vertical-lr/image-inside-nested-blocks-with-border.html b/LayoutTests/fast/multicol/vertical-lr/image-inside-nested-blocks-with-border.html
deleted file mode 100644
index 3ea6fc6fe5b6c6cdce5471e681f1edf29d5ac474..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/multicol/vertical-lr/image-inside-nested-blocks-with-border.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<html>
-<body style="-webkit-writing-mode: vertical-lr">
-<div id="tests" style="-webkit-column-count:2; -webkit-column-gap:0; column-count:2; column-gap:0; column-fill:auto; width:300px; height:600px;">
-<div style="width:280px"></div>
-<div id="f1" style="border:5px solid black; float:left">
-<img style="display:block;height:140px;width:80px;">
-</div>
-</div>
-<div id="result"></div>
-<script>
- function floatOffset(float)
- {
- var parentRect = document.getElementById('tests').getBoundingClientRect();
- var rect = float.getBoundingClientRect();
- return { width: rect.left - parentRect.left, height: rect.top - parentRect.top };
- }
-
- var tests = [
- ["f1", 0, 300]
- ];
-
- var test;
- var failures = 0;
- while (test = tests.shift()) {
- var float = document.getElementById(test[0]);
- var result = floatOffset(float);
- var passed = result.width === test[1] && result.height === test[2]
- float.style.backgroundColor = passed ? "green" : "red";
- if (!passed)
- failures++
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
- document.getElementById("tests").style.display = "none";
- }
-
- document.getElementById("result").innerText = failures ? "FAIL: " + failures + " cases failed" : "PASS";
-</script>
-
-
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698