<!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>[165638] 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/165638">165638</a></dd>
<dt>Author</dt> <dd>betravis@adobe.com</dd>
<dt>Date</dt> <dd>2014-03-14 13:01:28 -0700 (Fri, 14 Mar 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>[CSS Shapes] polygon default fill-rule should be omitted from the serialization
https://bugs.webkit.org/show_bug.cgi?id=129840

Reviewed by Dirk Schulze.

Source/WebCore:

Modifying the default polygon string opening to be &quot;polygon(&quot; rather than
&quot;polygon(nonzero&quot;.

Updated existing parsing tests.

* css/CSSBasicShapes.cpp:
(WebCore::buildPolygonString):

LayoutTests:

Modifying tests to expect the default fill-rule to be omitted. In addition,
animation-test-helpers now parses its arguments as an unbounded list, rather
than as a fixed number of capturing parentheses.

* animations/resources/animation-test-helpers.js:
* css3/masking/clip-path-animation-expected.txt:
* css3/masking/clip-path-animation.html:
* fast/masking/parsing-clip-path-shape-expected.txt:
* fast/masking/parsing-clip-path-shape.html:
* fast/shapes/parsing/parsing-shape-inside-expected.txt:
* fast/shapes/parsing/parsing-shape-lengths-expected.txt:
* fast/shapes/parsing/parsing-shape-lengths.html:
* fast/shapes/parsing/parsing-shape-outside-expected.txt:
* fast/shapes/parsing/parsing-test-utils.js:
* fast/shapes/shape-inside/shape-inside-animation-expected.txt:
* fast/shapes/shape-inside/shape-inside-animation.html:
* fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt:
* fast/shapes/shape-outside-floats/shape-outside-animation.html:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsanimationsresourcesanimationtesthelpersjs">trunk/LayoutTests/animations/resources/animation-test-helpers.js</a></li>
<li><a href="#trunkLayoutTestscss3maskingclippathanimationexpectedtxt">trunk/LayoutTests/css3/masking/clip-path-animation-expected.txt</a></li>
<li><a href="#trunkLayoutTestscss3maskingclippathanimationhtml">trunk/LayoutTests/css3/masking/clip-path-animation.html</a></li>
<li><a href="#trunkLayoutTestsfastmaskingparsingclippathshapeexpectedtxt">trunk/LayoutTests/fast/masking/parsing-clip-path-shape-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastmaskingparsingclippathshapehtml">trunk/LayoutTests/fast/masking/parsing-clip-path-shape.html</a></li>
<li><a href="#trunkLayoutTestsfastshapesparsingparsingshapeinsideexpectedtxt">trunk/LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastshapesparsingparsingshapelengthsexpectedtxt">trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastshapesparsingparsingshapelengthshtml">trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html</a></li>
<li><a href="#trunkLayoutTestsfastshapesparsingparsingshapeoutsideexpectedtxt">trunk/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastshapesparsingparsingtestutilsjs">trunk/LayoutTests/fast/shapes/parsing/parsing-test-utils.js</a></li>
<li><a href="#trunkLayoutTestsfastshapesshapeinsideshapeinsideanimationexpectedtxt">trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastshapesshapeinsideshapeinsideanimationhtml">trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html</a></li>
<li><a href="#trunkLayoutTestsfastshapesshapeoutsidefloatsshapeoutsideanimationexpectedtxt">trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastshapesshapeoutsidefloatsshapeoutsideanimationhtml">trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssCSSBasicShapescpp">trunk/Source/WebCore/css/CSSBasicShapes.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/ChangeLog        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -1,3 +1,29 @@
</span><ins>+2014-03-14  Bear Travis  &lt;betravis@adobe.com&gt;
+
+        [CSS Shapes] polygon default fill-rule should be omitted from the serialization
+        https://bugs.webkit.org/show_bug.cgi?id=129840
+
+        Reviewed by Dirk Schulze.
+
+        Modifying tests to expect the default fill-rule to be omitted. In addition,
+        animation-test-helpers now parses its arguments as an unbounded list, rather
+        than as a fixed number of capturing parentheses.
+
+        * animations/resources/animation-test-helpers.js:
+        * css3/masking/clip-path-animation-expected.txt:
+        * css3/masking/clip-path-animation.html:
+        * fast/masking/parsing-clip-path-shape-expected.txt:
+        * fast/masking/parsing-clip-path-shape.html:
+        * fast/shapes/parsing/parsing-shape-inside-expected.txt:
+        * fast/shapes/parsing/parsing-shape-lengths-expected.txt:
+        * fast/shapes/parsing/parsing-shape-lengths.html:
+        * fast/shapes/parsing/parsing-shape-outside-expected.txt:
+        * fast/shapes/parsing/parsing-test-utils.js:
+        * fast/shapes/shape-inside/shape-inside-animation-expected.txt:
+        * fast/shapes/shape-inside/shape-inside-animation.html:
+        * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt:
+        * fast/shapes/shape-outside-floats/shape-outside-animation.html:
+
</ins><span class="cx"> 2014-03-14  James Craig  &lt;jcraig@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Web Inspector: AXI: Expose Accessibility Tree parent of the selected node
</span></span></pre></div>
<a id="trunkLayoutTestsanimationsresourcesanimationtesthelpersjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/animations/resources/animation-test-helpers.js (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/animations/resources/animation-test-helpers.js        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/animations/resources/animation-test-helpers.js        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -191,7 +191,12 @@
</span><span class="cx">         matches = s.match(&quot;ellipse\\((.*)\\s+(.*)\\s+at\\s+(.*)\\s+(.*)\\)&quot;);
</span><span class="cx">         break;
</span><span class="cx">     case &quot;polygon&quot;:
</span><del>-        matches = s.match(&quot;polygon\\((evenodd|nonzero), (.*)\\s+(.*)\\s*,\\s*(.*)\\s+(.*)\\s*,\\s*(.*)\\s+(.*)\\s*,\\s*(.*)\\s+(.*)\\)&quot;);
</del><ins>+        matches = s.match(&quot;polygon\\(\\s*(.*)\\s*\\)&quot;);
+        matches = matches[1].split(/\s*,\s*/);
+        matches = matches.map(function(match) {
+            return match.split(/\s+/);
+        });
+        matches = Array.prototype.concat.apply([s], matches);
</ins><span class="cx">         break;
</span><span class="cx">     default:
</span><span class="cx">         return null;
</span></span></pre></div>
<a id="trunkLayoutTestscss3maskingclippathanimationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/css3/masking/clip-path-animation-expected.txt (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/css3/masking/clip-path-animation-expected.txt        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/css3/masking/clip-path-animation-expected.txt        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -2,6 +2,6 @@
</span><span class="cx"> PASS - &quot;webkitClipPath&quot; property for &quot;inset-box&quot; element at 1s saw something close to: inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)
</span><span class="cx"> PASS - &quot;webkitClipPath&quot; property for &quot;circle-box&quot; element at 1s saw something close to: circle(35% at 35% 35%)
</span><span class="cx"> PASS - &quot;webkitClipPath&quot; property for &quot;ellipse-box&quot; element at 1s saw something close to: ellipse(35% 30% at 35% 35%)
</span><del>-PASS - &quot;webkitClipPath&quot; property for &quot;polygon-box&quot; element at 1s saw something close to: polygon(nonzero, 10% 10%, 90% 10%, 90% 90%, 10% 90%)
-PASS - &quot;webkitClipPath&quot; property for &quot;none-box&quot; element at 1s saw something close to: polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%)
</del><ins>+PASS - &quot;webkitClipPath&quot; property for &quot;polygon-box&quot; element at 1s saw something close to: polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)
+PASS - &quot;webkitClipPath&quot; property for &quot;none-box&quot; element at 1s saw something close to: polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%)
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestscss3maskingclippathanimationhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/css3/masking/clip-path-animation.html (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/css3/masking/clip-path-animation.html        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/css3/masking/clip-path-animation.html        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -65,8 +65,8 @@
</span><span class="cx">       [&quot;inset-anim&quot;,  1, &quot;inset-box&quot;, &quot;webkitClipPath&quot;, &quot;inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)&quot;, 0.05],
</span><span class="cx">       [&quot;circle-anim&quot;,  1, &quot;circle-box&quot;, &quot;webkitClipPath&quot;, &quot;circle(35% at 35% 35%)&quot;, 0.05],
</span><span class="cx">       [&quot;ellipse-anim&quot;,  1, &quot;ellipse-box&quot;, &quot;webkitClipPath&quot;, &quot;ellipse(35% 30% at 35% 35%)&quot;, 0.05],
</span><del>-      [&quot;polygon-anim&quot;,  1, &quot;polygon-box&quot;, &quot;webkitClipPath&quot;, &quot;polygon(nonzero, 10% 10%, 90% 10%, 90% 90%, 10% 90%)&quot;, 0.05],
-      [&quot;none-anim&quot;,  1, &quot;none-box&quot;, &quot;webkitClipPath&quot;, &quot;polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%)&quot;, 0],
</del><ins>+      [&quot;polygon-anim&quot;,  1, &quot;polygon-box&quot;, &quot;webkitClipPath&quot;, &quot;polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)&quot;, 0.05],
+      [&quot;none-anim&quot;,  1, &quot;none-box&quot;, &quot;webkitClipPath&quot;, &quot;polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%)&quot;, 0],
</ins><span class="cx">     ];
</span><span class="cx">     
</span><span class="cx">     runAnimationTest(expectedValues);
</span></span></pre></div>
<a id="trunkLayoutTestsfastmaskingparsingclippathshapeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/masking/parsing-clip-path-shape-expected.txt (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/masking/parsing-clip-path-shape-expected.txt        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/masking/parsing-clip-path-shape-expected.txt        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> PASS computedStyle(&quot;-webkit-clip-path&quot;, &quot;circle(150% at 50% 100%)&quot;) is &quot;circle(150% at 50% 100%)&quot;
</span><span class="cx"> PASS computedStyle(&quot;-webkit-clip-path&quot;, &quot;inset(45% 45% 90% 60% round 25% 10%)&quot;) is &quot;inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)&quot;
</span><span class="cx"> PASS computedStyle(&quot;-webkit-clip-path&quot;, &quot;ellipse(100% 100% at 100% 100%)&quot;) is &quot;ellipse(100% 100% at 100% 100%)&quot;
</span><del>-PASS computedStyle(&quot;-webkit-clip-path&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;) is &quot;polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)&quot;
</del><ins>+PASS computedStyle(&quot;-webkit-clip-path&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;) is &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;
</ins><span class="cx"> PASS innerStyle(&quot;-webkit-clip-path&quot;, &quot;content-box&quot;) is &quot;content-box&quot;
</span><span class="cx"> PASS innerStyle(&quot;-webkit-clip-path&quot;, &quot;padding-box&quot;) is &quot;padding-box&quot;
</span><span class="cx"> PASS innerStyle(&quot;-webkit-clip-path&quot;, &quot;border-box&quot;) is &quot;border-box&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsfastmaskingparsingclippathshapehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/masking/parsing-clip-path-shape.html (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/masking/parsing-clip-path-shape.html        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/masking/parsing-clip-path-shape.html        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -71,7 +71,7 @@
</span><span class="cx"> testComputed(&quot;-webkit-clip-path&quot;, &quot;circle(150% at 50% 100%)&quot;, &quot;circle(150% at 50% 100%)&quot;);
</span><span class="cx"> testComputed(&quot;-webkit-clip-path&quot;, &quot;inset(45% 45% 90% 60% round 25% 10%)&quot;, &quot;inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)&quot;);
</span><span class="cx"> testComputed(&quot;-webkit-clip-path&quot;, &quot;ellipse(100% 100% at 100% 100%)&quot;, &quot;ellipse(100% 100% at 100% 100%)&quot;);
</span><del>-testComputed(&quot;-webkit-clip-path&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;, &quot;polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)&quot;);
</del><ins>+testComputed(&quot;-webkit-clip-path&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;);
</ins><span class="cx"> 
</span><span class="cx"> // boxes
</span><span class="cx"> testInner(&quot;-webkit-clip-path&quot;, &quot;content-box&quot;, &quot;content-box&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesparsingparsingshapeinsideexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/parsing/parsing-shape-inside-expected.txt        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -121,12 +121,12 @@
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;ellipse(10px 10px at right 10% bottom 10%)&quot;) is &quot;ellipse(10px 10px at 90% 90%)&quot;
</span><span class="cx"> PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;ellipse(10px 10px at right 0px bottom 0px)&quot;) is &quot;ellipse(10px 10px at 100% 100%)&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;ellipse(10px 10px at right 0px bottom 0px)&quot;) is &quot;ellipse(10px 10px at 100% 100%)&quot;
</span><del>-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
</del><ins>+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
</ins><span class="cx"> PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;
</span><del>-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
</del><ins>+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
</ins><span class="cx"> PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;content-box&quot;) is &quot;content-box&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;content-box&quot;) is &quot;content-box&quot;
</span><span class="cx"> PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;padding-box&quot;) is &quot;padding-box&quot;
</span><span class="lines">@@ -135,22 +135,22 @@
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;border-box&quot;) is &quot;border-box&quot;
</span><span class="cx"> PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;margin-box&quot;) is &quot;margin-box&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;margin-box&quot;) is &quot;margin-box&quot;
</span><del>-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;
-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;
-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;
-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;
-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;
-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;
-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;
-PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;
</del><ins>+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;
+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;
+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;
+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;
+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;content-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;
+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;padding-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;
+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;border-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;
+PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;margin-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;
</ins><span class="cx"> PASS getCSSText(&quot;-webkit-shape-inside&quot;, &quot;outside-shape&quot;) is &quot;outside-shape&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;outside-shape&quot;) is &quot;outside-shape&quot;
</span><span class="cx"> PASS removeBaseURL(getCSSText(&quot;-webkit-shape-inside&quot;, &quot;url('image')&quot;)) is &quot;url(image)&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesparsingparsingshapelengthsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -28,11 +28,11 @@
</span><span class="cx"> PASS getStyleValue(&quot;-webkit-shape-inside&quot;, &quot;circle(100% at 100% 100%)&quot;) is &quot;circle(100% at 100% 100%)&quot;
</span><span class="cx"> PASS getStyleValue(&quot;-webkit-shape-inside&quot;, &quot;inset(45% 45% 90% 60% round 25% 10%)&quot;) is &quot;inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)&quot;
</span><span class="cx"> PASS getStyleValue(&quot;-webkit-shape-inside&quot;, &quot;ellipse(100% 100% at 100% 100%)&quot;) is &quot;ellipse(100% 100% at 100% 100%)&quot;
</span><del>-PASS getStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;) is &quot;polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)&quot;
</del><ins>+PASS getStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;) is &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;
</ins><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;circle(150% at 50% 100%)&quot;) is &quot;circle(150% at 50% 100%)&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;inset(45% 45% 90% 60% round 25% 10%)&quot;) is &quot;inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;ellipse(100% 100% at 100% 100%)&quot;) is &quot;ellipse(100% 100% at 100% 100%)&quot;
</span><del>-PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;) is &quot;polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)&quot;
</del><ins>+PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;) is &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;
</ins><span class="cx"> PASS getStyleValue(&quot;-webkit-shape-inside&quot;, &quot;circle(1 at 1px 1px)&quot;) is null
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-inside&quot;, &quot;circle(1 at 1px 1px)&quot;) is &quot;none&quot;
</span><span class="cx"> PASS getStyleValue(&quot;-webkit-shape-inside&quot;, &quot;circle(px at 1px 1px)&quot;) is null
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesparsingparsingshapelengthshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -72,12 +72,12 @@
</span><span class="cx"> testStyleValue(&quot;circle(100% at 100% 100%)&quot;, &quot;circle(100% at 100% 100%)&quot;);
</span><span class="cx"> testStyleValue(&quot;inset(45% 45% 90% 60% round 25% 10%)&quot;, &quot;inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)&quot;);
</span><span class="cx"> testStyleValue(&quot;ellipse(100% 100% at 100% 100%)&quot;, &quot;ellipse(100% 100% at 100% 100%)&quot;);
</span><del>-testStyleValue(&quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;, &quot;polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)&quot;);
</del><ins>+testStyleValue(&quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;);
</ins><span class="cx"> 
</span><span class="cx"> testComputedStyleValue(&quot;circle(150% at 50% 100%)&quot;, &quot;circle(150% at 50% 100%)&quot;);
</span><span class="cx"> testComputedStyleValue(&quot;inset(45% 45% 90% 60% round 25% 10%)&quot;, &quot;inset(45% 45% 90% 60% round 25% 10% 25% 10% / 25% 10% 25% 10%)&quot;);
</span><span class="cx"> testComputedStyleValue(&quot;ellipse(100% 100% at 100% 100%)&quot;, &quot;ellipse(100% 100% at 100% 100%)&quot;);
</span><del>-testComputedStyleValue(&quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;, &quot;polygon(nonzero, 10% 20%, 30% 40%, 40% 50%)&quot;);
</del><ins>+testComputedStyleValue(&quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;, &quot;polygon(10% 20%, 30% 40%, 40% 50%)&quot;);
</ins><span class="cx"> 
</span><span class="cx"> // reject non-lengths
</span><span class="cx"> testInvalidValue(&quot;-webkit-shape-outside&quot;, &quot;circle(1 at 1px 1px)&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesparsingparsingshapeoutsideexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/parsing/parsing-shape-outside-expected.txt        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -121,12 +121,12 @@
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;ellipse(10px 10px at right 10% bottom 10%)&quot;) is &quot;ellipse(10px 10px at 90% 90%)&quot;
</span><span class="cx"> PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;ellipse(10px 10px at right 0px bottom 0px)&quot;) is &quot;ellipse(10px 10px at 100% 100%)&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;ellipse(10px 10px at right 0px bottom 0px)&quot;) is &quot;ellipse(10px 10px at 100% 100%)&quot;
</span><del>-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
</del><ins>+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
</ins><span class="cx"> PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;
</span><del>-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;
</del><ins>+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;) is &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;
</ins><span class="cx"> PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;content-box&quot;) is &quot;content-box&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;content-box&quot;) is &quot;content-box&quot;
</span><span class="cx"> PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;padding-box&quot;) is &quot;padding-box&quot;
</span><span class="lines">@@ -135,22 +135,22 @@
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;border-box&quot;) is &quot;border-box&quot;
</span><span class="cx"> PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;margin-box&quot;) is &quot;margin-box&quot;
</span><span class="cx"> PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;margin-box&quot;) is &quot;margin-box&quot;
</span><del>-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;
-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;
-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;
-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;
-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;
-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;
-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;
-PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;
-PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;
</del><ins>+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;
+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;
+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;
+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;
+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;content-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;
+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;padding-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;
+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;border-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;
+PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;margin-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;
+PASS getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;) is &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;
</ins><span class="cx"> PASS removeBaseURL(getCSSText(&quot;-webkit-shape-outside&quot;, &quot;url('image')&quot;)) is &quot;url(image)&quot;
</span><span class="cx"> PASS removeBaseURL(getComputedStyleValue(&quot;-webkit-shape-outside&quot;, &quot;url('image')&quot;)) is &quot;url(image)&quot;
</span><span class="cx"> PASS getCSSText(&quot;-webkit-shape-outside&quot;, &quot;calc()&quot;) is &quot;&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesparsingparsingtestutilsjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/parsing/parsing-test-utils.js (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/parsing/parsing-test-utils.js        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/parsing/parsing-test-utils.js        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -68,24 +68,24 @@
</span><span class="cx">     [&quot;ellipse(10px 10px at right 10% bottom 10%)&quot;, &quot;ellipse(10px 10px at 90% 90%)&quot;],
</span><span class="cx">     [&quot;ellipse(10px 10px at right 0px bottom 0px)&quot;, &quot;ellipse(10px 10px at 100% 100%)&quot;],
</span><span class="cx"> 
</span><del>-    [&quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;],
</del><ins>+    [&quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;],
</ins><span class="cx">     [&quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;, &quot;polygon(evenodd, 10px 20px, 30px 40px, 40px 50px)&quot;],
</span><del>-    [&quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;, &quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;],
</del><ins>+    [&quot;polygon(nonzero, 10px 20px, 30px 40px, 40px 50px)&quot;, &quot;polygon(10px 20px, 30px 40px, 40px 50px)&quot;],
</ins><span class="cx"> 
</span><span class="cx">     &quot;content-box&quot;,
</span><span class="cx">     &quot;padding-box&quot;,
</span><span class="cx">     &quot;border-box&quot;,
</span><span class="cx">     &quot;margin-box&quot;,
</span><span class="cx"> 
</span><del>-    &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;,
-    &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;,
-    &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;,
-    &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;,
</del><ins>+    [&quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;],
+    [&quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;],
+    [&quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;],
+    [&quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;],
</ins><span class="cx"> 
</span><del>-    [&quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) content-box&quot;],
-    [&quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) padding-box&quot;],
-    [&quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) border-box&quot;],
-    [&quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(nonzero, 0px 0px, 10px 10px, 10px 0px) margin-box&quot;]
</del><ins>+    [&quot;content-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;content-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) content-box&quot;],
+    [&quot;padding-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;padding-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) padding-box&quot;],
+    [&quot;border-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;border-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) border-box&quot;],
+    [&quot;margin-box polygon(nonzero, 0px 0px, 10px 10px, 10px 0px)&quot;, &quot;margin-box polygon(0px 0px, 10px 10px, 10px 0px)&quot;, &quot;polygon(0px 0px, 10px 10px, 10px 0px) margin-box&quot;]
</ins><span class="cx"> ];
</span><span class="cx"> 
</span><span class="cx"> // Invalid values for both shape-inside and shape-outside. When an invalid shape value is specified, the 
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesshapeinsideshapeinsideanimationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation-expected.txt (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation-expected.txt        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation-expected.txt        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -2,5 +2,5 @@
</span><span class="cx"> PASS - &quot;webkitShapeInside&quot; property for &quot;inset-box&quot; element at 1s saw something close to: inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)
</span><span class="cx"> PASS - &quot;webkitShapeInside&quot; property for &quot;circle-box&quot; element at 1s saw something close to: circle(35% at 35% 35%)
</span><span class="cx"> PASS - &quot;webkitShapeInside&quot; property for &quot;ellipse-box&quot; element at 1s saw something close to: ellipse(35% 30% at 35% 35%)
</span><del>-PASS - &quot;webkitShapeInside&quot; property for &quot;polygon-box&quot; element at 1s saw something close to: polygon(nonzero, 10% 10%, 90% 10%, 90% 90%, 10% 90%)
</del><ins>+PASS - &quot;webkitShapeInside&quot; property for &quot;polygon-box&quot; element at 1s saw something close to: polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesshapeinsideshapeinsideanimationhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/shape-inside/shape-inside-animation.html        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">       [&quot;inset-anim&quot;,  1, &quot;inset-box&quot;, &quot;webkitShapeInside&quot;, &quot;inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)&quot;, 0.05],
</span><span class="cx">       [&quot;circle-anim&quot;,  1, &quot;circle-box&quot;, &quot;webkitShapeInside&quot;, &quot;circle(35% at 35% 35%)&quot;, 0.05],
</span><span class="cx">       [&quot;ellipse-anim&quot;,  1, &quot;ellipse-box&quot;, &quot;webkitShapeInside&quot;, &quot;ellipse(35% 30% at 35% 35%)&quot;, 0.05],
</span><del>-      [&quot;polygon-anim&quot;,  1, &quot;polygon-box&quot;, &quot;webkitShapeInside&quot;, &quot;polygon(nonzero, 10% 10%, 90% 10%, 90% 90%, 10% 90%)&quot;, 0.05],
</del><ins>+      [&quot;polygon-anim&quot;,  1, &quot;polygon-box&quot;, &quot;webkitShapeInside&quot;, &quot;polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)&quot;, 0.05],
</ins><span class="cx">     ];
</span><span class="cx">     
</span><span class="cx">     runAnimationTest(expectedValues);
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesshapeoutsidefloatsshapeoutsideanimationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -14,8 +14,8 @@
</span><span class="cx"> PASS - &quot;webkitShapeOutside&quot; property for &quot;inset-box&quot; element at 1s saw something close to: inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)
</span><span class="cx"> PASS - &quot;webkitShapeOutside&quot; property for &quot;circle-box&quot; element at 1s saw something close to: circle(35% at 35% 35%)
</span><span class="cx"> PASS - &quot;webkitShapeOutside&quot; property for &quot;ellipse-box&quot; element at 1s saw something close to: ellipse(35% 30% at 35% 35%)
</span><del>-PASS - &quot;webkitShapeOutside&quot; property for &quot;polygon-box&quot; element at 1s saw something close to: polygon(nonzero, 10% 10%, 90% 10%, 90% 90%, 10% 90%)
-PASS - &quot;webkitShapeOutside&quot; property for &quot;polygon2-box&quot; element at 1s saw something close to: polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%)
</del><ins>+PASS - &quot;webkitShapeOutside&quot; property for &quot;polygon-box&quot; element at 1s saw something close to: polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)
+PASS - &quot;webkitShapeOutside&quot; property for &quot;polygon2-box&quot; element at 1s saw something close to: polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%)
</ins><span class="cx"> PASS - &quot;webkitShapeOutside&quot; property for &quot;circle-auto-box&quot; element at 1s saw something close to: circle(50% at 50% 50%)
</span><span class="cx"> PASS - &quot;webkitShapeOutside&quot; property for &quot;circle-to-topleft-box&quot; element at 1s saw something close to: circle(35% at 25% 25%)
</span><span class="cx"> PASS - &quot;webkitShapeOutside&quot; property for &quot;circle-to-topleft-box&quot; element at 1s saw something close to: circle(35% at 25% 25%)
</span></span></pre></div>
<a id="trunkLayoutTestsfastshapesshapeoutsidefloatsshapeoutsideanimationhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -82,8 +82,8 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     @-webkit-keyframes polygon-anim {
</span><del>-        from { -webkit-shape-outside: polygon(nonzero, 0% 0%, 100% 0%, 100% 100%, 0% 100%); }
-        to   { -webkit-shape-outside: polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%); }
</del><ins>+        from { -webkit-shape-outside: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); }
+        to   { -webkit-shape-outside: polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%); }
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     @-webkit-keyframes polygon2-anim {
</span><span class="lines">@@ -138,8 +138,8 @@
</span><span class="cx">       [&quot;inset-anim&quot;,  1, &quot;inset-box&quot;, &quot;webkitShapeOutside&quot;, &quot;inset(10% 10% 10% 10% round 0px 0px 0px 0px / 0px 0px 0px 0px)&quot;, 0.05],
</span><span class="cx">       [&quot;circle-anim&quot;,  1, &quot;circle-box&quot;, &quot;webkitShapeOutside&quot;, &quot;circle(35% at 35% 35%)&quot;, 0.05],
</span><span class="cx">       [&quot;ellipse-anim&quot;,  1, &quot;ellipse-box&quot;, &quot;webkitShapeOutside&quot;, &quot;ellipse(35% 30% at 35% 35%)&quot;, 0.05],
</span><del>-      [&quot;polygon-anim&quot;,  1, &quot;polygon-box&quot;, &quot;webkitShapeOutside&quot;, &quot;polygon(nonzero, 10% 10%, 90% 10%, 90% 90%, 10% 90%)&quot;, 0.05],
-      [&quot;polygon2-anim&quot;,  1, &quot;polygon2-box&quot;, &quot;webkitShapeOutside&quot;, &quot;polygon(nonzero, 20% 20%, 80% 20%, 80% 80%, 20% 80%)&quot;, 0.05],
</del><ins>+      [&quot;polygon-anim&quot;,  1, &quot;polygon-box&quot;, &quot;webkitShapeOutside&quot;, &quot;polygon(10% 10%, 90% 10%, 90% 90%, 10% 90%)&quot;, 0.05],
+      [&quot;polygon2-anim&quot;,  1, &quot;polygon2-box&quot;, &quot;webkitShapeOutside&quot;, &quot;polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%)&quot;, 0.05],
</ins><span class="cx">       [&quot;circle-auto-anim&quot;,  1, &quot;circle-auto-box&quot;, &quot;webkitShapeOutside&quot;, &quot;circle(50% at 50% 50%)&quot;, 0.05],
</span><span class="cx">       [&quot;circle-to-topleft-anim&quot;,  1, &quot;circle-to-topleft-box&quot;, &quot;webkitShapeOutside&quot;, &quot;circle(35% at 25% 25%)&quot;, 0.05],
</span><span class="cx">       [&quot;circle-to-topleft-anim&quot;,  1, &quot;circle-to-topleft-box&quot;, &quot;webkitShapeOutside&quot;, &quot;circle(35% at 25% 25%)&quot;, 0.05],
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/Source/WebCore/ChangeLog        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2014-03-14  Bear Travis  &lt;betravis@adobe.com&gt;
+
+        [CSS Shapes] polygon default fill-rule should be omitted from the serialization
+        https://bugs.webkit.org/show_bug.cgi?id=129840
+
+        Reviewed by Dirk Schulze.
+
+        Modifying the default polygon string opening to be &quot;polygon(&quot; rather than
+        &quot;polygon(nonzero&quot;.
+
+        Updated existing parsing tests.
+
+        * css/CSSBasicShapes.cpp:
+        (WebCore::buildPolygonString):
+
</ins><span class="cx"> 2014-03-14  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Crash when using a mixture of In-Band and Out-of-Band Tracks
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSBasicShapescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSBasicShapes.cpp (165637 => 165638)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSBasicShapes.cpp        2014-03-14 19:49:35 UTC (rev 165637)
+++ trunk/Source/WebCore/css/CSSBasicShapes.cpp        2014-03-14 20:01:28 UTC (rev 165638)
</span><span class="lines">@@ -198,10 +198,10 @@
</span><span class="cx"> 
</span><span class="cx">     StringBuilder result;
</span><span class="cx">     char evenOddOpening[] = &quot;polygon(evenodd, &quot;;
</span><del>-    char nonZeroOpening[] = &quot;polygon(nonzero, &quot;;
</del><ins>+    char nonZeroOpening[] = &quot;polygon(&quot;;
</ins><span class="cx">     char commaSeparator[] = &quot;, &quot;;
</span><del>-    COMPILE_ASSERT(sizeof(evenOddOpening) == sizeof(nonZeroOpening), polygon_string_openings_have_same_length);
-    
</del><ins>+    COMPILE_ASSERT(sizeof(evenOddOpening) &gt;= sizeof(nonZeroOpening), polygon_evenodd_is_longest_string_opening);
+
</ins><span class="cx">     // Compute the required capacity in advance to reduce allocations.
</span><span class="cx">     size_t length = sizeof(evenOddOpening) - 1;
</span><span class="cx">     for (size_t i = 0; i &lt; points.size(); i += 2) {
</span></span></pre>
</div>
</div>

</body>
</html>