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

Side by Side Diff: LayoutTests/fast/multicol/old/gap-non-negative.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 unified diff | Download patch
OLDNEW
1 <p> 1 <p>
2 Test for <i><a href="rdar://problem/5962118">rdar://problem/5962118</a> Cras h in RenderBlock::calcColumnWidth()</i>. 2 Test for <i><a href="rdar://problem/5962118">rdar://problem/5962118</a> Cras h in RenderBlock::calcColumnWidth()</i>.
3 </p> 3 </p>
4 <p> 4 <p>
5 This tests that the <tt>column-gap</tt> property does not allow negative val ues. 5 This tests that the <tt>column-gap</tt> property does not allow negative val ues.
6 </p> 6 </p>
7 <p id = "result"></p> 7 <p id = "result"></p>
8 <div id="target" style="-webkit-column-count: 4; -webkit-column-gap: -10px;"></d iv> 8 <div id="target" style="-webkit-column-count: 4; -webkit-column-gap: -10px;"></d iv>
9 <script> 9 <script>
10 if (window.testRunner) 10 if (window.testRunner)
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 12
13 var style = getComputedStyle(document.getElementById("target")); 13 var style = getComputedStyle(document.getElementById("target"));
14 var columnGap = style.getPropertyValue("-webkit-column-gap"); 14 var columnGap = style.getPropertyValue("-webkit-column-gap");
15 document.getElementById("result").innerText = (columnGap == "0" || columnGap == "normal") ? "PASS" : "FAIL: column-gap is " + columnGap; 15 document.getElementById("result").innerText = (columnGap == "0" || columnGap == "normal") ? "PASS" : "FAIL: column-gap is " + columnGap;
16 </script> 16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698