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

Side by Side Diff: Source/web/tests/data/composited_selection_bounds_transformed.html

Issue 454643002: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix bug in tests Created 6 years, 3 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
OLDNEW
(Empty)
1 <style>
2 @font-face {
3 font-family: ahem;
4 src: url(Ahem.ttf);
5 }
6 * {
7 font-family: ahem;
8 }
9 #text {
10 transform: rotate(30deg);
11 }
12 </style>
13 <div id="text">The quick brown fox jumped over the lazy dog.</div>
14 <script>
15 var range = document.createRange();
16 var textNode = document.getElementById("text").firstChild;
17 range.setStart(textNode, 10);
18 range.setEnd(textNode, 25);
19 document.getSelection().addRange(range);
20
21 window.expectedResult = [document, 157, -87, 151, -77, document, 313, 3, 307 , 13];
22 </script>
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698