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

Side by Side Diff: LayoutTests/fast/multicol/hit-test-gap-block-axis.html

Issue 201573009: Remove -webkit-column-progression and -webkit-column-axis properties. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master (fixed the DOS-style line break issue there) Created 6 years, 9 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
(Empty)
1 <!DOCTYPE html>
2 <p id="result">
3 FAIL: Test did not run.
4 </p>
5 <div id="target" style="
6 outline: dashed lightblue;
7 width: 200px;
8 -webkit-column-axis: vertical;
9 -webkit-column-gap: 100px;
10 height: 90px;
11 font: 20px ahem;
12 color: rgba(0, 0, 0, 0.5);
13 ">Lorem ipsum dolor sit amet consectetur elit.</div>
14 <script>
15 if (window.testRunner)
16 testRunner.dumpAsText();
17
18 // Clicking in the gap after the first column should not select anything fro m the second column.
19 var target = document.getElementById("target");
20 var hitOffset = document.caretRangeFromPoint(target.offsetLeft + 45, target. offsetTop + 115).startOffset;
21 document.getElementById("result").innerText = hitOffset === 26 || hitOffset === 24 ? "PASS" : "FAIL: hit offset " + hitOffset + ".";
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698