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

Side by Side Diff: LayoutTests/fast/transforms/selection-bounds-in-transformed-view.html

Issue 640023002: The selection bounds should be clipped to the viewport (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline a test. Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/transforms/selection-bounds-in-transformed-view-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <body style="font: 20px Ahem; margin: 0;"> 1 <body style="font: 20px Ahem; margin: 0;">
2 <div id="result" style="outline: solid blue; height: 100px; width: 100px; -w ebkit-transform: translatez(0)"></div> 2 <div id="result" style="outline: solid blue; height: 100px; width: 100px; -w ebkit-transform: translatez(0)"></div>
3 <div style="height: 900px"></div> 3 <div style="height: 900px"></div>
4 <div style="height: 100px;">target</div> 4 <div style="height: 100px;">target</div>
5 <div style="height: 1000px;"></div> 5 <div style="height: 1000px;"></div>
6 <script> 6 <script>
7 if (window.testRunner && window.eventSender) { 7 if (window.testRunner && window.eventSender) {
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 window.eventSender.setPageScaleFactor(2, 0, 0); 9 window.eventSender.setPageScaleFactor(2, 0, 0);
10 } 10 }
11 11
12 document.execCommand("FindString", false, "target"); 12 document.execCommand("FindString", false, "target");
13 document.getElementById("result").innerText = document.body.scrollTop == = 864 ? "PASS" : "FAIL"; 13 document.getElementById("result").innerText = document.body.scrollTop == = 863.5 ? "PASS" : "FAIL (scrollTop:" + document.body.scrollTop + ")";
14 </script> 14 </script>
15 </body> 15 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/transforms/selection-bounds-in-transformed-view-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698