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

Side by Side Diff: LayoutTests/svg/text/select-text-inside-non-static-position.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 * { 5 * {
6 position: absolute; 6 position: absolute;
7 -webkit-transform: scaleX(2); 7 transform: scaleX(2);
8 } 8 }
9 </style> 9 </style>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p id="description">This tests selecting text inside a non-statically positioned SVG content. This test passes if it does not crash.</p> 12 <p id="description">This tests selecting text inside a non-statically positioned SVG content. This test passes if it does not crash.</p>
13 <svg style="width: 50px; height: 50px; border: 1px solid black;"> 13 <svg style="width: 50px; height: 50px; border: 1px solid black;">
14 <text>svg text</text> 14 <text>svg text</text>
15 </svg> 15 </svg>
16 <script> 16 <script>
17 if (window.testRunner) 17 if (window.testRunner)
18 testRunner.dumpAsText(); 18 testRunner.dumpAsText();
19 19
20 document.execCommand("SelectAll"); 20 document.execCommand("SelectAll");
21 21
22 document.querySelector('style').remove(); 22 document.querySelector('style').remove();
23 document.write('PASS'); 23 document.write('PASS');
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698