<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[168543] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/168543">168543</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2014-05-09 12:05:33 -0700 (Fri, 09 May 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>ASSERTION FAILED: object-&gt;style()-&gt;overflowX() == object-&gt;style()-&gt;overflowY()
https://bugs.webkit.org/show_bug.cgi?id=121682

Patch by Zsolt Borbely &lt;zsborbely.u-szeged@partner.samsung.com&gt; on 2014-05-09
Reviewed by Dirk Schulze.

Source/WebCore:
Add more overflow freedom to the SVG element:
-overflow-x and overflow-y for controlling each scrollbar independently is now supported
-overflow:scroll will display scrollbars regardless of the svg overflowing or not (as required by CSS)
-overflow:hidden will cause overflow to be clipped away and scrollbars to be hidden

Merged from Blink <a href="http://trac.webkit.org/projects/webkit/changeset/172126">r172126</a> by &lt;ed@opera.com&gt;

Tests: svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg
       svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg
       svg/animations/animate-viewport-overflow-2.html
       svg/animations/animate-viewport-overflow.html
       svg/in-html/overflow-repaint.html
       svg/in-html/overflow-svg-root-attr.html
       svg/in-html/overflow-svg-root-style.html
       svg/in-html/overflow-svg-root.html
       svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg
       svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg
       svg/overflow/overflow-scroll-on-outermost-svg-element.svg
       svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg
       svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg
       svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg
       svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg

* css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle):
* page/FrameView.cpp:
(WebCore::FrameView::applyOverflowToViewport):
* rendering/svg/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::layout):
(WebCore::RenderSVGRoot::shouldApplyViewportClip):
(WebCore::RenderSVGRoot::paintReplaced):
(WebCore::RenderSVGRoot::computeFloatRectForRepaint):
* rendering/svg/RenderSVGRoot.h:
* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::isOverflowHidden):

LayoutTests:
Merge Blink <a href="http://trac.webkit.org/projects/webkit/changeset/172126">r172126</a> by Erik Dahlström.

* platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt:
* platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png:
* platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt:
* platform/mac/svg/text/non-bmp-positioning-lists-expected.txt: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.png: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.txt: Added.
* svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg: Added.
* svg/animations/animate-viewport-overflow-2-expected.txt: Added.
* svg/animations/animate-viewport-overflow-2.html: Added.
* svg/animations/animate-viewport-overflow-expected.txt: Added.
* svg/animations/animate-viewport-overflow.html: Added.
* svg/in-html/overflow-repaint-expected.txt: Added.
* svg/in-html/overflow-repaint.html: Added.
* svg/in-html/overflow-svg-root-attr-expected.html: Added.
* svg/in-html/overflow-svg-root-attr.html: Added.
* svg/in-html/overflow-svg-root-expected.html: Added.
* svg/in-html/overflow-svg-root-style-expected.html: Added.
* svg/in-html/overflow-svg-root-style.html: Added.
* svg/in-html/overflow-svg-root.html: Added.
* svg/overflow/overflow-on-outermost-svg-element-horizontal-auto-expected.html: Added.
* svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg: Added.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt:
* svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png:
* svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt: Copied from LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml:
* svg/overflow/overflow-on-outermost-svg-element-vertical-auto-expected.html: Added.
* svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg: Added.
* svg/overflow/overflow-scroll-on-outermost-svg-element-expected.txt: Added.
* svg/overflow/overflow-scroll-on-outermost-svg-element.svg: Added.
* svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg: Added.
* svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg: Added.
* svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg: Added.
* svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg: Added.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformeflsvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedtxt">trunk/LayoutTests/platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacsvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedpng">trunk/LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformmacsvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedtxt">trunk/LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementignoreattribute1expectedtxt">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedpng">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementinxhtmlvisiblexhtml">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolvercpp">trunk/Source/WebCore/css/StyleResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorepageFrameViewcpp">trunk/Source/WebCore/page/FrameView.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGRootcpp">trunk/Source/WebCore/rendering/svg/RenderSVGRoot.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGRooth">trunk/Source/WebCore/rendering/svg/RenderSVGRoot.h</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGRenderSupportcpp">trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsplatformmacsvgtextnonbmppositioninglistsexpectedtxt">trunk/LayoutTests/platform/mac/svg/text/non-bmp-positioning-lists-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgW3CSVG11SEpaintingmarker05fexpectedpng">trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png</a></li>
<li><a href="#trunkLayoutTestssvgW3CSVG11SEpaintingmarker05fexpectedtxt">trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgW3CSVG11SEpaintingmarker05fsvg">trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg</a></li>
<li><a href="#trunkLayoutTestssvgW3CSVG11SEpaintingmarker06fexpectedpng">trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.png</a></li>
<li><a href="#trunkLayoutTestssvgW3CSVG11SEpaintingmarker06fexpectedtxt">trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgW3CSVG11SEpaintingmarker06fsvg">trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg</a></li>
<li><a href="#trunkLayoutTestssvganimationsanimateviewportoverflow2expectedtxt">trunk/LayoutTests/svg/animations/animate-viewport-overflow-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvganimationsanimateviewportoverflow2html">trunk/LayoutTests/svg/animations/animate-viewport-overflow-2.html</a></li>
<li><a href="#trunkLayoutTestssvganimationsanimateviewportoverflowexpectedtxt">trunk/LayoutTests/svg/animations/animate-viewport-overflow-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvganimationsanimateviewportoverflowhtml">trunk/LayoutTests/svg/animations/animate-viewport-overflow.html</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowrepaintexpectedtxt">trunk/LayoutTests/svg/in-html/overflow-repaint-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowrepainthtml">trunk/LayoutTests/svg/in-html/overflow-repaint.html</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowsvgrootattrexpectedhtml">trunk/LayoutTests/svg/in-html/overflow-svg-root-attr-expected.html</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowsvgrootattrhtml">trunk/LayoutTests/svg/in-html/overflow-svg-root-attr.html</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowsvgrootexpectedhtml">trunk/LayoutTests/svg/in-html/overflow-svg-root-expected.html</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowsvgrootstyleexpectedhtml">trunk/LayoutTests/svg/in-html/overflow-svg-root-style-expected.html</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowsvgrootstylehtml">trunk/LayoutTests/svg/in-html/overflow-svg-root-style.html</a></li>
<li><a href="#trunkLayoutTestssvginhtmloverflowsvgroothtml">trunk/LayoutTests/svg/in-html/overflow-svg-root.html</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementhorizontalautoexpectedhtml">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto-expected.html</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementhorizontalautosvg">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedtxt">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementverticalautoexpectedhtml">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto-expected.html</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementverticalautosvg">trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowscrollonoutermostsvgelementexpectedtxt">trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowscrollonoutermostsvgelementsvg">trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element.svg</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowxhiddenonoutermostsvgelementexpectedsvg">trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowxhiddenonoutermostsvgelementsvg">trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowyhiddenonoutermostsvgelementexpectedsvg">trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgoverflowoverflowyhiddenonoutermostsvgelementsvg">trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/LayoutTests/ChangeLog        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -1,3 +1,49 @@
</span><ins>+2014-05-09  Zsolt Borbely  &lt;zsborbely.u-szeged@partner.samsung.com&gt;
+
+        ASSERTION FAILED: object-&gt;style()-&gt;overflowX() == object-&gt;style()-&gt;overflowY()
+        https://bugs.webkit.org/show_bug.cgi?id=121682
+
+        Reviewed by Dirk Schulze.
+
+        Merge Blink r172126 by Erik Dahlström.
+
+        * platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt:
+        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png:
+        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt:
+        * platform/mac/svg/text/non-bmp-positioning-lists-expected.txt: Added.
+        * svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png: Added.
+        * svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt: Added.
+        * svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg: Added.
+        * svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.png: Added.
+        * svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.txt: Added.
+        * svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg: Added.
+        * svg/animations/animate-viewport-overflow-2-expected.txt: Added.
+        * svg/animations/animate-viewport-overflow-2.html: Added.
+        * svg/animations/animate-viewport-overflow-expected.txt: Added.
+        * svg/animations/animate-viewport-overflow.html: Added.
+        * svg/in-html/overflow-repaint-expected.txt: Added.
+        * svg/in-html/overflow-repaint.html: Added.
+        * svg/in-html/overflow-svg-root-attr-expected.html: Added.
+        * svg/in-html/overflow-svg-root-attr.html: Added.
+        * svg/in-html/overflow-svg-root-expected.html: Added.
+        * svg/in-html/overflow-svg-root-style-expected.html: Added.
+        * svg/in-html/overflow-svg-root-style.html: Added.
+        * svg/in-html/overflow-svg-root.html: Added.
+        * svg/overflow/overflow-on-outermost-svg-element-horizontal-auto-expected.html: Added.
+        * svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg: Added.
+        * svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt:
+        * svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png:
+        * svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt: Copied from LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt.
+        * svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml:
+        * svg/overflow/overflow-on-outermost-svg-element-vertical-auto-expected.html: Added.
+        * svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg: Added.
+        * svg/overflow/overflow-scroll-on-outermost-svg-element-expected.txt: Added.
+        * svg/overflow/overflow-scroll-on-outermost-svg-element.svg: Added.
+        * svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg: Added.
+        * svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg: Added.
+        * svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg: Added.
+        * svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg: Added.
+
</ins><span class="cx"> 2014-05-09  Alexey Proskuryakov  &lt;ap@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         REGRESSION (r168448): fast/multicol/newmulticol/first-letter-create.html is very flaky
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflsvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/LayoutTests/platform/efl/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">   RenderBlock {html} at (0,0) size 800x404
</span><span class="cx">     RenderInline {body} at (0,0) size 400x17
</span><span class="cx">       RenderText {#text} at (0,0) size 0x0
</span><del>-      RenderSVGRoot {svg} at (0,0) size 400x400
-        RenderSVGRect {rect} at (0,0) size 400x400 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
</del><ins>+      RenderSVGRoot {svg} at (0,0) size 4000x4000
+        RenderSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
</ins><span class="cx">       RenderText {#text} at (0,0) size 0x0
</span><span class="cx">     RenderText {#text} at (0,0) size 0x0
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacsvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedpng"></a>
<div class="binary"><h4>Modified: trunk/LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacsvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx">   RenderBlock {html} at (0,0) size 800x404
</span><span class="cx">     RenderInline {body} at (0,0) size 400x18
</span><span class="cx">       RenderText {#text} at (0,0) size 0x0
</span><del>-      RenderSVGRoot {svg} at (0,0) size 400x400
-        RenderSVGRect {rect} at (0,0) size 400x400 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
</del><ins>+      RenderSVGRoot {svg} at (0,0) size 4000x4000
+        RenderSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
</ins><span class="cx">       RenderText {#text} at (0,0) size 0x0
</span><span class="cx">     RenderText {#text} at (0,0) size 0x0
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacsvgtextnonbmppositioninglistsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/mac/svg/text/non-bmp-positioning-lists-expected.txt (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/svg/text/non-bmp-positioning-lists-expected.txt                                (rev 0)
+++ trunk/LayoutTests/platform/mac/svg/text/non-bmp-positioning-lists-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderSVGRoot {svg} at (50,58) size 709x225
+    RenderSVGText {text} at (50,58) size 709x225 contains 1 chunk(s)
+      RenderSVGInlineText {#text} at (0,0) size 709x224
+        chunk 1 text run 1 at (50.00,240.00) startOffset 0 endOffset 2 width 159.00: &quot;\x{D835}\x{DC9E}&quot;
+        chunk 1 text run 1 at (600.00,240.00) startOffset 0 endOffset 2 width 159.00: &quot;\x{D835}\x{DC9E}&quot;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgW3CSVG11SEpaintingmarker05fexpectedpng"></a>
<div class="binary"><h4>Added: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestssvgW3CSVG11SEpaintingmarker05fexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,102 @@
</span><ins>+layer at (0,0) size 480x360
+  RenderView at (0,0) size 480x360
+layer at (0,0) size 480x360
+  RenderSVGRoot {svg} at (0,0) size 480x360
+    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+    RenderSVGContainer {g} at (38,37) size 417x247
+      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+        RenderSVGResourceMarker {marker} [id=&quot;marker1&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;marker2&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=auto]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;markerStart&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;markerMiddle&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGEllipse {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=7.00]
+        RenderSVGResourceMarker {marker} [id=&quot;markerEnd&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=0.00]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;vmarker1&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;vmarker2&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=auto]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;vmarkerStart&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;vmarkerMiddle&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGEllipse {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=7.00]
+        RenderSVGResourceMarker {marker} [id=&quot;vmarkerEnd&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=0.00]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;amarker1&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;amarker2&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=auto]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;amarkerStart&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;amarkerMiddle&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGEllipse {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=7.00]
+        RenderSVGResourceMarker {marker} [id=&quot;amarkerEnd&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=0.00]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;smarker1&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;smarker2&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=auto]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;smarkerStart&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;smarkerMiddle&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGEllipse {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=7.00]
+        RenderSVGResourceMarker {marker} [id=&quot;smarkerEnd&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=0.00]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;hmarker1&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;hmarker2&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=auto]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;hmarkerStart&quot;] [markerUnits=strokeWidth] [ref at (7.50,7.50)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 3x3 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=15.00] [height=15.00]
+        RenderSVGResourceMarker {marker} [id=&quot;hmarkerMiddle&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGEllipse {circle} at (0,0) size 3x3 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=7.00]
+        RenderSVGResourceMarker {marker} [id=&quot;hmarkerEnd&quot;] [markerUnits=strokeWidth] [ref at (10,10)] [angle=0.00]
+          RenderSVGPath {path} at (0,0) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 10 0 L 20 20 L 0 20 Z&quot;]
+      RenderSVGText {text} at (156,37) size 168x22 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 168x21
+          chunk 1 (middle anchor) text run 1 at (156.00,54.00) startOffset 0 endOffset 20 width 168.00: &quot;Test marker overflow&quot;
+      RenderSVGContainer {g} at (38,267) size 417x17 [transform={m=((1.00,0.00)(0.00,1.00)) t=(0.00,280.00)}]
+        RenderSVGText {text} at (38,-13) size 44x17 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 43x16
+            chunk 1 (middle anchor) text run 1 at (38.50,0.00) startOffset 0 endOffset 7 width 43.00: &quot;default&quot;
+        RenderSVGText {text} at (132,-13) size 46x17 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 45x16
+            chunk 1 (middle anchor) text run 1 at (132.50,0.00) startOffset 0 endOffset 9 width 45.00: &quot;'visible'&quot;
+        RenderSVGText {text} at (228,-13) size 34x17 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 34x16
+            chunk 1 (middle anchor) text run 1 at (228.00,0.00) startOffset 0 endOffset 6 width 34.00: &quot;'auto'&quot;
+        RenderSVGText {text} at (320,-13) size 40x17 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 39x16
+            chunk 1 (middle anchor) text run 1 at (320.50,0.00) startOffset 0 endOffset 8 width 39.00: &quot;'scroll'&quot;
+        RenderSVGText {text} at (405,-13) size 50x17 contains 1 chunk(s)
+          RenderSVGInlineText {#text} at (0,0) size 49x16
+            chunk 1 (middle anchor) text run 1 at (405.50,0.00) startOffset 0 endOffset 8 width 49.00: &quot;'hidden'&quot;
+      RenderSVGContainer {g} at (38,91) size 414x162 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-30.00,75.00)}]
+        RenderSVGContainer {g} at (38,91) size 54x162 [transform={m=((0.60,0.00)(0.00,0.60)) t=(0.00,0.00)}]
+          RenderSVGPath {path} at (40,91) size 46x46 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [data=&quot;M 130 40 L 180 40 L 180 90&quot;]
+          RenderSVGPath {path} at (40,148) size 48x48 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=markerStart] [middle marker=markerMiddle] [end marker=markerEnd] [data=&quot;M 130 135 L 180 135 L 180 185&quot;]
+          RenderSVGPath {path} at (38,199) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=marker2] [middle marker=marker2] [end marker=marker2] [data=&quot;M 130 230 L 180 230 L 180 280&quot;]
+        RenderSVGContainer {g} at (128,91) size 54x162 [transform={m=((0.60,0.00)(0.00,0.60)) t=(90.00,0.00)}]
+          RenderSVGPath {path} at (130,91) size 46x46 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=vmarker1] [middle marker=vmarker1] [end marker=vmarker1] [data=&quot;M 130 40 L 180 40 L 180 90&quot;]
+          RenderSVGPath {path} at (130,148) size 48x48 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=vmarkerStart] [middle marker=vmarkerMiddle] [end marker=vmarkerEnd] [data=&quot;M 130 135 L 180 135 L 180 185&quot;]
+          RenderSVGPath {path} at (128,199) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=vmarker2] [middle marker=vmarker2] [end marker=vmarker2] [data=&quot;M 130 230 L 180 230 L 180 280&quot;]
+        RenderSVGContainer {g} at (218,91) size 54x162 [transform={m=((0.60,0.00)(0.00,0.60)) t=(180.00,0.00)}]
+          RenderSVGPath {path} at (220,91) size 46x46 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=amarker1] [middle marker=amarker1] [end marker=amarker1] [data=&quot;M 130 40 L 180 40 L 180 90&quot;]
+          RenderSVGPath {path} at (220,148) size 48x48 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=amarkerStart] [middle marker=amarkerMiddle] [end marker=amarkerEnd] [data=&quot;M 130 135 L 180 135 L 180 185&quot;]
+          RenderSVGPath {path} at (218,199) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=amarker2] [middle marker=amarker2] [end marker=amarker2] [data=&quot;M 130 230 L 180 230 L 180 280&quot;]
+        RenderSVGContainer {g} at (308,91) size 54x162 [transform={m=((0.60,0.00)(0.00,0.60)) t=(270.00,0.00)}]
+          RenderSVGPath {path} at (310,91) size 46x46 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=smarker1] [middle marker=smarker1] [end marker=smarker1] [data=&quot;M 130 40 L 180 40 L 180 90&quot;]
+          RenderSVGPath {path} at (310,148) size 48x48 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=smarkerStart] [middle marker=smarkerMiddle] [end marker=smarkerEnd] [data=&quot;M 130 135 L 180 135 L 180 185&quot;]
+          RenderSVGPath {path} at (308,199) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=smarker2] [middle marker=smarker2] [end marker=smarker2] [data=&quot;M 130 230 L 180 230 L 180 280&quot;]
+        RenderSVGContainer {g} at (398,91) size 54x162 [transform={m=((0.60,0.00)(0.00,0.60)) t=(360.00,0.00)}]
+          RenderSVGPath {path} at (400,91) size 46x46 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=hmarker1] [middle marker=hmarker1] [end marker=hmarker1] [data=&quot;M 130 40 L 180 40 L 180 90&quot;]
+          RenderSVGPath {path} at (400,148) size 48x48 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=hmarkerStart] [middle marker=hmarkerMiddle] [end marker=hmarkerEnd] [data=&quot;M 130 135 L 180 135 L 180 185&quot;]
+          RenderSVGPath {path} at (398,199) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=hmarker2] [middle marker=hmarker2] [end marker=hmarker2] [data=&quot;M 130 230 L 180 230 L 180 280&quot;]
+    RenderSVGContainer {g} at (10,310) size 231x38
+      RenderSVGText {text} at (10,310) size 231x38 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 231x37
+          chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 231.00: &quot;$Revision: 1.7 $&quot;
+    RenderSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
</ins></span></pre></div>
<a id="trunkLayoutTestssvgW3CSVG11SEpaintingmarker05fsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg                                (rev 0)
+++ trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,240 @@
</span><ins>+&lt;svg version=&quot;1.1&quot; baseProfile=&quot;full&quot; id=&quot;svg-root&quot;
+  width=&quot;100%&quot; height=&quot;100%&quot; viewBox=&quot;0 0 480 360&quot;
+  xmlns=&quot;http://www.w3.org/2000/svg&quot; xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;
+  &lt;!--======================================================================--&gt;
+  &lt;!--=  SVG 1.1 2nd Edition Test Case                                     =--&gt;
+  &lt;!--======================================================================--&gt;
+  &lt;!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =--&gt;
+  &lt;!--=  Institute of Technology, European Research Consortium for         =--&gt;
+  &lt;!--=  Informatics and Mathematics (ERCIM), Keio University).            =--&gt;
+  &lt;!--=  All Rights Reserved.                                              =--&gt;
+  &lt;!--=  See http://www.w3.org/Consortium/Legal/.                          =--&gt;
+  &lt;!--======================================================================--&gt;
+  &lt;d:SVGTestCase xmlns:d=&quot;http://www.w3.org/2000/02/svg/testsuite/description/&quot;
+    template-version=&quot;1.4&quot; reviewer=&quot;DOH&quot; author=&quot;ED&quot; status=&quot;accepted&quot;
+    version=&quot;$Revision: 1.7 $&quot; testname=&quot;$RCSfile: painting-marker-05-f.svg,v $&quot;&gt;
+    &lt;d:testDescription xmlns=&quot;http://www.w3.org/1999/xhtml&quot; href=&quot;http://www.w3.org/TR/SVG11/painting.html#Markers&quot;&gt;
+        &lt;p&gt;
+          Test all the 'overflow' property values except 'inherit' on the 'marker' element.
+        &lt;/p&gt;
+        &lt;p&gt;
+          Each column tests a value of the 'overflow' property.
+          The first row uses the 'marker' property to set the same marker on start-, mid- and end-points on the path.
+          The second row uses 'marker-start', 'marker-mid' and 'marker-end' to give each point its own marker.
+          The third row uses the 'marker' property like the first row, but here the marker has orient=&quot;auto&quot; set.
+        &lt;/p&gt;
+    &lt;/d:testDescription&gt;
+    &lt;d:operatorScript xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+      &lt;p&gt;
+        Run the test. No interaction required.
+      &lt;/p&gt;
+    &lt;/d:operatorScript&gt;
+    &lt;d:passCriteria xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+      &lt;p&gt;
+        The test has passed if:
+
+        The columns labeled 'visible' and 'auto' show markers without clipping them.
+        All other columns show clipped markers.
+        The rendered picture matches the reference image, except for possible
+        variations in the labelling text (per CSS2 rules).
+      &lt;/p&gt;
+    &lt;/d:passCriteria&gt;
+  &lt;/d:SVGTestCase&gt;
+  &lt;title id=&quot;test-title&quot;&gt;$RCSfile: painting-marker-05-f.svg,v $&lt;/title&gt;
+  &lt;defs&gt;
+    &lt;font-face font-family=&quot;SVGFreeSansASCII&quot; unicode-range=&quot;U+0-7F&quot;&gt;
+      &lt;font-face-src&gt;
+        &lt;font-face-uri xlink:href=&quot;../resources/SVGFreeSans.svg#ascii&quot;/&gt;
+      &lt;/font-face-src&gt;
+    &lt;/font-face&gt;
+  &lt;/defs&gt;
+  &lt;g id=&quot;test-body-content&quot; font-family=&quot;SVGFreeSansASCII,sans-serif&quot; font-size=&quot;18&quot;&gt;
+    &lt;defs&gt;
+      &lt;marker id=&quot;marker1&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;marker2&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; orient=&quot;auto&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;markerStart&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;markerMiddle&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+        &lt;circle cx=&quot;5&quot; cy=&quot;5&quot; r=&quot;7&quot; fill=&quot;green&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;markerEnd&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+
+      &lt;marker id=&quot;vmarker1&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;visible&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;vmarker2&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; orient=&quot;auto&quot; overflow=&quot;visible&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;vmarkerStart&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;visible&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;vmarkerMiddle&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;visible&quot;&gt;
+        &lt;circle cx=&quot;5&quot; cy=&quot;5&quot; r=&quot;7&quot; fill=&quot;green&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;vmarkerEnd&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;visible&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+
+      &lt;marker id=&quot;amarker1&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;auto&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;amarker2&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; orient=&quot;auto&quot; overflow=&quot;auto&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;amarkerStart&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;auto&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;amarkerMiddle&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;auto&quot;&gt;
+        &lt;circle cx=&quot;5&quot; cy=&quot;5&quot; r=&quot;7&quot; fill=&quot;green&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;amarkerEnd&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;auto&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+
+      &lt;marker id=&quot;smarker1&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;scroll&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;smarker2&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; orient=&quot;auto&quot; overflow=&quot;scroll&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;smarkerStart&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;scroll&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;smarkerMiddle&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;scroll&quot;&gt;
+        &lt;circle cx=&quot;5&quot; cy=&quot;5&quot; r=&quot;7&quot; fill=&quot;green&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;smarkerEnd&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;scroll&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+
+      &lt;marker id=&quot;hmarker1&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;hidden&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;hmarker2&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; orient=&quot;auto&quot; overflow=&quot;hidden&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;hmarkerStart&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;7.5&quot; refY=&quot;7.5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;hidden&quot;&gt;
+        &lt;rect width=&quot;15&quot; height=&quot;15&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;hmarkerMiddle&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;hidden&quot;&gt;
+        &lt;circle cx=&quot;5&quot; cy=&quot;5&quot; r=&quot;7&quot; fill=&quot;green&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+      &lt;marker id=&quot;hmarkerEnd&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;10&quot; refY=&quot;10&quot; markerUnits=&quot;strokeWidth&quot; overflow=&quot;hidden&quot;&gt;
+        &lt;path d=&quot;M 10 0 L 20 20 L 0 20 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+      &lt;/marker&gt;
+    &lt;/defs&gt;
+
+    &lt;style type=&quot;text/css&quot;&gt;
+      .testpaths {
+      fill:none;
+      stroke:black;
+      stroke-width:8px;
+      }
+
+      /* no overflow specified */
+      #p1  { marker: url(#marker1); }
+      #p2  {
+      marker-start: url(#markerStart);
+      marker-mid:url(#markerMiddle);
+      marker-end: url(#markerEnd);
+      }
+      #p3  { marker: url(#marker2); }
+
+      /* overflow = visible */
+      #p4  { marker: url(#vmarker1); }
+      #p5  {
+      marker-start: url(#vmarkerStart);
+      marker-mid:url(#vmarkerMiddle);
+      marker-end: url(#vmarkerEnd);
+      }
+      #p6  { marker: url(#vmarker2); }
+
+      /* overflow = auto */
+      #p7  { marker: url(#amarker1); }
+      #p8  {
+      marker-start: url(#amarkerStart);
+      marker-mid:url(#amarkerMiddle);
+      marker-end: url(#amarkerEnd);
+      }
+      #p9  { marker: url(#amarker2); }
+
+      /* overflow = scroll */
+      #p10  { marker: url(#smarker1); }
+      #p11  {
+      marker-start: url(#smarkerStart);
+      marker-mid:url(#smarkerMiddle);
+      marker-end: url(#smarkerEnd);
+      }
+      #p12  { marker: url(#smarker2); }
+
+      /* overflow = hidden */
+      #p13  { marker: url(#hmarker1); }
+      #p14  {
+      marker-start: url(#hmarkerStart);
+      marker-mid:url(#hmarkerMiddle);
+      marker-end: url(#hmarkerEnd);
+      }
+      #p15  { marker: url(#hmarker2); }
+    &lt;/style&gt;
+
+    &lt;text x=&quot;50%&quot; y=&quot;3em&quot; style=&quot;font: 18px SVGFreeSansASCII,sans-serif; text-anchor:middle;&quot;&gt;Test marker overflow&lt;/text&gt;
+
+    &lt;g style=&quot;font: 14px SVGFreeSansASCII,sans-serif; text-anchor:middle&quot; transform=&quot;translate(0,280)&quot;&gt;
+      &lt;text x=&quot;60&quot;&gt;default&lt;/text&gt;
+      &lt;text x=&quot;155&quot;&gt;'visible'&lt;/text&gt;
+      &lt;text x=&quot;245&quot;&gt;'auto'&lt;/text&gt;
+      &lt;text x=&quot;340&quot;&gt;'scroll'&lt;/text&gt;
+      &lt;text x=&quot;430&quot;&gt;'hidden'&lt;/text&gt;
+    &lt;/g&gt;
+
+    &lt;g transform=&quot;translate(-30,75)&quot;&gt;
+
+      &lt;g id=&quot;subtest1&quot; transform=&quot;scale(0.6)&quot;&gt;
+        &lt;path id=&quot;p1&quot; class=&quot;testpaths&quot; d=&quot;M 130 40 L 180 40 L 180 90&quot;/&gt;
+        &lt;path id=&quot;p2&quot; class=&quot;testpaths&quot; d=&quot;M 130 135 L 180 135 L 180 185&quot;/&gt;
+        &lt;path id=&quot;p3&quot; class=&quot;testpaths&quot; d=&quot;M 130 230 L 180 230 L 180 280&quot;/&gt;
+      &lt;/g&gt;
+
+      &lt;g id=&quot;subtest2&quot; transform=&quot;scale(0.6) translate(150,0)&quot;&gt;
+        &lt;path id=&quot;p4&quot; class=&quot;testpaths&quot; d=&quot;M 130 40 L 180 40 L 180 90&quot;/&gt;
+        &lt;path id=&quot;p5&quot; class=&quot;testpaths&quot; d=&quot;M 130 135 L 180 135 L 180 185&quot;/&gt;
+        &lt;path id=&quot;p6&quot; class=&quot;testpaths&quot; d=&quot;M 130 230 L 180 230 L 180 280&quot;/&gt;
+      &lt;/g&gt;
+
+      &lt;g id=&quot;subtest3&quot; transform=&quot;scale(0.6) translate(300,0)&quot;&gt;
+        &lt;path id=&quot;p7&quot; class=&quot;testpaths&quot; d=&quot;M 130 40 L 180 40 L 180 90&quot;/&gt;
+        &lt;path id=&quot;p8&quot; class=&quot;testpaths&quot; d=&quot;M 130 135 L 180 135 L 180 185&quot;/&gt;
+        &lt;path id=&quot;p9&quot; class=&quot;testpaths&quot; d=&quot;M 130 230 L 180 230 L 180 280&quot;/&gt;
+      &lt;/g&gt;
+
+      &lt;g id=&quot;subtest4&quot; transform=&quot;scale(0.6) translate(450,0)&quot;&gt;
+        &lt;path id=&quot;p10&quot; class=&quot;testpaths&quot; d=&quot;M 130 40 L 180 40 L 180 90&quot;/&gt;
+        &lt;path id=&quot;p11&quot; class=&quot;testpaths&quot; d=&quot;M 130 135 L 180 135 L 180 185&quot;/&gt;
+        &lt;path id=&quot;p12&quot; class=&quot;testpaths&quot; d=&quot;M 130 230 L 180 230 L 180 280&quot;/&gt;
+      &lt;/g&gt;
+
+      &lt;g id=&quot;subtest5&quot; transform=&quot;scale(0.6) translate(600,0)&quot;&gt;
+        &lt;path id=&quot;p13&quot; class=&quot;testpaths&quot; d=&quot;M 130 40 L 180 40 L 180 90&quot;/&gt;
+        &lt;path id=&quot;p14&quot; class=&quot;testpaths&quot; d=&quot;M 130 135 L 180 135 L 180 185&quot;/&gt;
+        &lt;path id=&quot;p15&quot; class=&quot;testpaths&quot; d=&quot;M 130 230 L 180 230 L 180 280&quot;/&gt;
+      &lt;/g&gt;
+    &lt;/g&gt;
+  &lt;/g&gt;
+  &lt;g font-family=&quot;SVGFreeSansASCII,sans-serif&quot; font-size=&quot;32&quot;&gt;
+    &lt;text id=&quot;revision&quot; x=&quot;10&quot; y=&quot;340&quot; stroke=&quot;none&quot; fill=&quot;black&quot;&gt;$Revision: 1.7 $&lt;/text&gt;
+  &lt;/g&gt;
+  &lt;rect id=&quot;test-frame&quot; x=&quot;1&quot; y=&quot;1&quot; width=&quot;478&quot; height=&quot;358&quot; fill=&quot;none&quot; stroke=&quot;#000&quot;/&gt;
+  &lt;!-- comment out this watermark once the test is approved --&gt;
+  &lt;!--&lt;g id=&quot;draft-watermark&quot;&gt;
+    &lt;rect x=&quot;1&quot; y=&quot;1&quot; width=&quot;478&quot; height=&quot;20&quot; fill=&quot;red&quot; stroke=&quot;black&quot; stroke-width=&quot;1&quot;/&gt;
+    &lt;text font-family=&quot;SVGFreeSansASCII,sans-serif&quot; font-weight=&quot;bold&quot; font-size=&quot;20&quot; x=&quot;240&quot;
+      text-anchor=&quot;middle&quot; y=&quot;18&quot; stroke-width=&quot;0.5&quot; stroke=&quot;black&quot; fill=&quot;white&quot;&gt;DRAFT&lt;/text&gt;
+  &lt;/g&gt;--&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgW3CSVG11SEpaintingmarker06fexpectedpng"></a>
<div class="binary"><h4>Added: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Property changes on: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestssvgW3CSVG11SEpaintingmarker06fexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.txt (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+layer at (0,0) size 480x360
+  RenderView at (0,0) size 480x360
+layer at (0,0) size 480x360
+  RenderSVGRoot {svg} at (0,0) size 480x360
+    RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+    RenderSVGContainer {g} at (122,17) size 190x271
+      RenderSVGHiddenContainer {defs} at (0,0) size 0x0
+        RenderSVGResourceMarker {marker} [id=&quot;marker1&quot;] [markerUnits=strokeWidth] [ref at (25,25)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 2x2 [fill={[type=SOLID] [color=#800080]}] [x=20.00] [y=20.00] [width=10.00] [height=10.00]
+        RenderSVGResourceMarker {marker} [id=&quot;marker2&quot;] [markerUnits=strokeWidth] [ref at (0,0)] [angle=auto]
+          RenderSVGPath {path} at (0,0) size 2x2 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 0 -5 L 5 5 L -5 5 Z&quot;]
+        RenderSVGResourceMarker {marker} [id=&quot;markerStart&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGRect {rect} at (0,0) size 2x2 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
+        RenderSVGResourceMarker {marker} [id=&quot;markerMiddle&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGEllipse {circle} at (0,0) size 2x2 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=5.00]
+        RenderSVGResourceMarker {marker} [id=&quot;markerEnd&quot;] [markerUnits=strokeWidth] [ref at (5,5)] [angle=0.00]
+          RenderSVGPath {path} at (0,0) size 2x2 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 5 0 L 10 10 L 0 10 Z&quot;]
+      RenderSVGText {text} at (170,17) size 90x17 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 90x16
+          chunk 1 text run 1 at (170.00,30.00) startOffset 0 endOffset 13 width 90.00: &quot;Basic Markers&quot;
+      RenderSVGPath {path} at (122,32) size 66x66 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=marker1] [middle marker=marker1] [end marker=marker1] [data=&quot;M 130 40 L 180 40 L 180 90&quot;]
+      RenderSVGContainer {g} at (242,32) size 66x66 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,0.00)}]
+        RenderSVGPath {path} at (250,36) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [data=&quot;M 130 40 L 180 40 L 180 90&quot;]
+        RenderSVGContainer {g} at (242,32) size 16x16 [transform={m=((1.60,0.00)(0.00,1.60)) t=(122.00,32.00)}]
+          RenderSVGRect {rect} at (242,32) size 16x16 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
+        RenderSVGContainer {g} at (292,32) size 16x16 [transform={m=((1.60,0.00)(0.00,1.60)) t=(172.00,32.00)}]
+          RenderSVGRect {rect} at (292,32) size 16x16 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
+        RenderSVGContainer {g} at (292,82) size 16x16 [transform={m=((1.60,0.00)(0.00,1.60)) t=(172.00,82.00)}]
+          RenderSVGRect {rect} at (292,82) size 16x16 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
+      RenderSVGText {text} at (145,112) size 137x17 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 137x16
+          chunk 1 text run 1 at (145.00,125.00) startOffset 0 endOffset 21 width 137.00: &quot;Start, Middle and End&quot;
+      RenderSVGPath {path} at (122,127) size 66x66 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=markerStart] [middle marker=markerMiddle] [end marker=markerEnd] [data=&quot;M 130 135 L 180 135 L 180 185&quot;]
+      RenderSVGContainer {g} at (242,127) size 66x66 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,0.00)}]
+        RenderSVGPath {path} at (250,131) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [data=&quot;M 130 135 L 180 135 L 180 185&quot;]
+        RenderSVGContainer {g} at (242,127) size 16x16 [transform={m=((1.60,0.00)(0.00,1.60)) t=(122.00,127.00)}]
+          RenderSVGRect {rect} at (242,127) size 16x16 [fill={[type=SOLID] [color=#800080]}] [x=0.00] [y=0.00] [width=10.00] [height=10.00]
+        RenderSVGContainer {g} at (292,127) size 16x16 [transform={m=((1.60,0.00)(0.00,1.60)) t=(172.00,127.00)}]
+          RenderSVGEllipse {circle} at (292,127) size 16x16 [fill={[type=SOLID] [color=#008000]}] [cx=5.00] [cy=5.00] [r=5.00]
+        RenderSVGContainer {g} at (292,177) size 16x16 [transform={m=((1.60,0.00)(0.00,1.60)) t=(172.00,177.00)}]
+          RenderSVGPath {path} at (292,177) size 16x16 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 5 0 L 10 10 L 0 10 Z&quot;]
+      RenderSVGText {text} at (145,207) size 137x17 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 137x16
+          chunk 1 text run 1 at (145.00,220.00) startOffset 0 endOffset 21 width 137.00: &quot;Automatic Orientation&quot;
+      RenderSVGPath {path} at (122,218) size 70x70 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [start marker=marker2] [middle marker=marker2] [end marker=marker2] [data=&quot;M 130 230 L 180 230 L 180 280&quot;]
+      RenderSVGContainer {g} at (242,218) size 70x70 [transform={m=((1.00,0.00)(0.00,1.00)) t=(120.00,0.00)}]
+        RenderSVGPath {path} at (250,226) size 54x54 [stroke={[type=SOLID] [color=#000000] [stroke width=8.00]}] [data=&quot;M 130 230 L 180 230 L 180 280&quot;]
+        RenderSVGContainer {g} at (242,222) size 16x16 [transform={m=((1.60,0.00)(0.00,1.60)) t=(122.00,222.00)}]
+          RenderSVGPath {path} at (242,222) size 16x16 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 5 0 L 10 10 L 0 10 Z&quot;]
+        RenderSVGContainer {g} at (288,218) size 24x24 [transform={m=((1.13,1.13)(-1.13,1.13)) t=(180.00,218.69)}]
+          RenderSVGPath {path} at (288,218) size 24x24 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 5 0 L 10 10 L 0 10 Z&quot;]
+        RenderSVGContainer {g} at (292,272) size 16x16 [transform={m=((0.00,1.60)(-1.60,0.00)) t=(188.00,272.00)}]
+          RenderSVGPath {path} at (292,272) size 16x16 [fill={[type=SOLID] [color=#0000FF]}] [data=&quot;M 5 0 L 10 10 L 0 10 Z&quot;]
+    RenderSVGContainer {g} at (10,310) size 231x38
+      RenderSVGText {text} at (10,310) size 231x38 contains 1 chunk(s)
+        RenderSVGInlineText {#text} at (0,0) size 231x37
+          chunk 1 text run 1 at (10.00,340.00) startOffset 0 endOffset 16 width 231.00: &quot;$Revision: 1.9 $&quot;
+    RenderSVGRect {rect} at (0,0) size 480x360 [stroke={[type=SOLID] [color=#000000]}] [x=1.00] [y=1.00] [width=478.00] [height=358.00]
</ins></span></pre></div>
<a id="trunkLayoutTestssvgW3CSVG11SEpaintingmarker06fsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg                                (rev 0)
+++ trunk/LayoutTests/svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,159 @@
</span><ins>+&lt;svg id=&quot;svg-root&quot; width=&quot;100%&quot; height=&quot;100%&quot;
+  viewBox=&quot;0 0 480 360&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;
+  xmlns:xlink=&quot;http://www.w3.org/1999/xlink&quot;&gt;
+  &lt;!--======================================================================--&gt;
+  &lt;!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =--&gt;
+  &lt;!--=  Institute of Technology, European Research Consortium for         =--&gt;
+  &lt;!--=  Informatics and Mathematics (ERCIM), Keio University).            =--&gt;
+  &lt;!--=  All Rights Reserved.                                              =--&gt;
+  &lt;!--=  See http://www.w3.org/Consortium/Legal/.                          =--&gt;
+  &lt;!--======================================================================--&gt;
+  &lt;d:SVGTestCase xmlns:d=&quot;http://www.w3.org/2000/02/svg/testsuite/description/&quot;
+    template-version=&quot;1.4&quot; reviewer=&quot;AG&quot; author=&quot;ED&quot; status=&quot;accepted&quot;
+    version=&quot;$Revision: 1.9 $&quot; testname=&quot;$RCSfile: painting-marker-06-f.svg,v $&quot;&gt;
+    &lt;d:testDescription xmlns=&quot;http://www.w3.org/1999/xhtml&quot; href=&quot;http://www.w3.org/TR/SVG11/painting.html#MarkerElement&quot;&gt;
+        &lt;p&gt;
+          Tests the basic support for markers. For the three tests, there
+          should be two identical paths with markers drawn. The path on the left is
+          rendered using the marker elements. The path on the right is rendered using
+          the equivalent SVG, showing what the marked path should look like.
+        &lt;/p&gt;
+        &lt;p&gt;
+          This test is similar to the painting-marker-01-f.svg test, but has some viewBox attributes
+          that have a non-zero offset.
+        &lt;/p&gt;
+        &lt;p&gt;
+          The top test examines the basic support for the marker element and style. The markers are purple rectangles.
+        &lt;/p&gt;
+        &lt;p&gt;
+          The middle test examines the support for the different styles of marker properties. The
+          &quot;marker-start&quot; property defines the marker to use at the first vertex of the marked path,
+          in this case a purple rectangle. The &quot;marker-end&quot; property defines the marker to use at the
+          last vertex of the marked path, in this case a blue triangle. The &quot;marker-mid&quot; property
+          defines the marker to use at all vertices, other than the first and last, of the marked path,
+          in this case a green circle.
+        &lt;/p&gt;
+        &lt;p&gt;
+          The bottom test examines the support for marker orientation along the
+          path direction. The second vertex, the top right corner of the path, has a marker that
+          is rotated 45 degrees, since that is the average of the horizontal and vertical segments
+          each side. The last vertex, the bottom right corner of the path, has a marker rotated 90
+          degrees since that is the direction of the last path segment.
+        &lt;/p&gt;
+    &lt;/d:testDescription&gt;
+    &lt;d:operatorScript xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+      &lt;p&gt;
+        Run the test. No interaction required.
+      &lt;/p&gt;
+    &lt;/d:operatorScript&gt;
+    &lt;d:passCriteria xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+      &lt;p&gt;
+        The rendered picture should match the reference image, except for possible
+        variations in the labelling text (per CSS2 rules).
+      &lt;/p&gt;
+    &lt;/d:passCriteria&gt;
+  &lt;/d:SVGTestCase&gt;
+  &lt;title id=&quot;test-title&quot;&gt;$RCSfile: painting-marker-06-f.svg,v $&lt;/title&gt;
+  &lt;defs&gt;
+    &lt;font-face
+      font-family=&quot;SVGFreeSansASCII&quot;
+      unicode-range=&quot;U+0-7F&quot;&gt;
+      &lt;font-face-src&gt;
+        &lt;font-face-uri xlink:href=&quot;../resources/SVGFreeSans.svg#ascii&quot;/&gt;
+      &lt;/font-face-src&gt;
+    &lt;/font-face&gt;
+  &lt;/defs&gt;
+  &lt;g id=&quot;test-body-content&quot; font-family=&quot;SVGFreeSansASCII,sans-serif&quot; font-size=&quot;18&quot;&gt;
+    &lt;defs&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;!-- Define a few simple marker elements                                   --&gt;
+                &lt;!-- ===================================================================== --&gt;
+    &lt;marker id=&quot;marker1&quot; viewBox=&quot;20 20 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;25&quot; refY=&quot;25&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+      &lt;rect x=&quot;20&quot; y=&quot;20&quot; width=&quot;10&quot; height=&quot;10&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+    &lt;/marker&gt;
+    &lt;marker id=&quot;marker2&quot; viewBox=&quot;-5 -5 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; markerUnits=&quot;strokeWidth&quot; orient=&quot;auto&quot;&gt;
+      &lt;path d=&quot;M 0 -5 L 5 5 L -5 5 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+    &lt;/marker&gt;
+        &lt;marker id=&quot;markerStart&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+                        &lt;rect width=&quot;10&quot; height=&quot;10&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+                &lt;/marker&gt;
+                &lt;marker id=&quot;markerMiddle&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+                        &lt;circle cx=&quot;5&quot; cy=&quot;5&quot; r=&quot;5&quot; fill=&quot;green&quot; stroke=&quot;none&quot;/&gt;
+                &lt;/marker&gt;
+                &lt;marker id=&quot;markerEnd&quot; viewBox=&quot;0 0 10 10&quot; markerWidth=&quot;2&quot; markerHeight=&quot;2&quot; refX=&quot;5&quot; refY=&quot;5&quot; markerUnits=&quot;strokeWidth&quot;&gt;
+                        &lt;path d=&quot;M 5 0 L 10 10 L 0 10 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+                &lt;/marker&gt;
+        &lt;/defs&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;!-- Basic Marker Test                                                     --&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;text x=&quot;170&quot; y=&quot;30&quot; font-size=&quot;14&quot;&gt;Basic Markers&lt;/text&gt;
+                &lt;path fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot; marker-start=&quot;url(#marker1)&quot; marker-mid=&quot;url(#marker1)&quot; marker-end=&quot;url(#marker1)&quot; d=&quot;M 130 40 L 180 40 L 180 90&quot;/&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;!-- Generate the equivalent SVG                                           --&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;g transform=&quot;translate(120,0)&quot;&gt;
+                        &lt;path fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot; d=&quot;M 130 40 L 180 40 L 180 90&quot;/&gt;
+                        &lt;g transform=&quot;translate(130,40) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;rect width=&quot;10&quot; height=&quot;10&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                        &lt;g transform=&quot;translate(180,40) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;rect width=&quot;10&quot; height=&quot;10&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                        &lt;g transform=&quot;translate(180,90) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;rect width=&quot;10&quot; height=&quot;10&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                &lt;/g&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;!-- Start, Middle and End Marker Test                                     --&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;text x=&quot;145&quot; y=&quot;125&quot; font-size=&quot;14&quot;&gt;Start, Middle and End&lt;/text&gt;
+                &lt;path fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot; marker-start=&quot;url(#markerStart)&quot; marker-mid=&quot;url(#markerMiddle)&quot; marker-end=&quot;url(#markerEnd)&quot; d=&quot;M 130 135 L 180 135 L 180 185&quot;/&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;!-- Generate the equivalent SVG                                           --&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;g transform=&quot;translate(120,0)&quot;&gt;
+                        &lt;path fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot; d=&quot;M 130 135 L 180 135 L 180 185&quot;/&gt;
+                        &lt;g transform=&quot;translate(130,135) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;rect width=&quot;10&quot; height=&quot;10&quot; fill=&quot;purple&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                        &lt;g transform=&quot;translate(180,135) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;circle cx=&quot;5&quot; cy=&quot;5&quot; r=&quot;5&quot; fill=&quot;green&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                        &lt;g transform=&quot;translate(180,185) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;path d=&quot;M 5 0 L 10 10 L 0 10 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                &lt;/g&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;!-- Auto Orientation Marker Test                                          --&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;text x=&quot;145&quot; y=&quot;220&quot; font-size=&quot;14&quot;&gt;Automatic Orientation&lt;/text&gt;
+                &lt;path fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot; marker-start=&quot;url(#marker2)&quot; marker-mid=&quot;url(#marker2)&quot; marker-end=&quot;url(#marker2)&quot; d=&quot;M 130 230 L 180 230 L 180 280&quot;/&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;!-- Generate the equivalent SVG                                           --&gt;
+                &lt;!-- ===================================================================== --&gt;
+                &lt;g transform=&quot;translate(120,0)&quot;&gt;
+                        &lt;path fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot; d=&quot;M 130 230 L 180 230 L 180 280&quot;/&gt;
+                        &lt;g transform=&quot;translate(130,230) rotate(0) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;path d=&quot;M 5 0 L 10 10 L 0 10 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                        &lt;g transform=&quot;translate(180,230) rotate(45) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;path d=&quot;M 5 0 L 10 10 L 0 10 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                        &lt;g transform=&quot;translate(180,280) rotate(90) scale(8) scale(0.2, 0.2) translate(-5, -5)&quot; fill=&quot;none&quot; stroke=&quot;black&quot; stroke-width=&quot;8&quot;&gt;
+                                &lt;path d=&quot;M 5 0 L 10 10 L 0 10 Z&quot; fill=&quot;blue&quot; stroke=&quot;none&quot;/&gt;
+                        &lt;/g&gt;
+                &lt;/g&gt;
+  &lt;/g&gt;
+  &lt;g font-family=&quot;SVGFreeSansASCII,sans-serif&quot; font-size=&quot;32&quot;&gt;
+  &lt;text id=&quot;revision&quot; x=&quot;10&quot; y=&quot;340&quot; stroke=&quot;none&quot;
+    fill=&quot;black&quot;&gt;$Revision: 1.9 $&lt;/text&gt;
+  &lt;/g&gt;
+  &lt;rect id=&quot;test-frame&quot; x=&quot;1&quot; y=&quot;1&quot; width=&quot;478&quot; height=&quot;358&quot; fill=&quot;none&quot; stroke=&quot;#000&quot;/&gt;
+  &lt;!-- comment out this watermark once the test is approved --&gt;
+  &lt;!--&lt;g id=&quot;draft-watermark&quot;&gt;
+    &lt;rect x=&quot;1&quot; y=&quot;1&quot; width=&quot;478&quot; height=&quot;20&quot; fill=&quot;red&quot; stroke=&quot;black&quot; stroke-width=&quot;1&quot;/&gt;
+    &lt;text font-family=&quot;SVGFreeSansASCII,sans-serif&quot; font-weight=&quot;bold&quot; font-size=&quot;20&quot; x=&quot;240&quot;
+      text-anchor=&quot;middle&quot; y=&quot;18&quot; stroke-width=&quot;0.5&quot; stroke=&quot;black&quot; fill=&quot;white&quot;&gt;DRAFT&lt;/text&gt;
+  &lt;/g&gt;--&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvganimationsanimateviewportoverflow2expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/animations/animate-viewport-overflow-2-expected.txt (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/animations/animate-viewport-overflow-2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/animations/animate-viewport-overflow-2-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+CONSOLE MESSAGE: line 27: ReferenceError: Can't find variable: runRepaintAndPixelTest
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x116
+  RenderBlock {HTML} at (0,0) size 800x116
+    RenderBody {BODY} at (8,8) size 784x100
+      RenderBlock {DIV} at (0,0) size 100x100
+        RenderSVGRoot {svg} at (8,208) size 100x100
+          RenderSVGRect {rect} at (8,208) size 100x100 [fill={[type=SOLID] [color=#0000FF]}] [x=0.00] [y=200.00] [width=100.00] [height=100.00]
+        RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestssvganimationsanimateviewportoverflow2html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/animations/animate-viewport-overflow-2.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/animations/animate-viewport-overflow-2.html                                (rev 0)
+++ trunk/LayoutTests/svg/animations/animate-viewport-overflow-2.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;head&gt;
+        &lt;script src=&quot;../../fast/repaint/resources/text-based-repaint.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
+        &lt;script&gt;
+        function repaintTest() {
+                var svg = document.getElementById(&quot;svg&quot;);
+                svg.pauseAnimations();
+                svg.setCurrentTime(5);
+        }
+        &lt;/script&gt;
+        &lt;style&gt;
+                div {
+                        height:100px; width:100px;
+                }
+                svg { overflow: visible; }
+        &lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+        &lt;div&gt;
+                &lt;svg id=&quot;svg&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+                        &lt;rect y=&quot;200&quot; width=&quot;100&quot; height=&quot;100&quot; fill=&quot;blue&quot;&gt;
+                                &lt;animate attributeName=&quot;y&quot; to=&quot;150&quot; dur=&quot;1s&quot; begin=&quot;1s&quot; fill=&quot;freeze&quot;/&gt;
+                        &lt;/rect&gt;
+                &lt;/svg&gt;
+        &lt;/div&gt;
+        &lt;script&gt;
+        runRepaintAndPixelTest();
+        &lt;/script&gt;
+&lt;/body&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvganimationsanimateviewportoverflowexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/animations/animate-viewport-overflow-expected.txt (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/animations/animate-viewport-overflow-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/animations/animate-viewport-overflow-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: line 18: ReferenceError: Can't find variable: runRepaintAndPixelTest
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x216
+  RenderBlock {HTML} at (0,0) size 800x216
+    RenderBody {BODY} at (8,8) size 784x200
+      RenderBlock {DIV} at (0,0) size 100x100
+        RenderSVGRoot {svg} at (8,208) size 100x100
+          RenderSVGRect {rect} at (8,208) size 100x100 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=200.00] [width=100.00] [height=100.00]
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,100) size 100x100
</ins></span></pre></div>
<a id="trunkLayoutTestssvganimationsanimateviewportoverflowhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/animations/animate-viewport-overflow.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/animations/animate-viewport-overflow.html                                (rev 0)
+++ trunk/LayoutTests/svg/animations/animate-viewport-overflow.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;head&gt;
+        &lt;script src=&quot;../../fast/repaint/resources/text-based-repaint.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
+        &lt;script&gt;
+        function repaintTest() {
+                var svg = document.getElementById(&quot;svg&quot;);
+                svg.pauseAnimations();
+                svg.setCurrentTime(5);
+        }
+        &lt;/script&gt;
+        &lt;style&gt;
+                div {
+                        height:100px; width:100px;
+                }
+                svg { overflow: visible; }
+        &lt;/style&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runRepaintAndPixelTest()&quot;&gt;
+        &lt;div&gt;
+                &lt;svg id=&quot;svg&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+                        &lt;rect y=&quot;200&quot; width=&quot;100&quot; height=&quot;100&quot; fill=&quot;red&quot;&gt;
+                                &lt;animate attributeName=&quot;fill&quot; to=&quot;green&quot; dur=&quot;1s&quot; begin=&quot;1s&quot; fill=&quot;freeze&quot;/&gt;
+                        &lt;/rect&gt;
+                &lt;/svg&gt;
+        &lt;/div&gt;
+        &lt;div&gt;&lt;/div&gt;
+&lt;/body&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowrepaintexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-repaint-expected.txt (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-repaint-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-repaint-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: line 16: ReferenceError: Can't find variable: runRepaintAndPixelTest
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x216
+  RenderBlock {HTML} at (0,0) size 800x216
+    RenderBody {BODY} at (8,8) size 784x200
+      RenderBlock {DIV} at (0,0) size 100x100
+        RenderSVGRoot {svg} at (8,8) size 0x0
+          RenderSVGRect {rect} at (8,8) size 0x0 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=100.00] [width=100.00] [height=100.00]
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock {DIV} at (0,100) size 100x100 [bgcolor=#FF0000]
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowrepainthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-repaint.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-repaint.html                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-repaint.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;head&gt;
+        &lt;script src=&quot;../../fast/repaint/resources/text-based-repaint.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
+        &lt;script&gt;
+        function repaintTest() {
+                document.getElementById(&quot;svg&quot;).style.overflow=&quot;visible&quot;;
+        }
+        &lt;/script&gt;
+        &lt;style&gt;
+                div {
+                        height:100px; width:100px;
+                }
+                div + div { background: red; }
+        &lt;/style&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runRepaintAndPixelTest()&quot;&gt;
+        &lt;div&gt;
+                &lt;svg id=&quot;svg&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+                        &lt;rect y=&quot;100&quot; width=&quot;100&quot; height=&quot;100&quot; fill=&quot;green&quot;/&gt;
+                &lt;/svg&gt;
+        &lt;/div&gt;
+        &lt;div&gt;&lt;/div&gt;
+&lt;/body&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowsvgrootattrexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-svg-root-attr-expected.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-svg-root-attr-expected.html                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-svg-root-attr-expected.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+div {
+    height:100px; width:250px;
+}
+
+&lt;/style&gt;
+&lt;div&gt;&lt;svg id=&quot;svg1&quot; height=&quot;100&quot; width=&quot;100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg2&quot; height=&quot;100&quot; width=&quot;100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg3&quot; height=&quot;100&quot; width=&quot;250&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowsvgrootattrhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-svg-root-attr.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-svg-root-attr.html                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-svg-root-attr.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+div {
+    height:100px; width:100px;
+}
+&lt;/style&gt;
+&lt;div&gt;&lt;svg id=&quot;svg1&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot; overflow=&quot;hidden&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg2&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot; overflow=&quot;scroll&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg3&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot; overflow=&quot;visible&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowsvgrootexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-svg-root-expected.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-svg-root-expected.html                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-svg-root-expected.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+div {
+    height:100px; width:250px;
+}
+&lt;/style&gt;
+&lt;div&gt;&lt;svg height=&quot;100&quot; width=&quot;250&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;clip1&quot; height=&quot;100&quot; width=&quot;250&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;clip2&quot; height=&quot;100&quot; width=&quot;250&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowsvgrootstyleexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-svg-root-style-expected.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-svg-root-style-expected.html                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-svg-root-style-expected.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+div {
+    height:100px; width:250px;
+}
+
+&lt;/style&gt;
+&lt;div&gt;&lt;svg id=&quot;svg1&quot; height=&quot;100&quot; width=&quot;100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg2&quot; height=&quot;100&quot; width=&quot;100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg3&quot; height=&quot;100&quot; width=&quot;250&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowsvgrootstylehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-svg-root-style.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-svg-root-style.html                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-svg-root-style.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+div {
+    height:100px; width:100px;
+}
+
+#svg1 { overflow:hidden }
+#svg2 { overflow:scroll }
+#svg3 { overflow:visible }
+
+&lt;/style&gt;
+&lt;div&gt;&lt;svg id=&quot;svg1&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg2&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;svg3&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvginhtmloverflowsvgroothtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/in-html/overflow-svg-root.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/in-html/overflow-svg-root.html                                (rev 0)
+++ trunk/LayoutTests/svg/in-html/overflow-svg-root.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+div {
+    height:100px; width:100px;
+}
+
+svg { overflow:visible }
+
+#clip1 {clip: rect(-10px,-10px,-10px,-10px)}
+#clip2 {clip: auto}
+&lt;/style&gt;
+&lt;div&gt;&lt;svg height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;clip1&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
+
+&lt;div&gt;&lt;svg id=&quot;clip2&quot; height=&quot;100&quot; width=&quot;100&quot; viewbox=&quot;0 0 100 100&quot;&gt;
+  &lt;path d=&quot;M210 10 L90 10 L90 90&quot; fill=&quot;blue&quot;/&gt;
+&lt;/svg&gt;&lt;/div&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementhorizontalautoexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto-expected.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto-expected.html                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto-expected.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+html,body { padding:0; margin:0 }
+&lt;/style&gt;
+&lt;body style=&quot;overflow:auto&quot;&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;4000&quot; height=&quot;100&quot;&gt;
+    &lt;rect width=&quot;4000&quot; height=&quot;100&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
+&lt;/body&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementhorizontalautosvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1 Tiny//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd&quot;&gt;
+&lt;!--
+ Verify that setting overflow on the outermost &lt;svg&gt; element does affect rendering.
+ You should see a horizontal scrollbars only, as the content is wider than the viewport.
+--&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;4000&quot; height=&quot;100&quot; style=&quot;overflow: auto&quot;&gt;
+    &lt;rect width=&quot;4000&quot; height=&quot;100&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementignoreattribute1expectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> layer at (0,0) size 4000x4000
</span><del>-  RenderView at (0,0) size 785x585
</del><ins>+  RenderView at (0,0) size 800x600
</ins><span class="cx"> layer at (0,0) size 4000x4000
</span><span class="cx">   RenderSVGRoot {svg} at (0,0) size 4000x4000
</span><span class="cx">     RenderSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
</span></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedpng"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.png        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -1,7 +1,4 @@
</span><span class="cx"> \x89PNG
</span><span class="cx"> 
</span><span class="cx">  -IHDR X')tEXtchecksum9ec976d6b814382eb45e021fe5fa22c8,\xA0\x9AXbKGD\xFF\xFF\xFF\xA0\xBD\xA7\x93
</span><del>-\xB7IDATx\x9C\xED\xD8\xC1        \x80@A\xCF\xC45\xF35 -\x87R\xC1&lt;\x9BY\xC7}|\xC2\\xB3{\xC0+\xE7\xEE#\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  &amp;\xB0b  \xB6ff\xF7\x80_\xF1`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4@L`\xC4\xA1\xB7
-\xA9X԰~IEND\xAEB`\x82
</del><span class="cx">\ No newline at end of file
</span><ins>+IHDR X\x9Av\x82p)tEXtchecksumf9cdba21f7e2009389f80333d1d70551\xA8sY%\xA1IDATx\xED\xD7\xC1          \xC1h\xE5v\xAE`\xFB\x9A4p0\xE4\xB3k\xCE\xDCq @\x80v\xB0a\x82 @\x80_@\x80x @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @@\x80\xF8 @\x802\x92Q&quot;@\x80 @\xE0\xB7I/\xAB\xC9`\x82IEND\xAEB`\x82
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedtxtfromrev168542trunkLayoutTestsplatformmacsvgoverflowoverflowonoutermostsvgelementinxhtmlvisibleexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt (from rev 168542, trunk/LayoutTests/platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt) (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x404
+  RenderBlock {html} at (0,0) size 800x404
+    RenderInline {body} at (0,0) size 400x18
+      RenderText {#text} at (0,0) size 0x0
+      RenderSVGRoot {svg} at (0,0) size 4000x4000
+        RenderSVGRect {rect} at (0,0) size 4000x4000 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=4000.00] [height=4000.00]
+      RenderText {#text} at (0,0) size 0x0
+    RenderText {#text} at (0,0) size 0x0
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementinxhtmlvisiblexhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;!-- 
</span><span class="cx">  Verify default overflow rules for the outermost &lt;svg&gt; element in non-standalone documents.
</span><del>- You should see a 400x400 green rectangle, not covering the whole screen size.
</del><ins>+ The green rectangle should cover the entire screen, since no clipping is done for overflow:visible.
</ins><span class="cx"> 
</span><span class="cx">  Spec reference:
</span><span class="cx">  When an outermost 'svg' element is embedded inline within a parent XML grammar which uses CSS layout [CSS2-LAYOUT]
</span></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementverticalautoexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto-expected.html (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto-expected.html                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto-expected.html        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;style&gt;
+html,body { padding:0; margin:0 }
+svg { display: block; }
+&lt;/style&gt;
+&lt;body style=&quot;overflow:auto&quot;&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;100&quot; height=&quot;4000&quot;&gt;
+    &lt;rect width=&quot;100&quot; height=&quot;4000&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
+&lt;/body&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowonoutermostsvgelementverticalautosvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1 Tiny//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd&quot;&gt;
+&lt;!--
+ Verify that setting overflow on the outermost &lt;svg&gt; element does affect rendering.
+ You should see a horizontal scrollbars only, as the content is wider than the viewport.
+--&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;100&quot; height=&quot;4000&quot; style=&quot;overflow: auto&quot;&gt;
+    &lt;rect width=&quot;100&quot; height=&quot;4000&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowscrollonoutermostsvgelementexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element-expected.txt (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element-expected.txt                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element-expected.txt        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+layer at (0,0) size 785x585
+  RenderView at (0,0) size 785x585
+layer at (0,0) size 400x400
+  RenderSVGRoot {svg} at (0,0) size 400x400
+    RenderSVGRect {rect} at (0,0) size 400x400 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=400.00] [height=400.00]
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowscrollonoutermostsvgelementsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element.svg                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-scroll-on-outermost-svg-element.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1 Tiny//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd&quot;&gt;
+&lt;!--
+ Verify that setting overflow on the outermost &lt;svg&gt; element does affect rendering.
+ You should see scrollbars even though the content doesn't overflow.
+--&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;400&quot; height=&quot;400&quot; style=&quot;overflow: scroll;&quot;&gt;
+    &lt;rect width=&quot;400&quot; height=&quot;400&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowxhiddenonoutermostsvgelementexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1 Tiny//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd&quot;&gt;
+&lt;!--
+ Verify that setting overflow on the outermost &lt;svg&gt; element does affect rendering.
+ You should see a vertical scrollbar.
+--&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;100%&quot; height=&quot;4000&quot; style=&quot;overflow-y: visible;&quot;&gt;
+    &lt;rect width=&quot;100%&quot; height=&quot;4000&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowxhiddenonoutermostsvgelementsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1 Tiny//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd&quot;&gt;
+&lt;!--
+ Verify that setting overflow on the outermost &lt;svg&gt; element does affect rendering.
+ You should see a vertical scrollbar only, since horizontal overflow is hidden.
+--&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;4000&quot; height=&quot;4000&quot; style=&quot;overflow-x: hidden; overflow-y: scroll;&quot;&gt;
+    &lt;rect width=&quot;4000&quot; height=&quot;4000&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowyhiddenonoutermostsvgelementexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1 Tiny//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd&quot;&gt;
+&lt;!--
+ Verify that setting overflow on the outermost &lt;svg&gt; element does affect rendering.
+ You should see a horizontal scrollbar only, as the content is wider than the viewport.
+--&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;4000&quot; height=&quot;100%&quot; style=&quot;overflow-x: visible; overflow-y: hidden;&quot;&gt;
+    &lt;rect width=&quot;4000&quot; height=&quot;100%&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestssvgoverflowoverflowyhiddenonoutermostsvgelementsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg (0 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg                                (rev 0)
+++ trunk/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;!DOCTYPE svg PUBLIC &quot;-//W3C//DTD SVG 1.1 Tiny//EN&quot; &quot;http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd&quot;&gt;
+&lt;!--
+ Verify that setting overflow on the outermost &lt;svg&gt; element does affect rendering.
+ You should see a horizontal scrollbar only, as the content is wider than the viewport.
+--&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;4000&quot; height=&quot;4000&quot; style=&quot;overflow-x: visible; overflow-y: hidden;&quot;&gt;
+    &lt;rect width=&quot;4000&quot; height=&quot;4000&quot; fill=&quot;green&quot;/&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/Source/WebCore/ChangeLog        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -1,3 +1,46 @@
</span><ins>+2014-05-09  Zsolt Borbely  &lt;zsborbely.u-szeged@partner.samsung.com&gt;
+
+        ASSERTION FAILED: object-&gt;style()-&gt;overflowX() == object-&gt;style()-&gt;overflowY()
+        https://bugs.webkit.org/show_bug.cgi?id=121682
+
+        Reviewed by Dirk Schulze.
+
+        Add more overflow freedom to the SVG element:
+        -overflow-x and overflow-y for controlling each scrollbar independently is now supported
+        -overflow:scroll will display scrollbars regardless of the svg overflowing or not (as required by CSS)
+        -overflow:hidden will cause overflow to be clipped away and scrollbars to be hidden
+
+        Merged from Blink r172126 by &lt;ed@opera.com&gt;
+
+        Tests: svg/W3C-SVG-1.1-SE/painting-marker-05-f.svg
+               svg/W3C-SVG-1.1-SE/painting-marker-06-f.svg
+               svg/animations/animate-viewport-overflow-2.html
+               svg/animations/animate-viewport-overflow.html
+               svg/in-html/overflow-repaint.html
+               svg/in-html/overflow-svg-root-attr.html
+               svg/in-html/overflow-svg-root-style.html
+               svg/in-html/overflow-svg-root.html
+               svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg
+               svg/overflow/overflow-on-outermost-svg-element-vertical-auto.svg
+               svg/overflow/overflow-scroll-on-outermost-svg-element.svg
+               svg/overflow/overflow-x-hidden-on-outermost-svg-element-expected.svg
+               svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg
+               svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg
+               svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg
+
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::adjustRenderStyle):
+        * page/FrameView.cpp:
+        (WebCore::FrameView::applyOverflowToViewport):
+        * rendering/svg/RenderSVGRoot.cpp:
+        (WebCore::RenderSVGRoot::layout):
+        (WebCore::RenderSVGRoot::shouldApplyViewportClip):
+        (WebCore::RenderSVGRoot::paintReplaced):
+        (WebCore::RenderSVGRoot::computeFloatRectForRepaint):
+        * rendering/svg/RenderSVGRoot.h:
+        * rendering/svg/SVGRenderSupport.cpp:
+        (WebCore::SVGRenderSupport::isOverflowHidden):
+
</ins><span class="cx"> 2014-05-09  Jer Noble  &lt;jer.noble@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [MSE][Mac] Destroy the AVStreamDataParser when the SourceBuffer is removed from its MediaSource.
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.cpp (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.cpp        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/Source/WebCore/css/StyleResolver.cpp        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -1318,17 +1318,6 @@
</span><span class="cx">         style.setTransformStyle3D(TransformStyle3DFlat);
</span><span class="cx"> 
</span><span class="cx">     if (e &amp;&amp; e-&gt;isSVGElement()) {
</span><del>-        // Spec: http://www.w3.org/TR/SVG/masking.html#OverflowProperty
-        if (style.overflowY() == OSCROLL)
-            style.setOverflowY(OHIDDEN);
-        else if (style.overflowY() == OAUTO)
-            style.setOverflowY(OVISIBLE);
-
-        if (style.overflowX() == OSCROLL)
-            style.setOverflowX(OHIDDEN);
-        else if (style.overflowX() == OAUTO)
-            style.setOverflowX(OVISIBLE);
-
</del><span class="cx">         // Only the root &lt;svg&gt; element in an SVG document fragment tree honors css position
</span><span class="cx">         if (!(e-&gt;hasTagName(SVGNames::svgTag) &amp;&amp; e-&gt;parentNode() &amp;&amp; !e-&gt;parentNode()-&gt;isSVGElement()))
</span><span class="cx">             style.setPosition(RenderStyle::NonInheritedFlags::initialPosition());
</span></span></pre></div>
<a id="trunkSourceWebCorepageFrameViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/FrameView.cpp (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/FrameView.cpp        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/Source/WebCore/page/FrameView.cpp        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -585,11 +585,12 @@
</span><span class="cx">     EOverflow overflowY = o-&gt;style().overflowY();
</span><span class="cx"> 
</span><span class="cx">     if (o-&gt;isSVGRoot()) {
</span><del>-        // overflow is ignored in stand-alone SVG documents.
-        if (!toRenderSVGRoot(o)-&gt;isEmbeddedThroughFrameContainingSVGDocument())
-            return;
-        overflowX = OHIDDEN;
-        overflowY = OHIDDEN;
</del><ins>+        // FIXME: evaluate if we can allow overflow for these cases too.
+        // Overflow is always hidden when stand-alone SVG documents are embedded.
+        if (toRenderSVGRoot(o)-&gt;isEmbeddedThroughFrameContainingSVGDocument()) {
+            overflowX = OHIDDEN;
+            overflowY = OHIDDEN;
+        }
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     switch (overflowX) {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGRootcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGRoot.cpp (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGRoot.cpp        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGRoot.cpp        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -196,6 +196,12 @@
</span><span class="cx">         m_needsBoundariesOrTransformUpdate = false;
</span><span class="cx">     }
</span><span class="cx"> 
</span><ins>+    if (!shouldApplyViewportClip()) {
+        FloatRect contentRepaintRect = repaintRectInLocalCoordinates();
+        contentRepaintRect = m_localToBorderBoxTransform.mapRect(contentRepaintRect);
+        addVisualOverflow(enclosingLayoutRect(contentRepaintRect));
+    }
+
</ins><span class="cx">     updateLayerTransform();
</span><span class="cx"> 
</span><span class="cx">     repainter.repaintAfterLayout();
</span><span class="lines">@@ -203,6 +209,17 @@
</span><span class="cx">     clearNeedsLayout();
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+bool RenderSVGRoot::shouldApplyViewportClip() const
+{
+    // the outermost svg is clipped if auto, and svg document roots are always clipped
+    // When the svg is stand-alone (isDocumentElement() == true) the viewport clipping should always
+    // be applied, noting that the window scrollbars should be hidden if overflow=hidden.
+    return style().overflowX() == OHIDDEN
+        || style().overflowX() == OAUTO
+        || style().overflowX() == OSCROLL
+        || this-&gt;isRoot();
+}
+
</ins><span class="cx"> void RenderSVGRoot::paintReplaced(PaintInfo&amp; paintInfo, const LayoutPoint&amp; paintOffset)
</span><span class="cx"> {
</span><span class="cx">     // An empty viewport disables rendering.
</span><span class="lines">@@ -237,8 +254,9 @@
</span><span class="cx">     PaintInfo childPaintInfo(paintInfo);
</span><span class="cx">     childPaintInfo.context-&gt;save();
</span><span class="cx"> 
</span><del>-    // Apply initial viewport clip - not affected by overflow handling
-    childPaintInfo.context-&gt;clip(pixelSnappedIntRect(overflowClipRect(paintOffset, paintInfo.renderNamedFlowFragment)));
</del><ins>+    // Apply initial viewport clip
+    if (shouldApplyViewportClip())
+        childPaintInfo.context-&gt;clip(pixelSnappedIntRect(overflowClipRect(paintOffset, paintInfo.renderNamedFlowFragment)));
</ins><span class="cx"> 
</span><span class="cx">     // Convert from container offsets (html renderers) to a relative transform (svg renderers).
</span><span class="cx">     // Transform from our paint container's coordinate system to our local coords.
</span><span class="lines">@@ -332,8 +350,9 @@
</span><span class="cx">     if (const ShadowData* shadow = svgStyle.shadow())
</span><span class="cx">         shadow-&gt;adjustRectForShadow(repaintRect);
</span><span class="cx"> 
</span><del>-    // Apply initial viewport clip - not affected by overflow settings
-    repaintRect.intersect(pixelSnappedBorderBoxRect());
</del><ins>+    // Apply initial viewport clip
+    if (shouldApplyViewportClip())
+        repaintRect.intersect(pixelSnappedBorderBoxRect());
</ins><span class="cx"> 
</span><span class="cx">     LayoutRect rect = enclosingIntRect(repaintRect);
</span><span class="cx">     RenderReplaced::computeRectForRepaint(repaintContainer, rect, fixed);
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGRooth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGRoot.h (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGRoot.h        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGRoot.h        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -103,6 +103,7 @@
</span><span class="cx">     virtual bool canBeSelectionLeaf() const override { return false; }
</span><span class="cx">     virtual bool canHaveChildren() const override { return true; }
</span><span class="cx"> 
</span><ins>+    bool shouldApplyViewportClip() const;
</ins><span class="cx">     void updateCachedBoundaries();
</span><span class="cx">     void buildLocalToBorderBoxTransform();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGRenderSupportcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp (168542 => 168543)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp        2014-05-09 18:47:47 UTC (rev 168542)
+++ trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp        2014-05-09 19:05:33 UTC (rev 168543)
</span><span class="lines">@@ -292,16 +292,10 @@
</span><span class="cx"> 
</span><span class="cx"> bool SVGRenderSupport::isOverflowHidden(const RenderElement&amp; renderer)
</span><span class="cx"> {
</span><del>-    // SVG doesn't support independent x/y overflow
-    ASSERT(renderer.style().overflowX() == renderer.style().overflowY());
-
-    // OSCROLL is never set for SVG - see StyleResolver::adjustRenderStyle
-    ASSERT(renderer.style().overflowX() != OSCROLL);
-
</del><span class="cx">     // RenderSVGRoot should never query for overflow state - it should always clip itself to the initial viewport size.
</span><span class="cx">     ASSERT(!renderer.isRoot());
</span><span class="cx"> 
</span><del>-    return renderer.style().overflowX() == OHIDDEN;
</del><ins>+    return renderer.style().overflowX() == OHIDDEN || renderer.style().overflowX() == OSCROLL;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool SVGRenderSupport::rendererHasSVGShadow(const RenderObject&amp; renderer)
</span></span></pre>
</div>
</div>

</body>
</html>