<!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>[214787] 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/214787">214787</a></dd>
<dt>Author</dt> <dd>pvollan@apple.com</dd>
<dt>Date</dt> <dd>2017-04-03 06:17:11 -0700 (Mon, 03 Apr 2017)</dd>
</dl>

<h3>Log Message</h3>
<pre>Implement stroke-miterlimit.
https://bugs.webkit.org/show_bug.cgi?id=169078

Reviewed by Dean Jackson.

Source/WebCore:

Support stroke-miterlimit for text rendering, see https://drafts.fxtf.org/paint/.

Tests: fast/css/stroke-miterlimit-default.html
       fast/css/stroke-miterlimit-large.html
       fast/css/stroke-miterlimit-zero.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSProperties.json:
* css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::svgPropertyValue):
* rendering/TextPaintStyle.cpp:
(WebCore::computeTextPaintStyle):
(WebCore::updateGraphicsContext):
* rendering/TextPaintStyle.h:
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
* rendering/style/RenderStyle.h:
(WebCore::RenderStyle::strokeMiterLimit):
(WebCore::RenderStyle::setStrokeMiterLimit):
(WebCore::RenderStyle::initialStrokeMiterLimit):
(WebCore::RenderStyle::setStrokeDashOffset):
* rendering/style/RenderStyleConstants.cpp:
* rendering/style/RenderStyleConstants.h:
* rendering/style/SVGRenderStyle.cpp:
(WebCore::SVGRenderStyle::diff):
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::initialStrokeDashArray):
(WebCore::SVGRenderStyle::strokeDashArray):
(WebCore::SVGRenderStyle::initialStrokeMiterLimit): Deleted.
(WebCore::SVGRenderStyle::strokeMiterLimit): Deleted.
(WebCore::SVGRenderStyle::setStrokeMiterLimit): Deleted.
* rendering/style/SVGRenderStyleDefs.cpp:
(WebCore::StyleStrokeData::StyleStrokeData):
(WebCore::StyleStrokeData::operator==):
* rendering/style/SVGRenderStyleDefs.h:
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
* rendering/style/StyleRareInheritedData.h:
* rendering/svg/RenderSVGShape.cpp:
(WebCore::RenderSVGShape::hasSmoothStroke):
* rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::applyStrokeStyleToContext):
* rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeStyle):

LayoutTests:

