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

Side by Side Diff: LayoutTests/fast/regions/selection/selecting-text-in-empty-region.html

Issue 25868002: [CSS Regions] Selection layout tests moved to specific folder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 body { font: 20px/1 monospace; margin: 20px; } 5 body { font: 20px/1 monospace; margin: 20px; }
6 #region { -webkit-flow-from: undefined; width: 100px; height: 100px; border: 10px solid blue; } 6 #region { -webkit-flow-from: undefined; width: 100px; height: 100px; border: 10px solid blue; }
7 </style> 7 </style>
8 </head> 8 </head>
9 <body> 9 <body>
10 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=107752"> [C SS Regions] Selecting text inside an empty region causes selection outside the r egion area</a>.</p> 10 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=107752"> [C SS Regions] Selecting text inside an empty region causes selection outside the r egion area</a>.</p>
(...skipping 15 matching lines...) Expand all
26 eventSender.mouseMoveTo(startPositionX, startPositionY); 26 eventSender.mouseMoveTo(startPositionX, startPositionY);
27 eventSender.mouseDown(); 27 eventSender.mouseDown();
28 eventSender.mouseMoveTo(endPositionX, endPositionY); 28 eventSender.mouseMoveTo(endPositionX, endPositionY);
29 eventSender.mouseUp(); 29 eventSender.mouseUp();
30 30
31 document.getElementById("result").innerHTML = (selection.toStrin g().length == 0) ? "PASS" : "FAIL"; 31 document.getElementById("result").innerHTML = (selection.toStrin g().length == 0) ? "PASS" : "FAIL";
32 } 32 }
33 </script> 33 </script>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698