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

Side by Side Diff: LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml

Issue 220853002: SVG does not respect overflow:visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 8 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 <!-- 1 <!--
2 Verify default overflow rules for the outermost <svg> element in non-standalone documents. 2 Verify default overflow rules for the outermost <svg> element in non-standalone documents.
3 You should see a 400x400 green rectangle, not covering the whole screen size. 3 The green rectangle should cover the entire screen, since no clipping is done f or overflow:visible.
4 4
5 Spec reference: 5 Spec reference:
6 When an outermost 'svg' element is embedded inline within a parent XML grammar which uses CSS layout [CSS2-LAYOUT] 6 When an outermost 'svg' element is embedded inline within a parent XML grammar which uses CSS layout [CSS2-LAYOUT]
7 or XSL formatting [XSL], if the 'overflow' property has the value hidden or scr oll, then the user agent will establish 7 or XSL formatting [XSL], if the 'overflow' property has the value hidden or scr oll, then the user agent will establish
8 an initial clipping path equal to the bounds of the initial viewport; otherwise , the initial clipping path is set 8 an initial clipping path equal to the bounds of the initial viewport; otherwise , the initial clipping path is set
9 according to the clipping rules as defined in [CSS2-overflow]. 9 according to the clipping rules as defined in [CSS2-overflow].
10 --> 10 -->
11 <html> 11 <html>
12 <body> 12 <body>
13 <svg xmlns="http://www.w3.org/2000/svg" style="overflow: visible" width="400" he ight="400"> 13 <svg xmlns="http://www.w3.org/2000/svg" style="overflow: visible" width="400" he ight="400">
14 <rect width="4000" height="4000" fill="green"/> 14 <rect width="4000" height="4000" fill="green"/>
15 </svg> 15 </svg>
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698