<!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>[164592] trunk/LayoutTests</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/164592">164592</a></dd>
<dt>Author</dt> <dd>krit@webkit.org</dd>
<dt>Date</dt> <dd>2014-02-24 10:34:51 -0800 (Mon, 24 Feb 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Transform more clip-path pixel tests to reference tests
https://bugs.webkit.org/show_bug.cgi?id=129230
Reviewed by Andreas Kling.
* svg/clip-path/clip-path-content-use-007-expected.svg: Added.
* svg/clip-path/clip-path-content-use-007.svg: Added.
* svg/clip-path/clip-path-css-transform-003-expected.svg: Added.
* svg/clip-path/clip-path-css-transform-003.svg: Added.
* svg/clip-path/clip-path-css-transform-004-expected.svg: Added.
* svg/clip-path/clip-path-css-transform-004.svg: Added.
* svg/clip-path/clip-path-document-change-assert-expected.txt: Renamed from LayoutTests/svg/custom/clip-path-document-change-assert-expected.txt.
* svg/clip-path/clip-path-document-change-assert.html: Renamed from LayoutTests/svg/custom/clip-path-document-change-assert.html.
* svg/clip-path/clip-path-dom-child-changes-expected.svg: Added.
* svg/clip-path/clip-path-dom-child-changes.svg: Added.
* svg/clip-path/clip-path-dom-clippathunits-expected.svg: Added.
* svg/clip-path/clip-path-dom-clippathunits.svg: Added.
* svg/clip-path/clip-path-dom-href-expected.svg: Added.
* svg/clip-path/clip-path-dom-href.svg: Added.
* svg/clip-path/clip-path-dom-id-expected.svg: Added.
* svg/clip-path/clip-path-dom-id.svg: Added.
* svg/clip-path/clip-path-negative-scale-expected.svg: Added.
* svg/clip-path/clip-path-negative-scale.svg: Added.
* svg/clip-path/clip-path-no-content-004-expected.svg: Added.
* svg/clip-path/clip-path-no-content-004.svg: Added.
* svg/clip-path/clip-path-on-marker-001-expected.svg: Added.
* svg/clip-path/clip-path-on-marker-001.svg: Added.
* svg/clip-path/clip-path-on-marker-002-expected.svg: Added.
* svg/clip-path/clip-path-on-marker-002.svg: Added.
* svg/clip-path/clip-path-on-marker-003-expected.svg: Added.
* svg/clip-path/clip-path-on-marker-003.svg: Added.
* svg/clip-path/clip-path-recursion-001-expected.svg: Renamed from LayoutTests/svg/custom/circular-clip-path-references-crash-expected.svg.
* svg/clip-path/clip-path-recursion-001.svg: Renamed from LayoutTests/svg/custom/circular-clip-path-references-crash.svg.
* svg/clip-path/clip-path-recursion-002-expected.svg: Added.
* svg/clip-path/clip-path-recursion-002.svg: Added.
* svg/clip-path/clip-path-shape-stroke-expected.svg:
* svg/clip-path/clip-path-with-transform-expected.svg: Added.
* svg/clip-path/clip-path-with-transform.svg: Added.
* svg/clip-path/mask-nested-clip-path-010-expected.svg: Renamed from LayoutTests/svg/custom/clamped-masking-clipping-expected.svg.
* svg/clip-path/mask-nested-clip-path-010.svg: Renamed from LayoutTests/svg/custom/clamped-masking-clipping.svg.
* svg/custom/clip-mask-negative-scale-expected.txt: Removed.
* svg/custom/clip-mask-negative-scale.svg: Removed.
* svg/custom/clip-path-child-changes-expected.txt: Removed.
* svg/custom/clip-path-child-changes.svg: Removed.
* svg/custom/clip-path-href-changes-expected.txt: Removed.
* svg/custom/clip-path-href-changes.svg: Removed.
* svg/custom/clip-path-id-changes-expected.txt: Removed.
* svg/custom/clip-path-id-changes.svg: Removed.
* svg/custom/clip-path-referencing-use.svg: Removed.
* svg/custom/clip-path-referencing-use2.svg: Removed.
* svg/custom/clip-path-units-changes-expected.txt: Removed.
* svg/custom/clip-path-units-changes.svg: Removed.
* svg/custom/clip-path-with-css-transform-1-expected.txt: Removed.
* svg/custom/clip-path-with-css-transform-1.svg: Removed.
* svg/custom/clip-path-with-css-transform-2-expected.txt: Removed.
* svg/custom/clip-path-with-css-transform-2.svg: Removed.
* svg/custom/clip-path-with-transform-expected.txt: Removed.
* svg/custom/clip-path-with-transform.svg: Removed.
* svg/custom/empty-clip-path.svg: Removed.
* svg/custom/recursive-clippath.svg: Removed.
* svg/masking/mask-negative-scale.svg: Added.
* svg/masking/mast-negative-scale-expected.svg: Added.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathshapestrokeexpectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-shape-stroke-expected.svg</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestssvgclippathclippathcontentuse007expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-content-use-007-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathcontentuse007svg">trunk/LayoutTests/svg/clip-path/clip-path-content-use-007.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathcsstransform003expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathcsstransform003svg">trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathcsstransform004expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathcsstransform004svg">trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdocumentchangeassertexpectedtxt">trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdocumentchangeasserthtml">trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert.html</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomchildchangesexpectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomchildchangessvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomclippathunitsexpectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomclippathunitssvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomhrefexpectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-href-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomhrefsvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-href.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomidexpectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-id-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathdomidsvg">trunk/LayoutTests/svg/clip-path/clip-path-dom-id.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathnegativescaleexpectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-negative-scale-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathnegativescalesvg">trunk/LayoutTests/svg/clip-path/clip-path-negative-scale.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathnocontent004expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-no-content-004-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathnocontent004svg">trunk/LayoutTests/svg/clip-path/clip-path-no-content-004.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathonmarker001expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathonmarker001svg">trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathonmarker002expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathonmarker002svg">trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathonmarker003expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathonmarker003svg">trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathrecursion001expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-recursion-001-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathrecursion001svg">trunk/LayoutTests/svg/clip-path/clip-path-recursion-001.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathrecursion002expectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-recursion-002-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathrecursion002svg">trunk/LayoutTests/svg/clip-path/clip-path-recursion-002.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathwithtransformexpectedsvg">trunk/LayoutTests/svg/clip-path/clip-path-with-transform-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathclippathwithtransformsvg">trunk/LayoutTests/svg/clip-path/clip-path-with-transform.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathmasknestedclippath010expectedsvg">trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgclippathmasknestedclippath010svg">trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010.svg</a></li>
<li><a href="#trunkLayoutTestssvgmaskingmasknegativescalesvg">trunk/LayoutTests/svg/masking/mask-negative-scale.svg</a></li>
<li><a href="#trunkLayoutTestssvgmaskingmastnegativescaleexpectedsvg">trunk/LayoutTests/svg/masking/mast-negative-scale-expected.svg</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestssvgcustomcircularclippathreferencescrashexpectedsvg">trunk/LayoutTests/svg/custom/circular-clip-path-references-crash-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomcircularclippathreferencescrashsvg">trunk/LayoutTests/svg/custom/circular-clip-path-references-crash.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclampedmaskingclippingexpectedsvg">trunk/LayoutTests/svg/custom/clamped-masking-clipping-expected.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclampedmaskingclippingsvg">trunk/LayoutTests/svg/custom/clamped-masking-clipping.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclipmasknegativescaleexpectedtxt">trunk/LayoutTests/svg/custom/clip-mask-negative-scale-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclipmasknegativescalesvg">trunk/LayoutTests/svg/custom/clip-mask-negative-scale.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathchildchangesexpectedtxt">trunk/LayoutTests/svg/custom/clip-path-child-changes-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathchildchangessvg">trunk/LayoutTests/svg/custom/clip-path-child-changes.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathdocumentchangeassertexpectedtxt">trunk/LayoutTests/svg/custom/clip-path-document-change-assert-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathdocumentchangeasserthtml">trunk/LayoutTests/svg/custom/clip-path-document-change-assert.html</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathhrefchangesexpectedtxt">trunk/LayoutTests/svg/custom/clip-path-href-changes-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathhrefchangessvg">trunk/LayoutTests/svg/custom/clip-path-href-changes.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathidchangesexpectedtxt">trunk/LayoutTests/svg/custom/clip-path-id-changes-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathidchangessvg">trunk/LayoutTests/svg/custom/clip-path-id-changes.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathreferencingusesvg">trunk/LayoutTests/svg/custom/clip-path-referencing-use.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathreferencinguse2svg">trunk/LayoutTests/svg/custom/clip-path-referencing-use2.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathunitschangesexpectedtxt">trunk/LayoutTests/svg/custom/clip-path-units-changes-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathunitschangessvg">trunk/LayoutTests/svg/custom/clip-path-units-changes.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathwithcsstransform1expectedtxt">trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathwithcsstransform1svg">trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathwithcsstransform2expectedtxt">trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathwithcsstransform2svg">trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathwithtransformexpectedtxt">trunk/LayoutTests/svg/custom/clip-path-with-transform-expected.txt</a></li>
<li><a href="#trunkLayoutTestssvgcustomclippathwithtransformsvg">trunk/LayoutTests/svg/custom/clip-path-with-transform.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomemptyclippathsvg">trunk/LayoutTests/svg/custom/empty-clip-path.svg</a></li>
<li><a href="#trunkLayoutTestssvgcustomrecursiveclippathsvg">trunk/LayoutTests/svg/custom/recursive-clippath.svg</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/ChangeLog        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -5,6 +5,71 @@
</span><span class="cx">
</span><span class="cx"> Reviewed by Andreas Kling.
</span><span class="cx">
</span><ins>+ * svg/clip-path/clip-path-content-use-007-expected.svg: Added.
+ * svg/clip-path/clip-path-content-use-007.svg: Added.
+ * svg/clip-path/clip-path-css-transform-003-expected.svg: Added.
+ * svg/clip-path/clip-path-css-transform-003.svg: Added.
+ * svg/clip-path/clip-path-css-transform-004-expected.svg: Added.
+ * svg/clip-path/clip-path-css-transform-004.svg: Added.
+ * svg/clip-path/clip-path-document-change-assert-expected.txt: Renamed from LayoutTests/svg/custom/clip-path-document-change-assert-expected.txt.
+ * svg/clip-path/clip-path-document-change-assert.html: Renamed from LayoutTests/svg/custom/clip-path-document-change-assert.html.
+ * svg/clip-path/clip-path-dom-child-changes-expected.svg: Added.
+ * svg/clip-path/clip-path-dom-child-changes.svg: Added.
+ * svg/clip-path/clip-path-dom-clippathunits-expected.svg: Added.
+ * svg/clip-path/clip-path-dom-clippathunits.svg: Added.
+ * svg/clip-path/clip-path-dom-href-expected.svg: Added.
+ * svg/clip-path/clip-path-dom-href.svg: Added.
+ * svg/clip-path/clip-path-dom-id-expected.svg: Added.
+ * svg/clip-path/clip-path-dom-id.svg: Added.
+ * svg/clip-path/clip-path-negative-scale-expected.svg: Added.
+ * svg/clip-path/clip-path-negative-scale.svg: Added.
+ * svg/clip-path/clip-path-no-content-004-expected.svg: Added.
+ * svg/clip-path/clip-path-no-content-004.svg: Added.
+ * svg/clip-path/clip-path-on-marker-001-expected.svg: Added.
+ * svg/clip-path/clip-path-on-marker-001.svg: Added.
+ * svg/clip-path/clip-path-on-marker-002-expected.svg: Added.
+ * svg/clip-path/clip-path-on-marker-002.svg: Added.
+ * svg/clip-path/clip-path-on-marker-003-expected.svg: Added.
+ * svg/clip-path/clip-path-on-marker-003.svg: Added.
+ * svg/clip-path/clip-path-recursion-001-expected.svg: Renamed from LayoutTests/svg/custom/circular-clip-path-references-crash-expected.svg.
+ * svg/clip-path/clip-path-recursion-001.svg: Renamed from LayoutTests/svg/custom/circular-clip-path-references-crash.svg.
+ * svg/clip-path/clip-path-recursion-002-expected.svg: Added.
+ * svg/clip-path/clip-path-recursion-002.svg: Added.
+ * svg/clip-path/clip-path-shape-stroke-expected.svg:
+ * svg/clip-path/clip-path-with-transform-expected.svg: Added.
+ * svg/clip-path/clip-path-with-transform.svg: Added.
+ * svg/clip-path/mask-nested-clip-path-010-expected.svg: Renamed from LayoutTests/svg/custom/clamped-masking-clipping-expected.svg.
+ * svg/clip-path/mask-nested-clip-path-010.svg: Renamed from LayoutTests/svg/custom/clamped-masking-clipping.svg.
+ * svg/custom/clip-mask-negative-scale-expected.txt: Removed.
+ * svg/custom/clip-mask-negative-scale.svg: Removed.
+ * svg/custom/clip-path-child-changes-expected.txt: Removed.
+ * svg/custom/clip-path-child-changes.svg: Removed.
+ * svg/custom/clip-path-href-changes-expected.txt: Removed.
+ * svg/custom/clip-path-href-changes.svg: Removed.
+ * svg/custom/clip-path-id-changes-expected.txt: Removed.
+ * svg/custom/clip-path-id-changes.svg: Removed.
+ * svg/custom/clip-path-referencing-use.svg: Removed.
+ * svg/custom/clip-path-referencing-use2.svg: Removed.
+ * svg/custom/clip-path-units-changes-expected.txt: Removed.
+ * svg/custom/clip-path-units-changes.svg: Removed.
+ * svg/custom/clip-path-with-css-transform-1-expected.txt: Removed.
+ * svg/custom/clip-path-with-css-transform-1.svg: Removed.
+ * svg/custom/clip-path-with-css-transform-2-expected.txt: Removed.
+ * svg/custom/clip-path-with-css-transform-2.svg: Removed.
+ * svg/custom/clip-path-with-transform-expected.txt: Removed.
+ * svg/custom/clip-path-with-transform.svg: Removed.
+ * svg/custom/empty-clip-path.svg: Removed.
+ * svg/custom/recursive-clippath.svg: Removed.
+ * svg/masking/mask-negative-scale.svg: Added.
+ * svg/masking/mast-negative-scale-expected.svg: Added.
+
+2014-02-24 Dirk Schulze <krit@webkit.org>
+
+ Transform more clip-path pixel tests to reference tests
+ https://bugs.webkit.org/show_bug.cgi?id=129230
+
+ Reviewed by Andreas Kling.
+
</ins><span class="cx"> Remove unnecessary pixel test results.
</span><span class="cx">
</span><span class="cx"> * platform/efl/svg/custom/clip-mask-negative-scale-expected.png: Removed.
</span></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathcontentuse007expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-content-use-007-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-content-use-007-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-content-use-007-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green" />
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathcontentuse007svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-content-use-007.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-content-use-007.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-content-use-007.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<defs>
+ <rect width="200" height="200" id="rect"/>
+ <use id="use" xlink:href="#rect"/>
+</defs>
+<clipPath id="clip1">
+ <use xlink:href="#use" />
+</clipPath>
+
+<rect width="400" height="400" fill="red" clip-path="url(#clip1)"/>
+<rect width="200" height="200" fill="green" />
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathcsstransform003expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathcsstransform003svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-css-transform-003.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1">
+ <rect width="400" height="400" style="-webkit-transform: scale(.5); transform: scale(.5);"/>
+</clipPath>
+<rect width="400" height="400" fill="red" clip-path="url(#clip1)"/>
+<rect width="200" height="200" fill="green"/>
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathcsstransform004expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathcsstransform004svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-css-transform-004.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1">
+ <rect width="400" height="400" style="-webkit-transform: scale(.5); transform: scale(.5)"/>
+ <!-- Second rect may causes masking. -->
+ <rect width="400" height="400" style="-webkit-transform: scale(.5); transform: scale(.5)"/>
+</clipPath>
+<rect width="400" height="400" fill="red" clip-path="url(#clip1)"/>
+<rect width="200" height="200" fill="green"/>
+</svg>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdocumentchangeassertexpectedtxtfromrev164591trunkLayoutTestssvgcustomclippathdocumentchangeassertexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert-expected.txt (from rev 164591, trunk/LayoutTests/svg/custom/clip-path-document-change-assert-expected.txt) (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert-expected.txt         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+PASS
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdocumentchangeasserthtmlfromrev164591trunkLayoutTestssvgcustomclippathdocumentchangeasserthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert.html (from rev 164591, trunk/LayoutTests/svg/custom/clip-path-document-change-assert.html) (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert.html         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-document-change-assert.html        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ </head>
+ <body id="bodyRoot">
+ <svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <clipPath id="clipClip">
+ <rect>
+ </rect>
+ </clipPath>
+ <clipPath clip-path="url(#clipClip)">
+ <circle>
+ </circle>
+ </clipPath>
+ </defs>
+ <rect>
+ </rect>
+ </svg>
+ </body>
+ <script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ }
+
+ document.addEventListener("DOMContentLoaded", initCrash, false);
+
+ function initCrash() {
+ var bodyRoot = document.getElementById("bodyRoot");
+ try { document.implementation.createDocument("", "", null).adoptNode(bodyRoot); } catch(e) {}
+ try { bodyRoot.textContent = "" } catch(e) {}
+ document.documentElement.innerHTML = "PASS";
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
+ </script>
+</html>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomchildchangesexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomchildchangessvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-child-changes.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1">
+ <rect width="400" height="400"/>
+</clipPath>
+
+<g clip-path="url(#clip1)">
+ <rect width="400" height="400" fill="red"/>
+ <rect width="200" height="200" fill="green"/>
+</g>
+
+<script>
+var clip = document.getElementById("clip1");
+var rect = clip.firstChild.nextSibling;
+rect.setAttribute("transform", "scale(0.5)");
+</script>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomclippathunitsexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomclippathunitssvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-clippathunits.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1" clipPathUnits="objectBoundingBox">
+ <rect width="200" height="200"/>
+</clipPath>
+
+<rect width="400" height="400" fill="red" clip-path="url(#clip1)"/>
+<rect width="200" height="200" fill="green"/>
+
+<script>
+var clip = document.getElementById("clip1");
+var enumeration = clip.clipPathUnits;
+enumeration.baseVal = 1; // Switch to userSpaceOnUse!
+</script>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomhrefexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-href-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-href-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-href-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomhrefsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-href.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-href.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-href.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1">
+ <rect width="200" height="200"/>
+</clipPath>
+
+<g clip-path="url(#noclip)">
+ <rect width="400" height="400" fill="red"/>
+ <rect width="200" height="200" fill="green"/>
+</g>
+
+<script>
+document.getElementsByTagName("g")[0].setAttribute("clip-path", "url(#clip1)");
+</script>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomidexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-id-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-id-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-id-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathdomidsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-dom-id.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-dom-id.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-dom-id.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="oldclip" clipPathUnits="userSpaceOnUse">
+ <rect width="200" height="200"/>
+</clipPath>
+<g clip-path="url(#newclip)">
+ <rect width="400" height="400" fill="red"/>
+ <rect width="200" height="200" fill="green"/>
+</g>
+<script>
+document.getElementsByTagName("clipPath")[0].setAttribute("id", "newclip");
+</script>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathnegativescaleexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-negative-scale-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-negative-scale-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-negative-scale-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<rect width="90" height="90" fill="green"/>
+<rect x="40" y="40" width="50" height="50" fill="blue"/>
+<rect x="110" width="90" height="90" fill="green"/>
+<rect x="110" y="40" width="50" height="50" fill="blue"/>
+<rect y="110" width="90" height="90" fill="green"/>
+<rect x="40" y="110" width="50" height="50" fill="blue"/>
+<rect x="110" y="110" width="90" height="90" fill="green"/>
+<rect x="110" y="110" width="50" height="50" fill="blue"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathnegativescalesvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-negative-scale.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-negative-scale.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-negative-scale.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<!-- Test for https://bugs.webkit.org/show_bug.cgi?id=97409 -->
+<defs>
+<g id="img" transform="translate(10,10)">
+ <rect width="200" height="200" fill="red"/>
+ <rect width="100" height="100" fill="green"/>
+ <rect width="50" height="50" fill="blue"/>
+</g>
+</defs>
+
+<clipPath id="clip">
+ <rect x="10" y="10" height="90" width="90"/>
+</clipPath>
+
+<g transform="translate(200, 200)">
+<g transform="matrix(1 0 0 1 -100 -100)" clip-path="url(#clip)">
+ <use xlink:href="#img"/>
+</g>
+<g transform="matrix(-1 0 0 -1 -100 -100)" clip-path="url(#clip)">
+ <use xlink:href="#img"/>
+</g>
+<g transform="matrix(-1 0 0 1 -100 -100)" clip-path="url(#clip)">
+ <use xlink:href="#img"/>
+</g>
+<g transform="matrix(1 0 0 -1 -100 -100)" clip-path="url(#clip)">
+ <use xlink:href="#img"/>
+</g>
+</g>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathnocontent004expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-no-content-004-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-no-content-004-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-no-content-004-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathnocontent004svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-no-content-004.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-no-content-004.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-no-content-004.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<!--It tests that an empty clip path clips the referencing graphic. Bug 15289.-->
+<clipPath id="nothing">
+</clipPath>
+<clipPath id="emptyrect">
+ <rect width="0" height="0"/>
+</clipPath>
+
+<rect width="200" height="200" fill="green"/>
+<rect width="200" height="200" fill="red" clip-path="url(#nothing)"/>
+<rect width="200" height="200" fill="red" clip-path="url(#emptyrect)"/>
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathonmarker001expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect x="50" y="50" width="100" height="100" fill="green"/>
+<rect x="50" y="50" width="50" height="50" fill="blue"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathonmarker001svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-on-marker-001.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1" clipPathUnits="objectBoundingBox">
+ <rect width="1" height="1"/>
+</clipPath>
+<marker id="marker1" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="100" markerHeight="100">
+ <rect width="10" height="10" fill="blue"/>
+</marker>
+<path d="M50,50 L150,50 L150,150 L50,150 z" marker-start="url(#marker1)" clip-path="url(#clip1)" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathonmarker002expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect x="50" y="50" width="100" height="100" fill="green"/>
+<rect width="100" height="100" fill="blue"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathonmarker002svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-on-marker-002.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1" clipPathUnits="userSpaceOnUse">
+ <rect width="100%" height="100%"/>
+</clipPath>
+<marker id="marker1" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="100" markerHeight="100">
+ <rect width="10" height="10" fill="blue"/>
+</marker>
+<path d="M50,50 L150,50 L150,150 L50,150 z" marker-start="url(#marker1)" clip-path="url(#clip1)" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathonmarker003expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect x="50" y="50" width="100" height="100" fill="green"/>
+<rect x="50" y="50" width="50" height="50" fill="blue"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathonmarker003svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-on-marker-003.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1" clipPathUnits="objectBoundingBox">
+ <rect width="1" height="1"/>
+</clipPath>
+<marker id="marker1" viewBox="0 0 10 10" refX="5" refY="5" markerWidth="100" markerHeight="100">
+ <rect width="10" height="10" fill="blue"/>
+</marker>
+<path d="M50,50 L150,50 L150,150 L50,150 z" marker-end="url(#marker1)" clip-path="url(#clip1)" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathrecursion001expectedsvgfromrev164591trunkLayoutTestssvgcustomcircularclippathreferencescrashexpectedsvg"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/clip-path/clip-path-recursion-001-expected.svg (from rev 164591, trunk/LayoutTests/svg/custom/circular-clip-path-references-crash-expected.svg) (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-recursion-001-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-recursion-001-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+
+<text x="10" y="75">This test passes if it does not crash.</text>
+
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathrecursion001svgfromrev164591trunkLayoutTestssvgcustomcircularclippathreferencescrashsvg"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/clip-path/clip-path-recursion-001.svg (from rev 164591, trunk/LayoutTests/svg/custom/circular-clip-path-references-crash.svg) (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-recursion-001.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-recursion-001.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<defs>
+ <clipPath id="clip0">
+ <rect width="1" height="1" clip-path="url(#clip)" />
+
+ </clipPath>
+
+ <clipPath id="clip2">
+ <rect width="100" height="100" clip-path="url(#clip0)"/>
+ </clipPath>
+
+ <clipPath id="clip">
+ <rect width="1" height="1" clip-path="url(#clip2)"/>
+ </clipPath>
+
+ <mask id="mask1" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
+ <rect width="1" height="1" clip-path="url(#clip)" />
+ </mask>
+</defs>
+
+<text x="10" y="75">This test passes if it does not crash.</text>
+
+<circle r="50" mask="url(#mask1)"/>
+
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathrecursion002expectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-recursion-002-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-recursion-002-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-recursion-002-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect x="50" y="0" width="100" height="100" fill="blue"/>
+<rect x="50" y="0" width="50" height="50" fill="green"/>
+<rect x="50" y="150" width="100" height="100" fill="blue"/>
+<rect x="50" y="150" width="50" height="50" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathrecursion002svg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-recursion-002.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-recursion-002.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-recursion-002.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
+<defs>
+ <rect x='50' y='150' width='50' height='50' id="rect" fill='none' clip-path='url(#clipPath_1)'/>
+</defs>
+
+<clipPath id='clipPath_0'>
+ <rect x='50' width='50' height='50' clip-path='url(#clipPath_0)'/>
+</clipPath>
+
+<clipPath id='clipPath_1'>
+ <use xlink:href="#rect"/>
+</clipPath>
+
+<!--
+Spec: clip-path: If the IRI reference is not valid (e.g it points to an object that doesn't exist or the object
+ is not a ‘clipPath’ element) the ‘clip-path’ property must be treated as if it hadn't been specified.
+-->
+
+<rect x='50' width='100' height='100' fill='blue'/>
+<rect x='50' width='100' height='100' fill='green' clip-path='url(#clipPath_0)'/>
+
+<rect x='50' y='150' width='100' height='100' fill='blue'/>
+<rect x='50' y='150' width='100' height='100' fill='green' clip-path='url(#clipPath_1)'/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathshapestrokeexpectedsvg"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/svg/clip-path/clip-path-shape-stroke-expected.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-shape-stroke-expected.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/clip-path/clip-path-shape-stroke-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,8 +1,6 @@
</span><span class="cx"> <svg xmlns="http://www.w3.org/2000/svg">
</span><del>-<defs>
- <clipPath id="clip">
- <circle cx="100" cy="100" r="100"/>
- </clipPath>
-</defs>
-<rect x="10" y="10" width="180" height="180" fill="green" stroke="green" stroke-width="20" style="-webkit-clip-path: circle() stroke;"/>
</del><ins>+<clipPath id="clip">
+ <circle cx="100" cy="100" r="100"/>
+</clipPath>
+<rect x="10" y="10" width="180" height="180" fill="green" stroke="green" stroke-width="20" clip-path="url(#clip)"/>
</ins><span class="cx"> </svg>
</span><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathwithtransformexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-with-transform-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-with-transform-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-with-transform-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<rect width="200" height="200" fill="green"/>
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathclippathwithtransformsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/clip-path/clip-path-with-transform.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/clip-path-with-transform.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/clip-path-with-transform.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg">
+<clipPath id="clip1">
+ <rect width="200" height="200" transform="scale(.5)"/>
+</clipPath>
+<rect width="400" height="400" fill="red" clip-path="url(#clip1)"/>
+<rect width="200" height="200" fill="green"/>
+</svg>
+
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathmasknestedclippath010expectedsvgfromrev164591trunkLayoutTestssvgcustomclampedmaskingclippingexpectedsvg"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010-expected.svg (from rev 164591, trunk/LayoutTests/svg/custom/clamped-masking-clipping-expected.svg) (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg" width="10000" height="400">
+ <rect x="99" width="101" height="100" fill="green"/>
+ <rect x="299" width="101" height="100" fill="green"/>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgclippathmasknestedclippath010svgfromrev164591trunkLayoutTestssvgcustomclampedmaskingclippingsvg"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010.svg (from rev 164591, trunk/LayoutTests/svg/custom/clamped-masking-clipping.svg) (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010.svg         (rev 0)
+++ trunk/LayoutTests/svg/clip-path/mask-nested-clip-path-010.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg" width="10000" height="400">
+ <!-- test for https://bugs.webkit.org/show_bug.cgi?id=95197 -->
+ <defs>
+ <mask id="mask">
+ <!-- forcing a repaintRect offset -->
+ <rect x="100" width="1" height="1" fill="black"/>
+ <rect x="200" width="8092" height="100" fill="white"/>
+ </mask>
+
+ <clipPath id="clip1">
+ <!-- forcing clipping via masking -->
+ <path d="M 0 0 V 100 H 10000 V 0 Z"/>
+ </clipPath>
+
+ <clipPath id="clip2" clip-path="url(#clip1)">
+ <path d="M 100 0 H 200 V 200 H 8292 V 0 Z"/>
+ </clipPath>
+
+ <mask id="crop">
+ <rect width="300" height="100" fill="white"/>
+ </mask>
+ </defs>
+
+ <g mask="url(#crop)" transform="translate(-100, 0)">
+ <rect width="10000" height="400" fill="red" mask="url(#mask)"/>
+ <rect x="199" width="101" height="100" fill="green"/>
+ </g>
+
+ <g mask="url(#crop)" transform="translate(100, 0)">
+ <rect width="10000" height="400" fill="red" clip-path="url(#clip2)"/>
+ <rect x="199" width="101" height="100" fill="green"/>
+ </g>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgcustomcircularclippathreferencescrashexpectedsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/circular-clip-path-references-crash-expected.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/circular-clip-path-references-crash-expected.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/circular-clip-path-references-crash-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg">
-
-<text x="10" y="75">This test passes if it does not crash.</text>
-
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomcircularclippathreferencescrashsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/circular-clip-path-references-crash.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/circular-clip-path-references-crash.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/circular-clip-path-references-crash.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg">
-<defs>
- <clipPath id="clip0">
- <rect width="1" height="1" clip-path="url(#clip)" />
-
- </clipPath>
-
- <clipPath id="clip2">
- <rect width="100" height="100" clip-path="url(#clip0)"/>
- </clipPath>
-
- <clipPath id="clip">
- <rect width="1" height="1" clip-path="url(#clip2)"/>
- </clipPath>
-
- <mask id="mask1" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
- <rect width="1" height="1" clip-path="url(#clip)" />
- </mask>
-</defs>
-
-<text x="10" y="75">This test passes if it does not crash.</text>
-
-<circle r="50" mask="url(#mask1)"/>
-
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclampedmaskingclippingexpectedsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clamped-masking-clipping-expected.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clamped-masking-clipping-expected.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clamped-masking-clipping-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg" width="10000" height="400">
- <rect x="99" width="101" height="100" fill="green"/>
- <rect x="299" width="101" height="100" fill="green"/>
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclampedmaskingclippingsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clamped-masking-clipping.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clamped-masking-clipping.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clamped-masking-clipping.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg" width="10000" height="400">
- <!-- test for https://bugs.webkit.org/show_bug.cgi?id=95197 -->
- <defs>
- <mask id="mask">
- <!-- forcing a repaintRect offset -->
- <rect x="100" width="1" height="1" fill="black"/>
- <rect x="200" width="8092" height="100" fill="white"/>
- </mask>
-
- <clipPath id="clip1">
- <!-- forcing clipping via masking -->
- <path d="M 0 0 V 100 H 10000 V 0 Z"/>
- </clipPath>
-
- <clipPath id="clip2" clip-path="url(#clip1)">
- <path d="M 100 0 H 200 V 200 H 8292 V 0 Z"/>
- </clipPath>
-
- <mask id="crop">
- <rect width="300" height="100" fill="white"/>
- </mask>
- </defs>
-
- <g mask="url(#crop)" transform="translate(-100, 0)">
- <rect width="10000" height="400" fill="red" mask="url(#mask)"/>
- <rect x="199" width="101" height="100" fill="green"/>
- </g>
-
- <g mask="url(#crop)" transform="translate(100, 0)">
- <rect width="10000" height="400" fill="red" clip-path="url(#clip2)"/>
- <rect x="199" width="101" height="100" fill="green"/>
- </g>
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclipmasknegativescaleexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-mask-negative-scale-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-mask-negative-scale-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-mask-negative-scale-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 667x404
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="clip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {path} at (280,280) size 120x120 [fill={[type=SOLID] [color=#000000]}] [data="M 10 10 L 100 10 L 100 100 L 10 100 Z"]
- RenderSVGResourceMasker {mask} [id="mask"] [maskUnits=objectBoundingBox] [maskContentUnits=userSpaceOnUse]
- RenderSVGRect {rect} at (280,280) size 120x120 [fill={[type=SOLID] [color=#FFFFFF]}] [x=10.00] [y=10.00] [width=90.00] [height=90.00]
- RenderSVGImage {image} at (280,280) size 267x267
- RenderSVGContainer {g} at (146,146) size 121x121 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
- [masker="mask"] RenderSVGResourceMasker {mask} at (10,10) size 90x90
- RenderSVGContainer {use} at (146,146) size 268x268
- RenderSVGImage {image} at (146,146) size 268x268
- RenderSVGContainer {g} at (0,0) size 120x120 [transform={m=((-1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
- [masker="mask"] RenderSVGResourceMasker {mask} at (10,10) size 90x90
- RenderSVGContainer {use} at (0,0) size 121x121
- RenderSVGImage {image} at (0,0) size 121x121
- RenderSVGContainer {g} at (0,146) size 120x121 [transform={m=((-1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
- [masker="mask"] RenderSVGResourceMasker {mask} at (10,10) size 90x90
- RenderSVGContainer {use} at (0,146) size 121x268
- RenderSVGImage {image} at (0,146) size 121x268
- RenderSVGContainer {g} at (146,0) size 121x120 [transform={m=((1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
- [masker="mask"] RenderSVGResourceMasker {mask} at (10,10) size 90x90
- RenderSVGContainer {use} at (146,0) size 268x121
- RenderSVGImage {image} at (146,0) size 268x121
- RenderSVGContainer {g} at (400,0) size 267x267 [transform={m=((1.00,0.00)(0.00,1.00)) t=(300.00,0.00)}]
- RenderSVGContainer {g} at (546,146) size 121x121 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
- [clipPath="clip"] RenderSVGResourceClipper {clipPath} at (10,10) size 90x90
- RenderSVGContainer {use} at (546,146) size 254x268
- RenderSVGImage {image} at (546,146) size 254x268
- RenderSVGContainer {g} at (400,0) size 120x120 [transform={m=((-1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
- [clipPath="clip"] RenderSVGResourceClipper {clipPath} at (10,10) size 90x90
- RenderSVGContainer {use} at (253,0) size 267x121
- RenderSVGImage {image} at (253,0) size 267x121
- RenderSVGContainer {g} at (400,146) size 120x121 [transform={m=((-1.00,0.00)(0.00,1.00)) t=(-100.00,-100.00)}]
- [clipPath="clip"] RenderSVGResourceClipper {clipPath} at (10,10) size 90x90
- RenderSVGContainer {use} at (253,146) size 267x268
- RenderSVGImage {image} at (253,146) size 267x268
- RenderSVGContainer {g} at (546,0) size 121x120 [transform={m=((1.00,0.00)(0.00,-1.00)) t=(-100.00,-100.00)}]
- [clipPath="clip"] RenderSVGResourceClipper {clipPath} at (10,10) size 90x90
- RenderSVGContainer {use} at (546,0) size 254x121
- RenderSVGImage {image} at (546,0) size 254x121
- RenderSVGText {text} at (-200,91) size 484x12 contains 1 chunk(s)
- RenderSVGInlineText {#text} at (0,0) size 484x12
- chunk 1 text run 1 at (-200.00,100.00) startOffset 0 endOffset 120 width 483.75: "This test passes when it displays two four-square groups, all green and with arrows pointing away from the group center."
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclipmasknegativescalesvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-mask-negative-scale.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-mask-negative-scale.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-mask-negative-scale.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Test for https://bugs.webkit.org/show_bug.cgi?id=97409 -->
-<svg width="800" height="600" viewBox="-200 -200 600 450" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs>
- <clipPath id="clip">
- <path d="M 10 10 h 90 v 90 h -90 z"/>
- </clipPath>
- <mask id="mask">
- <rect x="10" y="10" width="90" height="90" fill="white"/>
- </mask>
- <!--
- This is a 200x200 image, with a green 100x100 rect in the top-left corner and
- a red 100x100 rect in the bottom-right corner, both with arrows pointing right & down.
- The clip/mask above should isolate the green rect, and negative scaling should flip the arrows.
- -->
- <image id="img" x="10" y="10" width="200" height="200" xlink:href="data:image/png;base64,
- iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A
- /wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wJFxAgAOBU/HEAAAAZdEVYdENv
- bW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAACCklEQVR42u3cSw6DMAxAQbvi/ld2T1AEUiEf
- z+xgg5TkKdmQjIoKpmE65vIxBCAQEAgIBAQCAgGBgEBAICAQQCAgEBAICAQEAgIBgbwmTSACEQkC
- EQkzOrZZrBnhd27mDyReXKg54Js4Yi1HHAhEHAhEHAgEBAICAYGAQACBgEBAICAQEAgIBAQCAgGB
- AAIBgYBAQCAgEBAICAQEAhv7z82KefLsah7a7yB18z20O2KVOBDItUjEgUAcqxAICAQQCAgEBAIC
- AYGAQEAgIBAQCCAQEAgIBAQCAgGBgEBAICAQEAggEBAICAQEAgIBgYBAQCAgEEAgIBAQCAgEBAIC
- AYGAQEAgIBBAICAQEAgIBAQCAgGBgECgi6OijMJMMo2BHQQEAgIBgYBAAIGAQEAgIBAQCAgEBAIC
- AYEAAgGBgEAYLQUCvSIRCCI5cZhOi/Wp75ZAWEENiHGXq0AcsVg2SIEgDoEgDoGAQEAgIBBAICAQ
- EAgIBAQCAgGBgEBAICAQQCAgEBAICAQEAgIBgYBAoAs3K24oT57L8NhBuqub7xFI+0jEIRB+RCEO
- geBYJRAQCAgEBAICAYGAQACBgEBAICAQEAgIBAQCAgGBAAIBgYBAQCAgEBAICAQEAgIBgQACAYGA
- QEAgIBAQCAgEBAICAYEAAgGBgEBAICAQEAgIBAQCAgEEAgIBgcCDvlPeI47W7oF7AAAAAElFTkSu
- QmCC
- "/>
- </defs>
-
- <g transform="matrix(1 0 0 1 -100 -100)" mask="url(#mask)">
- <use xlink:href="#img"/>
- </g>
- <g transform="matrix(-1 0 0 -1 -100 -100)" mask="url(#mask)">
- <use xlink:href="#img"/>
- </g>
- <g transform="matrix(-1 0 0 1 -100 -100)" mask="url(#mask)">
- <use xlink:href="#img"/>
- </g>
- <g transform="matrix(1 0 0 -1 -100 -100)" mask="url(#mask)">
- <use xlink:href="#img"/>
- </g>
-
- <g transform="translate(300, 0)">
- <g transform="matrix(1 0 0 1 -100 -100)" clip-path="url(#clip)">
- <use xlink:href="#img"/>
- </g>
- <g transform="matrix(-1 0 0 -1 -100 -100)" clip-path="url(#clip)">
- <use xlink:href="#img"/>
- </g>
- <g transform="matrix(-1 0 0 1 -100 -100)" clip-path="url(#clip)">
- <use xlink:href="#img"/>
- </g>
- <g transform="matrix(1 0 0 -1 -100 -100)" clip-path="url(#clip)">
- <use xlink:href="#img"/>
- </g>
- </g>
-
- <text x="-200" y="100" font-size="10px">
- This test passes when it displays two four-square groups, all green and with arrows pointing away from the group center.
- </text>
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathchildchangesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-child-changes-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-child-changes-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-child-changes-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 100x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {path} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [data="M 0 0 L 200 0 L 200 200 L 0 200 Z"]
- RenderSVGContainer {g} at (0,0) size 100x100
- [clipPath="myclip"] RenderSVGResourceClipper {clipPath} at (0,0) size 100x100
- RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathchildchangessvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-child-changes.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-child-changes.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-child-changes.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,22 +0,0 @@
</span><del>-<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
-<script xlink:href="../../fast/repaint/resources/repaint.js"/>
-<defs>
- <clipPath id="myclip" clipPathUnits="userSpaceOnUse">
- <path transform="scale(1.0)" d="M 0 0 l 200 0 l 0 200 l -200 0 Z"/>
- </clipPath>
-</defs>
-
-<script>
-function repaintTest() {
- var clip = document.getElementById("myclip");
- var path = clip.firstChild.nextSibling;
- path.setAttribute("transform", "scale(0.5)");
-}
-</script>
-
-<g clip-path="url(#myclip)">
-<rect x="0" y="0" width="200" height="200" fill="red"/>
-<rect x="0" y="0" width="100" height="100" fill="green"/>
-</g>
-
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathdocumentchangeassertexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-document-change-assert-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-document-change-assert-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-document-change-assert-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-PASS
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathdocumentchangeasserthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-document-change-assert.html (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-document-change-assert.html        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-document-change-assert.html        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- </head>
- <body id="bodyRoot">
- <svg xmlns="http://www.w3.org/2000/svg">
- <defs>
- <clipPath id="clipClip">
- <rect>
- </rect>
- </clipPath>
- <clipPath clip-path="url(#clipClip)">
- <circle>
- </circle>
- </clipPath>
- </defs>
- <rect>
- </rect>
- </svg>
- </body>
- <script>
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- }
-
- document.addEventListener("DOMContentLoaded", initCrash, false);
-
- function initCrash() {
- var bodyRoot = document.getElementById("bodyRoot");
- try { document.implementation.createDocument("", "", null).adoptNode(bodyRoot); } catch(e) {}
- try { bodyRoot.textContent = "" } catch(e) {}
- document.documentElement.innerHTML = "PASS";
-
- if (window.testRunner)
- testRunner.notifyDone();
- }
- </script>
-</html>
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathhrefchangesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-href-changes-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-href-changes-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-href-changes-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 100x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {path} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [data="M 0 0 L 200 0 L 200 200 L 0 200 Z"]
- RenderSVGContainer {g} at (0,0) size 100x100
- [clipPath="myclip"] RenderSVGResourceClipper {clipPath} at (0,0) size 100x100
- RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathhrefchangessvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-href-changes.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-href-changes.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-href-changes.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
-<script xlink:href="../../fast/repaint/resources/repaint.js"/>
-<defs>
- <clipPath id="myclip" clipPathUnits="userSpaceOnUse">
- <path transform="scale(.5)" d="M 0 0 l 200 0 l 0 200 l -200 0 Z"/>
- </clipPath>
-</defs>
-
-<script>
-function repaintTest() {
- document.getElementsByTagName("g")[0].setAttribute("clip-path", "url(#myclip)");
-}
-</script>
-
-<g clip-path="url(#noclip)">
-<rect x="0" y="0" width="200" height="200" fill="red"/>
-<rect x="0" y="0" width="100" height="100" fill="green"/>
-</g>
-
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathidchangesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-id-changes-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-id-changes-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-id-changes-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 100x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="newclip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {path} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [data="M 0 0 L 200 0 L 200 200 L 0 200 Z"]
- RenderSVGContainer {g} at (0,0) size 100x100
- [clipPath="newclip"] RenderSVGResourceClipper {clipPath} at (0,0) size 100x100
- RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathidchangessvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-id-changes.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-id-changes.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-id-changes.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
-<script xlink:href="../../fast/repaint/resources/repaint.js"/>
-<defs>
- <clipPath id="oldclip" clipPathUnits="userSpaceOnUse">
- <path transform="scale(.5)" d="M 0 0 l 200 0 l 0 200 l -200 0 Z"/>
- </clipPath>
-</defs>
-
-<script>
-function repaintTest() {
- document.getElementsByTagName("clipPath")[0].setAttribute("id", "newclip");
-}
-</script>
-
-<g clip-path="url(#newclip)">
-<rect x="0" y="0" width="200" height="200" fill="red"/>
-<rect x="0" y="0" width="100" height="100" fill="green"/>
-</g>
-
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathreferencingusesvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-referencing-use.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-referencing-use.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-referencing-use.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs>
- <rect id="rect" width="100" height="100" />
- <clipPath id="clip">
- <use xlink:href="#rect" />
- </clipPath>
- </defs>
-
- <g clip-path="url(#clip)">
- <rect width="200" height="200" fill="red" />
- <rect width="100" height="100" fill="green" />
- </g>
-
- <text x="10" y="120">The graphic above uses a 100x100 clipPath referencing a rectangle using use.</text>
- <text x="10" y="140">It should clip the 200x200 red rectangle out and leave a 100x100 green rectangle. Bug 16557. </text>
-</svg>
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathreferencinguse2svg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-referencing-use2.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-referencing-use2.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-referencing-use2.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs>
- <rect width="50" height="50" id="rect"/>
- <use id="use" xlink:href="#rect"/>
- <clipPath id="clip">
- <use xlink:href="#use" />
- </clipPath>
- </defs>
-
- <rect width="100" height="100" fill="green" />
- <g clip-path="url(#clip)">
- <rect width="100" height="100" fill="red" />
- </g>
-
- <text x="10" y="120">The graphic above should show a 100x100 green rectangle.</text>
- <text x="10" y="140">The red rectangle should not show since it uses a clipping path that uses an indirect reference.</text>
-</svg>
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathunitschangesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-units-changes-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-units-changes-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-units-changes-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 100x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {path} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [data="M 0 0 L 200 0 L 200 200 L 0 200 Z"]
- RenderSVGContainer {g} at (0,0) size 100x100
- [clipPath="myclip"] RenderSVGResourceClipper {clipPath} at (0,0) size 100x100
- RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathunitschangessvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-units-changes.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-units-changes.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-units-changes.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
-<script xlink:href="../../fast/repaint/resources/repaint.js"/>
-<defs>
- <clipPath id="myclip" clipPathUnits="objectBoundingBox">
- <path transform="scale(.5)" d="M 0 0 l 200 0 l 0 200 l -200 0 Z"/>
- </clipPath>
-</defs>
-
-<script>
-function repaintTest() {
- var clip = document.getElementById("myclip");
-
- var enumeration = clip.clipPathUnits;
- enumeration.baseVal = 1; // Switch to userSpaceOnUse!
-}
-</script>
-
-<g clip-path="url(#myclip)">
-<rect x="0" y="0" width="200" height="200" fill="red"/>
-<rect x="0" y="0" width="100" height="100" fill="green"/>
-</g>
-
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathwithcsstransform1expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 100x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {path} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [data="M 0 0 L 200 0 L 200 200 L 0 200 Z"]
- RenderSVGContainer {g} at (0,0) size 100x100
- [clipPath="myclip"] RenderSVGResourceClipper {clipPath} at (0,0) size 100x100
- RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathwithcsstransform1svg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-with-css-transform-1.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink">
-<defs>
- <clipPath id="myclip">
- <path style="-webkit-transform: scale(.5)" d="M 0 0 l 200 0 l 0 200 l -200 0 Z"/>
- </clipPath>
-</defs>
-<g clip-path="url(#myclip)">
-<rect x="0" y="0" width="200" height="200" fill="red"/>
-<rect x="0" y="0" width="100" height="100" fill="green"/>
-</g>
-</svg>
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathwithcsstransform2expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 100x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGRect {rect} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGContainer {g} at (0,0) size 100x100
- [clipPath="myclip"] RenderSVGResourceClipper {clipPath} at (0,0) size 100x100
- RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathwithcsstransform2svg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-with-css-transform-2.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink">
-<defs>
- <clipPath id="myclip">
- <rect x="0" y="0" width="200" height="200" style="-webkit-transform: scale(.5)"/>
- <!-- second rect causes masking -->
- <rect x="0" y="0" width="200" height="200" style="-webkit-transform: scale(.5)"/>
- </clipPath>
-</defs>
-<g clip-path="url(#myclip)">
- <rect x="0" y="0" width="200" height="200" fill="red"/>
- <rect x="0" y="0" width="100" height="100" fill="green"/>
-</g>
-</svg>
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathwithtransformexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-with-transform-expected.txt (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-with-transform-expected.txt        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-with-transform-expected.txt        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 100x100
- RenderSVGHiddenContainer {defs} at (0,0) size 0x0
- RenderSVGResourceClipper {clipPath} [id="myclip"] [clipPathUnits=userSpaceOnUse]
- RenderSVGPath {path} at (0,0) size 100x100 [transform={m=((0.50,0.00)(0.00,0.50)) t=(0.00,0.00)}] [fill={[type=SOLID] [color=#000000]}] [data="M 0 0 L 200 0 L 200 200 L 0 200 Z"]
- RenderSVGContainer {g} at (0,0) size 100x100
- [clipPath="myclip"] RenderSVGResourceClipper {clipPath} at (0,0) size 100x100
- RenderSVGRect {rect} at (0,0) size 200x200 [fill={[type=SOLID] [color=#FF0000]}] [x=0.00] [y=0.00] [width=200.00] [height=200.00]
- RenderSVGRect {rect} at (0,0) size 100x100 [fill={[type=SOLID] [color=#008000]}] [x=0.00] [y=0.00] [width=100.00] [height=100.00]
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomclippathwithtransformsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/clip-path-with-transform.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/clip-path-with-transform.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/clip-path-with-transform.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-<?xml version="1.0"?>
-<svg xmlns="http://www.w3.org/2000/svg"
- xmlns:xlink="http://www.w3.org/1999/xlink">
-<defs>
- <clipPath id="myclip">
- <path transform="scale(.5)" d="M 0 0 l 200 0 l 0 200 l -200 0 Z"/>
- </clipPath>
-</defs>
-<g clip-path="url(#myclip)">
-<rect x="0" y="0" width="200" height="200" fill="red"/>
-<rect x="0" y="0" width="100" height="100" fill="green"/>
-</g>
-</svg>
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomemptyclippathsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/empty-clip-path.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/empty-clip-path.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/empty-clip-path.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-<svg xmlns="http://www.w3.org/2000/svg">
- <defs>
- <clipPath id="nothing">
- </clipPath>
- <clipPath id="emptyrect">
- <rect width="0" height="0"/>
- </clipPath>
- </defs>
-
- <rect fill="green" width="100" height="100"/>
- <g clip-path="url(#nothing)" >
- <rect width="100" height="100" fill="red"/>
- </g>
- <g clip-path="url(#emptyrect)" >
- <rect width="100" height="100" fill="red"/>
- </g>
-
- <g>
- <text y="130">Above a green rectangle should be displayed.</text>
- <text y="150">It tests that an empty clip path clips the referencing graphic. Bug 15289.</text>
- </g>
-</svg>
-
</del></span></pre></div>
<a id="trunkLayoutTestssvgcustomrecursiveclippathsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/svg/custom/recursive-clippath.svg (164591 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/custom/recursive-clippath.svg        2014-02-24 18:32:52 UTC (rev 164591)
+++ trunk/LayoutTests/svg/custom/recursive-clippath.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
-<defs>
- <clipPath id='clipPath_0'>
- <rect x='50' y='0' width='50' height='50' fill='none' clip-path='url(#clipPath_0)'/>
- </clipPath>
-
- <rect x='50' y='150' width='50' height='50' id="rect" fill='none' clip-path='url(#clipPath_1)'/>
- <clipPath id='clipPath_1'>
- <use xlink:href="#rect"/>
- </clipPath>
-</defs>
-
-<!--
-Spec: clip-path: If the IRI reference is not valid (e.g it points to an object that doesn't exist or the object
- is not a ‘clipPath’ element) the ‘clip-path’ property must be treated as if it hadn't been specified.
--->
-
-<rect x='50' y='0' width='100' height='100' fill='blue'/>
-<rect x='50' y='0' width='100' height='100' fill='green' clip-path='url(#clipPath_0)'/>
-
-<rect x='50' y='150' width='100' height='100' fill='blue'/>
-<rect x='50' y='150' width='100' height='100' fill='green' clip-path='url(#clipPath_1)'/>
-
-<line x1="175" x2="175" y1="0" y2="250" stroke="red"/>
-<text text-anchor="middle" x="175" y="300">Both sides of the red line should look identical</text>
-
-<!-- This is the reference rendering -->
-<g transform="translate(150,0)">
- <rect x="50" y="0" width="100" height="100" fill="blue"/>
- <rect x="50" y="0" width="50" height="50" fill="green"/>
- <rect x="50" y="150" width="100" height="100" fill="blue"/>
- <rect x="50" y="150" width="50" height="50" fill="green"/>
-</g>
-</svg>
</del></span></pre></div>
<a id="trunkLayoutTestssvgmaskingmasknegativescalesvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/masking/mask-negative-scale.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/masking/mask-negative-scale.svg         (rev 0)
+++ trunk/LayoutTests/svg/masking/mask-negative-scale.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<!-- Test for https://bugs.webkit.org/show_bug.cgi?id=97409 -->
+<defs>
+<g id="img" transform="translate(10,10)">
+ <rect width="200" height="200" fill="red"/>
+ <rect width="100" height="100" fill="green"/>
+ <rect width="50" height="50" fill="blue"/>
+</g>
+</defs>
+
+<mask id="mask">
+ <rect x="10" y="10" width="90" height="90" fill="white"/>
+</mask>
+
+<g transform="translate(200, 200)">
+<g transform="matrix(1 0 0 1 -100 -100)" clip-path="url(#mask)">
+ <use xlink:href="#img"/>
+</g>
+<g transform="matrix(-1 0 0 -1 -100 -100)" clip-path="url(#mask)">
+ <use xlink:href="#img"/>
+</g>
+<g transform="matrix(-1 0 0 1 -100 -100)" clip-path="url(#mask)">
+ <use xlink:href="#img"/>
+</g>
+<g transform="matrix(1 0 0 -1 -100 -100)" clip-path="url(#mask)">
+ <use xlink:href="#img"/>
+</g>
+</g>
+</svg>
</ins></span></pre></div>
<a id="trunkLayoutTestssvgmaskingmastnegativescaleexpectedsvg"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/svg/masking/mast-negative-scale-expected.svg (0 => 164592)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/svg/masking/mast-negative-scale-expected.svg         (rev 0)
+++ trunk/LayoutTests/svg/masking/mast-negative-scale-expected.svg        2014-02-24 18:34:51 UTC (rev 164592)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<rect width="90" height="90" fill="green"/>
+<rect x="40" y="40" width="50" height="50" fill="blue"/>
+<rect x="110" width="90" height="90" fill="green"/>
+<rect x="110" y="40" width="50" height="50" fill="blue"/>
+<rect y="110" width="90" height="90" fill="green"/>
+<rect x="40" y="110" width="50" height="50" fill="blue"/>
+<rect x="110" y="110" width="90" height="90" fill="green"/>
+<rect x="110" y="110" width="50" height="50" fill="blue"/>
+</svg>
</ins></span></pre>
</div>
</div>
</body>
</html>