* fast/css/stroke-miterlimit-default-expected.html: Added.
* fast/css/stroke-miterlimit-default.html: Added.
* fast/css/stroke-miterlimit-large-expected-mismatch.html: Added.
* fast/css/stroke-miterlimit-large.html: Added.
* fast/css/stroke-miterlimit-zero-expected-mismatch.html: Added.
* fast/css/stroke-miterlimit-zero.html: Added.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssCSSComputedStyleDeclarationcpp">trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSPropertiesjson">trunk/Source/WebCore/css/CSSProperties.json</a></li>
<li><a href="#trunkSourceWebCorecssSVGCSSComputedStyleDeclarationcpp">trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingTextPaintStylecpp">trunk/Source/WebCore/rendering/TextPaintStyle.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingTextPaintStyleh">trunk/Source/WebCore/rendering/TextPaintStyle.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleRenderStylecpp">trunk/Source/WebCore/rendering/style/RenderStyle.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleRenderStyleh">trunk/Source/WebCore/rendering/style/RenderStyle.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleRenderStyleConstantscpp">trunk/Source/WebCore/rendering/style/RenderStyleConstants.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleRenderStyleConstantsh">trunk/Source/WebCore/rendering/style/RenderStyleConstants.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStylecpp">trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStyleh">trunk/Source/WebCore/rendering/style/SVGRenderStyle.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStyleDefscpp">trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleSVGRenderStyleDefsh">trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleRareInheritedDatacpp">trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingstyleStyleRareInheritedDatah">trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgRenderSVGShapecpp">trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGRenderSupportcpp">trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingsvgSVGRenderTreeAsTextcpp">trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastcssstrokemiterlimitdefaultexpectedhtml">trunk/LayoutTests/fast/css/stroke-miterlimit-default-expected.html</a></li>
<li><a href="#trunkLayoutTestsfastcssstrokemiterlimitdefaulthtml">trunk/LayoutTests/fast/css/stroke-miterlimit-default.html</a></li>
<li><a href="#trunkLayoutTestsfastcssstrokemiterlimitlargeexpectedmismatchhtml">trunk/LayoutTests/fast/css/stroke-miterlimit-large-expected-mismatch.html</a></li>
<li><a href="#trunkLayoutTestsfastcssstrokemiterlimitlargehtml">trunk/LayoutTests/fast/css/stroke-miterlimit-large.html</a></li>
<li><a href="#trunkLayoutTestsfastcssstrokemiterlimitzeroexpectedmismatchhtml">trunk/LayoutTests/fast/css/stroke-miterlimit-zero-expected-mismatch.html</a></li>
<li><a href="#trunkLayoutTestsfastcssstrokemiterlimitzerohtml">trunk/LayoutTests/fast/css/stroke-miterlimit-zero.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/LayoutTests/ChangeLog        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2017-04-03  Per Arne Vollan  &lt;pvollan@apple.com&gt;
+
+        Implement stroke-miterlimit.
+        https://bugs.webkit.org/show_bug.cgi?id=169078
+
+        Reviewed by Dean Jackson.
+
+        * fast/css/stroke-miterlimit-default-expected.html: Added.
+        * fast/css/stroke-miterlimit-default.html: Added.
+        * fast/css/stroke-miterlimit-large-expected-mismatch.html: Added.
+        * fast/css/stroke-miterlimit-large.html: Added.
+        * fast/css/stroke-miterlimit-zero-expected-mismatch.html: Added.
+        * fast/css/stroke-miterlimit-zero.html: Added.
+
</ins><span class="cx"> 2017-04-02  Alexey Proskuryakov  &lt;ap@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove accidentally added DumpJSConsoleLogInStdErr from http/tests/fetch/fetch-in-worker-crash.html expectation.
</span></span></pre></div>
<a id="trunkLayoutTestsfastcssstrokemiterlimitdefaultexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/css/stroke-miterlimit-default-expected.html (0 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/stroke-miterlimit-default-expected.html                                (rev 0)
+++ trunk/LayoutTests/fast/css/stroke-miterlimit-default-expected.html        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+
+&lt;html&gt;
+&lt;head&gt;
+    &lt;style&gt;
+        div {
+            font-size: 200px;
+            color: gray;
+        }
+
+        .test-stroke {
+            text-shadow: none;
+            -webkit-text-stroke: 30px red;
+        }
+    &lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;test-stroke&quot;&gt;Miter&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastcssstrokemiterlimitdefaulthtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/css/stroke-miterlimit-default.html (0 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/stroke-miterlimit-default.html                                (rev 0)
+++ trunk/LayoutTests/fast/css/stroke-miterlimit-default.html        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+
+&lt;html&gt;
+&lt;head&gt;
+    &lt;style&gt;
+        div {
+            font-size: 200px;
+            color: gray;
+        }
+
+        .test-stroke {
+            text-shadow: none;
+            -webkit-text-stroke: 30px red;
+        }
+    &lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;test-stroke&quot; style=&quot;stroke-miterlimit: 4;&quot;&gt;Miter&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastcssstrokemiterlimitlargeexpectedmismatchhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/css/stroke-miterlimit-large-expected-mismatch.html (0 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/stroke-miterlimit-large-expected-mismatch.html                                (rev 0)
+++ trunk/LayoutTests/fast/css/stroke-miterlimit-large-expected-mismatch.html        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+
+&lt;html&gt;
+&lt;head&gt;
+    &lt;style&gt;
+        div {
+            position: absolute;
+            font-size: 200px;
+            color: gray;
+        }
+
+        .test-stroke {
+            text-shadow: none;
+            -webkit-text-stroke: 30px red;
+        }
+    
+        .obscurer {
+            width: 600px;
+            height: 200px;
+            background-color: blue;
+        }
+    &lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;test-stroke&quot; style=&quot;stroke-miterlimit: 4;&quot;&gt;Miter&lt;/div&gt;
+&lt;div class=&quot;obscurer&quot; style=&quot;left: 0px; top: 20px;&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastcssstrokemiterlimitlargehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/css/stroke-miterlimit-large.html (0 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/stroke-miterlimit-large.html                                (rev 0)
+++ trunk/LayoutTests/fast/css/stroke-miterlimit-large.html        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+
+&lt;html&gt;
+&lt;head&gt;
+    &lt;style&gt;
+        div {
+            position: absolute;
+            font-size: 200px;
+            color: gray;
+        }
+
+        .test-stroke {
+            text-shadow: none;
+            -webkit-text-stroke: 30px red;
+        }
+    
+        .obscurer {
+            width: 600px;
+            height: 200px;
+            background-color: blue;
+        }
+    &lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;test-stroke&quot; style=&quot;stroke-miterlimit: 10;&quot;&gt;Miter&lt;/div&gt;
+&lt;div class=&quot;obscurer&quot; style=&quot;left: 0px; top: 20px;&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastcssstrokemiterlimitzeroexpectedmismatchhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/css/stroke-miterlimit-zero-expected-mismatch.html (0 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/stroke-miterlimit-zero-expected-mismatch.html                                (rev 0)
+++ trunk/LayoutTests/fast/css/stroke-miterlimit-zero-expected-mismatch.html        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+
+&lt;html&gt;
+&lt;head&gt;
+    &lt;style&gt;
+        div {
+            font-size: 200px;
+            color: gray;
+        }
+
+        .test-stroke {
+            text-shadow: none;
+            -webkit-text-stroke: 30px red;
+        }
+    &lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;test-stroke&quot; style=&quot;stroke-miterlimit: 4;&quot;&gt;Miter&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsfastcssstrokemiterlimitzerohtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/css/stroke-miterlimit-zero.html (0 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/css/stroke-miterlimit-zero.html                                (rev 0)
+++ trunk/LayoutTests/fast/css/stroke-miterlimit-zero.html        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+
+&lt;html&gt;
+&lt;head&gt;
+    &lt;style&gt;
+        div {
+            font-size: 200px;
+            color: gray;
+        }
+
+        .test-stroke {
+            text-shadow: none;
+            -webkit-text-stroke: 30px red;
+        }
+    &lt;/style&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;div class=&quot;test-stroke&quot; style=&quot;stroke-miterlimit: 0;&quot;&gt;Miter&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/ChangeLog        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -1,3 +1,57 @@
</span><ins>+2017-04-03  Per Arne Vollan  &lt;pvollan@apple.com&gt;
+
+        Implement stroke-miterlimit.
+        https://bugs.webkit.org/show_bug.cgi?id=169078
+
+        Reviewed by Dean Jackson.
+
+        Support stroke-miterlimit for text rendering, see https://drafts.fxtf.org/paint/.
+
+        Tests: fast/css/stroke-miterlimit-default.html
+               fast/css/stroke-miterlimit-large.html
+               fast/css/stroke-miterlimit-zero.html
+
+        * css/CSSComputedStyleDeclaration.cpp:
+        (WebCore::ComputedStyleExtractor::propertyValue):
+        * css/CSSProperties.json:
+        * css/SVGCSSComputedStyleDeclaration.cpp:
+        (WebCore::ComputedStyleExtractor::svgPropertyValue):
+        * rendering/TextPaintStyle.cpp:
+        (WebCore::computeTextPaintStyle):
+        (WebCore::updateGraphicsContext):
+        * rendering/TextPaintStyle.h:
+        * rendering/style/RenderStyle.cpp:
+        (WebCore::RenderStyle::diff):
+        * rendering/style/RenderStyle.h:
+        (WebCore::RenderStyle::strokeMiterLimit):
+        (WebCore::RenderStyle::setStrokeMiterLimit):
+        (WebCore::RenderStyle::initialStrokeMiterLimit):
+        (WebCore::RenderStyle::setStrokeDashOffset):
+        * rendering/style/RenderStyleConstants.cpp:
+        * rendering/style/RenderStyleConstants.h:
+        * rendering/style/SVGRenderStyle.cpp:
+        (WebCore::SVGRenderStyle::diff):
+        * rendering/style/SVGRenderStyle.h:
+        (WebCore::SVGRenderStyle::initialStrokeDashArray):
+        (WebCore::SVGRenderStyle::strokeDashArray):
+        (WebCore::SVGRenderStyle::initialStrokeMiterLimit): Deleted.
+        (WebCore::SVGRenderStyle::strokeMiterLimit): Deleted.
+        (WebCore::SVGRenderStyle::setStrokeMiterLimit): Deleted.
+        * rendering/style/SVGRenderStyleDefs.cpp:
+        (WebCore::StyleStrokeData::StyleStrokeData):
+        (WebCore::StyleStrokeData::operator==):
+        * rendering/style/SVGRenderStyleDefs.h:
+        * rendering/style/StyleRareInheritedData.cpp:
+        (WebCore::StyleRareInheritedData::StyleRareInheritedData):
+        (WebCore::StyleRareInheritedData::operator==):
+        * rendering/style/StyleRareInheritedData.h:
+        * rendering/svg/RenderSVGShape.cpp:
+        (WebCore::RenderSVGShape::hasSmoothStroke):
+        * rendering/svg/SVGRenderSupport.cpp:
+        (WebCore::SVGRenderSupport::applyStrokeStyleToContext):
+        * rendering/svg/SVGRenderTreeAsText.cpp:
+        (WebCore::writeStyle):
+
</ins><span class="cx"> 2017-04-03  Alejandro G. Castro  &lt;alex@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [OWR] Fix class structure for the OWR mock classes after last modifications
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSComputedStyleDeclarationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -3917,6 +3917,8 @@
</span><span class="cx">             return CSSPrimitiveValue::create(style-&gt;joinStyle());
</span><span class="cx">         case CSSPropertyStrokeWidth:
</span><span class="cx">             return zoomAdjustedPixelValueForLength(style-&gt;strokeWidth(), *style);
</span><ins>+        case CSSPropertyStrokeMiterlimit:
+            return CSSPrimitiveValue::create(style-&gt;strokeMiterLimit(), CSSPrimitiveValue::CSS_NUMBER);
</ins><span class="cx"> 
</span><span class="cx">         /* Unimplemented CSS 3 properties (including CSS3 shorthand properties) */
</span><span class="cx">         case CSSPropertyAll:
</span><span class="lines">@@ -4018,7 +4020,6 @@
</span><span class="cx">         case CSSPropertyShapeRendering:
</span><span class="cx">         case CSSPropertyStroke:
</span><span class="cx">         case CSSPropertyStrokeDasharray:
</span><del>-        case CSSPropertyStrokeMiterlimit:
</del><span class="cx">         case CSSPropertyStrokeOpacity:
</span><span class="cx">         case CSSPropertyAlignmentBaseline:
</span><span class="cx">         case CSSPropertyBaselineShift:
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSPropertiesjson"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSProperties.json (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSProperties.json        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/css/CSSProperties.json        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -3023,8 +3023,7 @@
</span><span class="cx">             &quot;inherited&quot;: true,
</span><span class="cx">             &quot;codegen-properties&quot;: {
</span><span class="cx">                 &quot;name-for-methods&quot;: &quot;StrokeMiterLimit&quot;,
</span><del>-                &quot;converter&quot;: &quot;Number&lt;float&gt;&quot;,
-                &quot;svg&quot;: true
</del><ins>+                &quot;converter&quot;: &quot;Number&lt;float&gt;&quot;
</ins><span class="cx">             },
</span><span class="cx">             &quot;specification&quot;: {
</span><span class="cx">                 &quot;category&quot;: &quot;svg&quot;,
</span></span></pre></div>
<a id="trunkSourceWebCorecssSVGCSSComputedStyleDeclarationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -113,8 +113,6 @@
</span><span class="cx">             return CSSPrimitiveValue::create(svgStyle.colorRendering());
</span><span class="cx">         case CSSPropertyShapeRendering:
</span><span class="cx">             return CSSPrimitiveValue::create(svgStyle.shapeRendering());
</span><del>-        case CSSPropertyStrokeMiterlimit:
-            return CSSPrimitiveValue::create(svgStyle.strokeMiterLimit(), CSSPrimitiveValue::CSS_NUMBER);
</del><span class="cx">         case CSSPropertyStrokeOpacity:
</span><span class="cx">             return CSSPrimitiveValue::create(svgStyle.strokeOpacity(), CSSPrimitiveValue::CSS_NUMBER);
</span><span class="cx">         case CSSPropertyAlignmentBaseline:
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingTextPaintStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/TextPaintStyle.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/TextPaintStyle.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/TextPaintStyle.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -72,6 +72,7 @@
</span><span class="cx">     paintStyle.paintOrder = lineStyle.paintOrder();
</span><span class="cx">     paintStyle.lineJoin = lineStyle.joinStyle();
</span><span class="cx">     paintStyle.lineCap = lineStyle.capStyle();
</span><ins>+    paintStyle.miterLimit = lineStyle.strokeMiterLimit();
</ins><span class="cx">     
</span><span class="cx">     if (paintInfo.forceTextColor()) {
</span><span class="cx">         paintStyle.fillColor = paintInfo.forcedTextColor();
</span><span class="lines">@@ -200,6 +201,8 @@
</span><span class="cx">             context.setStrokeThickness(paintStyle.strokeWidth);
</span><span class="cx">         context.setLineJoin(paintStyle.lineJoin);
</span><span class="cx">         context.setLineCap(paintStyle.lineCap);
</span><ins>+        if (paintStyle.lineJoin == MiterJoin)
+            context.setMiterLimit(paintStyle.miterLimit);
</ins><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingTextPaintStyleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/TextPaintStyle.h (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/TextPaintStyle.h        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/TextPaintStyle.h        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -52,6 +52,7 @@
</span><span class="cx">     PaintOrder paintOrder { PaintOrder::Normal };
</span><span class="cx">     LineJoin lineJoin { MiterJoin };
</span><span class="cx">     LineCap lineCap { ButtCap };
</span><ins>+    float miterLimit { defaultMiterLimit };
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> TextPaintStyle computeTextPaintStyle(const Frame&amp;, const RenderStyle&amp;, const PaintInfo&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleRenderStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/RenderStyle.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/RenderStyle.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -642,6 +642,13 @@
</span><span class="cx"> 
</span><span class="cx">         if (textStrokeWidth() != other.textStrokeWidth())
</span><span class="cx">             return true;
</span><ins>+        
+        // These properties affect the cached stroke bounding box rects.
+        if (m_rareInheritedData-&gt;capStyle != other.m_rareInheritedData-&gt;capStyle
+            || m_rareInheritedData-&gt;joinStyle != other.m_rareInheritedData-&gt;joinStyle
+            || m_rareInheritedData-&gt;strokeWidth != other.m_rareInheritedData-&gt;strokeWidth
+            || m_rareInheritedData-&gt;miterLimit != other.m_rareInheritedData-&gt;miterLimit)
+            return true;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (m_inheritedData-&gt;lineHeight != other.m_inheritedData-&gt;lineHeight
</span><span class="lines">@@ -910,12 +917,6 @@
</span><span class="cx">             return svgChange;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    // These properties affect the cached stroke bounding box rects.
-    if (m_rareInheritedData-&gt;capStyle != other.m_rareInheritedData-&gt;capStyle
-        || m_rareInheritedData-&gt;joinStyle != other.m_rareInheritedData-&gt;joinStyle
-        || m_rareInheritedData-&gt;strokeWidth != other.m_rareInheritedData-&gt;strokeWidth)
-        return StyleDifferenceLayout;
-
</del><span class="cx">     if (changeRequiresLayout(other, changedContextSensitiveProperties))
</span><span class="cx">         return StyleDifferenceLayout;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleRenderStyleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/RenderStyle.h (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/RenderStyle.h        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.h        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -1245,7 +1245,7 @@
</span><span class="cx">     void setApplePayButtonType(ApplePayButtonType type) { SET_VAR(m_rareNonInheritedData, applePayButtonType, static_cast&lt;unsigned&gt;(type)); }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    // Support for paint-order, stroke-linecap, and stroke-linejoin from https://drafts.fxtf.org/paint/.
</del><ins>+    // Support for paint-order, stroke-linecap, stroke-linejoin, and stroke-miterlimit from https://drafts.fxtf.org/paint/.
</ins><span class="cx">     void setPaintOrder(PaintOrder order) { SET_VAR(m_rareInheritedData, paintOrder, static_cast&lt;unsigned&gt;(order)); }
</span><span class="cx">     PaintOrder paintOrder() const { return static_cast&lt;PaintOrder&gt;(m_rareInheritedData-&gt;paintOrder); }
</span><span class="cx">     static PaintOrder initialPaintOrder() { return PaintOrder::Normal; }
</span><span class="lines">@@ -1268,7 +1268,11 @@
</span><span class="cx">     bool hasExplicitlySetStrokeWidth() const { return m_rareInheritedData-&gt;hasSetStrokeWidth; };
</span><span class="cx">     bool hasPositiveStrokeWidth() const;
</span><span class="cx">     
</span><del>-    
</del><ins>+    float strokeMiterLimit() const { return m_rareInheritedData-&gt;miterLimit; }
+    void setStrokeMiterLimit(float f) { SET_VAR(m_rareInheritedData, miterLimit, f); }
+    static float initialStrokeMiterLimit() { return defaultMiterLimit; }
+
+
</ins><span class="cx">     const SVGRenderStyle&amp; svgStyle() const { return m_svgStyle; }
</span><span class="cx">     SVGRenderStyle&amp; accessSVGStyle() { return m_svgStyle.access(); }
</span><span class="cx"> 
</span><span class="lines">@@ -1287,8 +1291,6 @@
</span><span class="cx">     void setStrokeDashArray(Vector&lt;SVGLengthValue&gt; array) { accessSVGStyle().setStrokeDashArray(array); }
</span><span class="cx">     const Length&amp; strokeDashOffset() const { return svgStyle().strokeDashOffset(); }
</span><span class="cx">     void setStrokeDashOffset(Length&amp;&amp; d) { accessSVGStyle().setStrokeDashOffset(WTFMove(d)); }
</span><del>-    float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); }
-    void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f); }
</del><span class="cx"> 
</span><span class="cx">     const Length&amp; cx() const { return svgStyle().cx(); }
</span><span class="cx">     void setCx(Length&amp;&amp; cx) { accessSVGStyle().setCx(WTFMove(cx)); }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleRenderStyleConstantscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/RenderStyleConstants.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/RenderStyleConstants.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/RenderStyleConstants.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -101,4 +101,6 @@
</span><span class="cx">     return between &gt;= PageBreakBetween;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+const float defaultMiterLimit = 4;
+
</ins><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleRenderStyleConstantsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/RenderStyleConstants.h (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/RenderStyleConstants.h        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/RenderStyleConstants.h        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -743,4 +743,6 @@
</span><span class="cx">     Markers
</span><span class="cx"> };
</span><span class="cx"> 
</span><ins>+extern const float defaultMiterLimit;
+
</ins><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStylecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyle.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -188,7 +188,6 @@
</span><span class="cx">         if (m_strokeData-&gt;paintType != other.m_strokeData-&gt;paintType
</span><span class="cx">             || m_strokeData-&gt;paintColor != other.m_strokeData-&gt;paintColor
</span><span class="cx">             || m_strokeData-&gt;paintUri != other.m_strokeData-&gt;paintUri
</span><del>-            || m_strokeData-&gt;miterLimit != other.m_strokeData-&gt;miterLimit
</del><span class="cx">             || m_strokeData-&gt;dashArray != other.m_strokeData-&gt;dashArray
</span><span class="cx">             || m_strokeData-&gt;dashOffset != other.m_strokeData-&gt;dashOffset
</span><span class="cx">             || m_strokeData-&gt;visitedLinkPaintColor != other.m_strokeData-&gt;visitedLinkPaintColor
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStyleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyle.h (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyle.h        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyle.h        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -71,7 +71,6 @@
</span><span class="cx">     static Color initialStrokePaintColor() { return Color(); }
</span><span class="cx">     static String initialStrokePaintUri() { return String(); }
</span><span class="cx">     static Vector&lt;SVGLengthValue&gt; initialStrokeDashArray() { return { }; }
</span><del>-    static float initialStrokeMiterLimit() { return 4; }
</del><span class="cx">     static float initialStopOpacity() { return 1; }
</span><span class="cx">     static Color initialStopColor() { return Color(0, 0, 0); }
</span><span class="cx">     static float initialFloodOpacity() { return 1; }
</span><span class="lines">@@ -116,7 +115,6 @@
</span><span class="cx">     void setStrokePaint(SVGPaintType, const Color&amp;, const String&amp; uri, bool applyToRegularStyle = true, bool applyToVisitedLinkStyle = false);
</span><span class="cx"> 
</span><span class="cx">     void setStrokeDashArray(const Vector&lt;SVGLengthValue&gt;&amp;);
</span><del>-    void setStrokeMiterLimit(float);
</del><span class="cx">     void setStrokeDashOffset(const Length&amp;);
</span><span class="cx">     void setKerning(const SVGLengthValue&amp;);
</span><span class="cx">     void setStopOpacity(float);
</span><span class="lines">@@ -161,7 +159,6 @@
</span><span class="cx">     const Color&amp; strokePaintColor() const { return m_strokeData-&gt;paintColor; }
</span><span class="cx">     const String&amp; strokePaintUri() const { return m_strokeData-&gt;paintUri; }
</span><span class="cx">     Vector&lt;SVGLengthValue&gt; strokeDashArray() const { return m_strokeData-&gt;dashArray; }
</span><del>-    float strokeMiterLimit() const { return m_strokeData-&gt;miterLimit; }
</del><span class="cx">     const Length&amp; strokeDashOffset() const { return m_strokeData-&gt;dashOffset; }
</span><span class="cx">     SVGLengthValue kerning() const { return m_textData-&gt;kerning; }
</span><span class="cx">     float stopOpacity() const { return m_stopData-&gt;opacity; }
</span><span class="lines">@@ -374,12 +371,6 @@
</span><span class="cx">         m_strokeData.access().dashArray = array;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline void SVGRenderStyle::setStrokeMiterLimit(float limit)
-{
-    if (!(m_strokeData-&gt;miterLimit == limit))
-        m_strokeData.access().miterLimit = limit;
-}
-
</del><span class="cx"> inline void SVGRenderStyle::setStrokeDashOffset(const Length&amp; offset)
</span><span class="cx"> {
</span><span class="cx">     if (!(m_strokeData-&gt;dashOffset == offset))
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStyleDefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -76,7 +76,6 @@
</span><span class="cx"> 
</span><span class="cx"> StyleStrokeData::StyleStrokeData()
</span><span class="cx">     : opacity(SVGRenderStyle::initialStrokeOpacity())
</span><del>-    , miterLimit(SVGRenderStyle::initialStrokeMiterLimit())
</del><span class="cx">     , dashOffset(RenderStyle::initialZeroLength())
</span><span class="cx">     , dashArray(SVGRenderStyle::initialStrokeDashArray())
</span><span class="cx">     , paintType(SVGRenderStyle::initialStrokePaintType())
</span><span class="lines">@@ -91,7 +90,6 @@
</span><span class="cx"> inline StyleStrokeData::StyleStrokeData(const StyleStrokeData&amp; other)
</span><span class="cx">     : RefCounted&lt;StyleStrokeData&gt;()
</span><span class="cx">     , opacity(other.opacity)
</span><del>-    , miterLimit(other.miterLimit)
</del><span class="cx">     , dashOffset(other.dashOffset)
</span><span class="cx">     , dashArray(other.dashArray)
</span><span class="cx">     , paintType(other.paintType)
</span><span class="lines">@@ -111,7 +109,6 @@
</span><span class="cx"> bool StyleStrokeData::operator==(const StyleStrokeData&amp; other) const
</span><span class="cx"> {
</span><span class="cx">     return opacity == other.opacity
</span><del>-        &amp;&amp; miterLimit == other.miterLimit
</del><span class="cx">         &amp;&amp; dashOffset == other.dashOffset
</span><span class="cx">         &amp;&amp; dashArray == other.dashArray
</span><span class="cx">         &amp;&amp; paintType == other.paintType
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleSVGRenderStyleDefsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/SVGRenderStyleDefs.h        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -137,7 +137,6 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         float opacity;
</span><del>-        float miterLimit;
</del><span class="cx"> 
</span><span class="cx">         Length dashOffset;
</span><span class="cx">         Vector&lt;SVGLengthValue&gt; dashArray;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleRareInheritedDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/StyleRareInheritedData.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -130,6 +130,7 @@
</span><span class="cx">     , joinStyle(RenderStyle::initialJoinStyle())
</span><span class="cx">     , hasSetStrokeWidth(false)
</span><span class="cx">     , strokeWidth(RenderStyle::initialOneLength())
</span><ins>+    , miterLimit(RenderStyle::initialStrokeMiterLimit())
</ins><span class="cx">     , hyphenationLimitBefore(-1)
</span><span class="cx">     , hyphenationLimitAfter(-1)
</span><span class="cx">     , hyphenationLimitLines(-1)
</span><span class="lines">@@ -217,6 +218,7 @@
</span><span class="cx">     , joinStyle(o.joinStyle)
</span><span class="cx">     , hasSetStrokeWidth(o.hasSetStrokeWidth)
</span><span class="cx">     , strokeWidth(o.strokeWidth)
</span><ins>+    , miterLimit(o.miterLimit)
</ins><span class="cx">     , hyphenationString(o.hyphenationString)
</span><span class="cx">     , hyphenationLimitBefore(o.hyphenationLimitBefore)
</span><span class="cx">     , hyphenationLimitAfter(o.hyphenationLimitAfter)
</span><span class="lines">@@ -328,6 +330,7 @@
</span><span class="cx">         &amp;&amp; joinStyle == o.joinStyle
</span><span class="cx">         &amp;&amp; hasSetStrokeWidth == o.hasSetStrokeWidth
</span><span class="cx">         &amp;&amp; strokeWidth == o.strokeWidth
</span><ins>+        &amp;&amp; miterLimit == o.miterLimit
</ins><span class="cx">         &amp;&amp; customProperties == o.customProperties
</span><span class="cx">         &amp;&amp; arePointingToEqualData(listStyleImage, o.listStyleImage);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingstyleStyleRareInheritedDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/style/StyleRareInheritedData.h        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -141,6 +141,7 @@
</span><span class="cx">     unsigned joinStyle : 2; // LineJoin
</span><span class="cx">     unsigned hasSetStrokeWidth : 1;
</span><span class="cx">     Length strokeWidth;    
</span><ins>+    float miterLimit;
</ins><span class="cx"> 
</span><span class="cx">     AtomicString hyphenationString;
</span><span class="cx">     short hyphenationLimitBefore;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgRenderSVGShapecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/svg/RenderSVGShape.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -445,7 +445,7 @@
</span><span class="cx"> {
</span><span class="cx">     const SVGRenderStyle&amp; svgStyle = style().svgStyle();
</span><span class="cx">     return svgStyle.strokeDashArray().isEmpty()
</span><del>-        &amp;&amp; svgStyle.strokeMiterLimit() == svgStyle.initialStrokeMiterLimit()
</del><ins>+        &amp;&amp; style().strokeMiterLimit() == style().initialStrokeMiterLimit()
</ins><span class="cx">         &amp;&amp; style().joinStyle() == style().initialJoinStyle()
</span><span class="cx">         &amp;&amp; style().capStyle() == style().initialCapStyle();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGRenderSupportcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/svg/SVGRenderSupport.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -431,7 +431,7 @@
</span><span class="cx">     context-&gt;setLineCap(style.capStyle());
</span><span class="cx">     context-&gt;setLineJoin(style.joinStyle());
</span><span class="cx">     if (style.joinStyle() == MiterJoin)
</span><del>-        context-&gt;setMiterLimit(svgStyle.strokeMiterLimit());
</del><ins>+        context-&gt;setMiterLimit(style.strokeMiterLimit());
</ins><span class="cx"> 
</span><span class="cx">     const Vector&lt;SVGLengthValue&gt;&amp; dashes = svgStyle.strokeDashArray();
</span><span class="cx">     if (dashes.isEmpty())
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingsvgSVGRenderTreeAsTextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp (214786 => 214787)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp        2017-04-03 13:08:46 UTC (rev 214786)
+++ trunk/Source/WebCore/rendering/svg/SVGRenderTreeAsText.cpp        2017-04-03 13:17:11 UTC (rev 214787)
</span><span class="lines">@@ -196,7 +196,7 @@
</span><span class="cx"> 
</span><span class="cx">             writeIfNotDefault(ts, &quot;opacity&quot;, svgStyle.strokeOpacity(), 1.0f);
</span><span class="cx">             writeIfNotDefault(ts, &quot;stroke width&quot;, strokeWidth, 1.0);
</span><del>-            writeIfNotDefault(ts, &quot;miter limit&quot;, svgStyle.strokeMiterLimit(), 4.0f);
</del><ins>+            writeIfNotDefault(ts, &quot;miter limit&quot;, style.strokeMiterLimit(), 4.0f);
</ins><span class="cx">             writeIfNotDefault(ts, &quot;line cap&quot;, style.capStyle(), ButtCap);
</span><span class="cx">             writeIfNotDefault(ts, &quot;line join&quot;, style.joinStyle(), MiterJoin);
</span><span class="cx">             writeIfNotDefault(ts, &quot;dash offset&quot;, dashOffset, 0.0);
</span></span></pre>
</div>
</div>

</body>
</html>