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

Side by Side Diff: LayoutTests/svg/text/foreignObject-text-clipping-bug.xml

Issue 1167033002: Remove layout tests that run execCommand on non-HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix doctype Created 5 years, 6 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 | « LayoutTests/svg/text/foreignObject-repaint.xml ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 2 <head>
3 <title>foreignObject can be transformed</title> 3 <title>foreignObject can be transformed</title>
4 <style type="text/css"> 4 <style type="text/css">
5 p, div { color: navy; margin: 10px 0; } 5 p, div { color: navy; margin: 10px 0; }
6 .test { fill: lightgray; font-size: 10px; } 6 .test { fill: lightgray; font-size: 10px; }
7 .control { position: relative; left: 10px; top: 10px; width: 390px; heig ht: 110px; background: lightgray; font-size: 100px; } 7 .control { position: relative; left: 10px; top: 10px; width: 390px; heig ht: 110px; background: lightgray; font-size: 100px; }
8 .controlText { font-size: 100px; } 8 .controlText { font-size: 100px; }
9 </style> 9 </style>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p>The word "TEST " should appear twice below, the same size each time.</p> 12 <p>The word "TEST " should appear twice below, the same size each time.</p>
13 <svg xmlns="http://www.w3.org/2000/svg" width="400" height="120" class="test "> 13 <svg xmlns="http://www.w3.org/2000/svg" width="400" height="120" class="test ">
14 <rect x="1" y="1" width="60" height="12" transform="scale(10)"/> 14 <rect x="1" y="1" width="60" height="12" transform="scale(10)"/>
15 <foreignObject x="1" y="1" width="60" height="10" transform="scale(10)"> 15 <foreignObject x="1" y="1" width="60" height="10" transform="scale(10)">
16 <div xmlns="http://www.w3.org/1999/xhtml"> TEST </div> 16 <div xmlns="http://www.w3.org/1999/xhtml"> TEST </div>
17 </foreignObject> 17 </foreignObject>
18 </svg> 18 </svg>
19 <div class="control"> 19 <div class="control">
20 <div class="controlText">TEST</div> 20 <div class="controlText">TEST</div>
21 </div> 21 </div>
22 <script> 22 <script>
23 if (window.testRunner) 23 if (window.testRunner)
24 window.testRunner.dumpSelectionRect(); 24 window.testRunner.dumpSelectionRect();
25 document.execCommand("SelectAll"); 25 var range = document.createRange();
26 range.selectNode(window.document.documentElement);
27 var selection = window.getSelection();
28 selection.removeAllRanges();
29 selection.addRange(range);
26 </script> 30 </script>
27 </body> 31 </body>
28 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/text/foreignObject-repaint.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698