<!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>[178251] trunk/Source/WebCore</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/178251">178251</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-01-11 16:17:50 -0800 (Sun, 11 Jan 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Drop legacy SVGCSSStyleSelector.cpp
https://bugs.webkit.org/show_bug.cgi?id=140342

Reviewed by Antti Koivisto.

Drop legacy SVGCSSStyleSelector.cpp by porting the remaining SVG CSS
properties to the generated StyleBuilder. This patch also removes
support for the &quot;LegacyStyleBuilder&quot; option in CSSPropertyNames.in
as all properties have now been ported over.

* CMakeLists.txt:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
Drop SVGCSSStyleSelector.cpp file as it was removed.

* css/CSSPropertyNames.in:
* css/SVGCSSStyleSelector.cpp: Removed.
* css/StyleBuilder.h:
StyleBuilder::applyProperty() no longer need to return a boolean as
it now handles ALL CSS properties.

* css/StyleBuilderCustom.h:
(WebCore::StyleBuilderCustom::applyValueBaselineShift):
(WebCore::StyleBuilderCustom::applyInitialFill):
(WebCore::StyleBuilderCustom::applyInheritFill):
(WebCore::StyleBuilderCustom::applyValueFill):
(WebCore::StyleBuilderCustom::applyInitialStroke):
(WebCore::StyleBuilderCustom::applyInheritStroke):
(WebCore::StyleBuilderCustom::applyValueStroke):
(WebCore::StyleBuilderCustom::applyInitialWebkitSvgShadow):
(WebCore::StyleBuilderCustom::applyInheritWebkitSvgShadow):
(WebCore::StyleBuilderCustom::applyValueWebkitSvgShadow):
Move 'fill', 'stroke' and '-webkit-svg-shadow' to the new
StyleBuilder.

* css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty):
* css/makeprop.pl:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxproj">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorecssCSSPropertyNamesin">trunk/Source/WebCore/css/CSSPropertyNames.in</a></li>
<li><a href="#trunkSourceWebCorecssStyleBuilderh">trunk/Source/WebCore/css/StyleBuilder.h</a></li>
<li><a href="#trunkSourceWebCorecssStyleBuilderCustomh">trunk/Source/WebCore/css/StyleBuilderCustom.h</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolvercpp">trunk/Source/WebCore/css/StyleResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorecssmakeproppl">trunk/Source/WebCore/css/makeprop.pl</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorecssSVGCSSStyleSelectorcpp">trunk/Source/WebCore/css/SVGCSSStyleSelector.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/CMakeLists.txt        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -1262,7 +1262,6 @@
</span><span class="cx">     css/RuleSet.cpp
</span><span class="cx">     css/SVGCSSComputedStyleDeclaration.cpp
</span><span class="cx">     css/SVGCSSParser.cpp
</span><del>-    css/SVGCSSStyleSelector.cpp
</del><span class="cx">     css/SelectorChecker.cpp
</span><span class="cx">     css/SelectorFilter.cpp
</span><span class="cx">     css/SourceSizeList.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/ChangeLog        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -1,3 +1,45 @@
</span><ins>+2015-01-11  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Drop legacy SVGCSSStyleSelector.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=140342
+
+        Reviewed by Antti Koivisto.
+
+        Drop legacy SVGCSSStyleSelector.cpp by porting the remaining SVG CSS
+        properties to the generated StyleBuilder. This patch also removes
+        support for the &quot;LegacyStyleBuilder&quot; option in CSSPropertyNames.in
+        as all properties have now been ported over.
+
+        * CMakeLists.txt:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        Drop SVGCSSStyleSelector.cpp file as it was removed.
+
+        * css/CSSPropertyNames.in:
+        * css/SVGCSSStyleSelector.cpp: Removed.
+        * css/StyleBuilder.h:
+        StyleBuilder::applyProperty() no longer need to return a boolean as
+        it now handles ALL CSS properties.
+
+        * css/StyleBuilderCustom.h:
+        (WebCore::StyleBuilderCustom::applyValueBaselineShift):
+        (WebCore::StyleBuilderCustom::applyInitialFill):
+        (WebCore::StyleBuilderCustom::applyInheritFill):
+        (WebCore::StyleBuilderCustom::applyValueFill):
+        (WebCore::StyleBuilderCustom::applyInitialStroke):
+        (WebCore::StyleBuilderCustom::applyInheritStroke):
+        (WebCore::StyleBuilderCustom::applyValueStroke):
+        (WebCore::StyleBuilderCustom::applyInitialWebkitSvgShadow):
+        (WebCore::StyleBuilderCustom::applyInheritWebkitSvgShadow):
+        (WebCore::StyleBuilderCustom::applyValueWebkitSvgShadow):
+        Move 'fill', 'stroke' and '-webkit-svg-shadow' to the new
+        StyleBuilder.
+
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::applyProperty):
+        * css/makeprop.pl:
+
</ins><span class="cx"> 2015-01-11  Antti Koivisto  &lt;antti@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove FontCachePurgePreventer
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -9879,7 +9879,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\css\StyleSheetList.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\css\SVGCSSComputedStyleDeclaration.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\css\SVGCSSParser.cpp&quot; /&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\css\SVGCSSStyleSelector.cpp&quot; /&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\css\TransformFunctions.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\css\ViewportStyleResolver.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\css\WebKitCSSFilterValue.cpp&quot; /&gt;
</span><span class="lines">@@ -21336,4 +21335,4 @@
</span><span class="cx">   &lt;ImportGroup Label=&quot;ExtensionTargets&quot;&gt;
</span><span class="cx">     &lt;Import Project=&quot;$(VCTargetsPath)\BuildCustomizations\masm.targets&quot; /&gt;
</span><span class="cx">   &lt;/ImportGroup&gt;
</span><del>-&lt;/Project&gt;
</del><span class="cx">\ No newline at end of file
</span><ins>+&lt;/Project&gt;
</ins></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -2304,9 +2304,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\css\SVGCSSParser.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;css&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\css\SVGCSSStyleSelector.cpp&quot;&gt;
-      &lt;Filter&gt;css&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\css\TransformFunctions.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;css&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -15326,4 +15323,4 @@
</span><span class="cx">       &lt;Filter&gt;platform\win&lt;/Filter&gt;
</span><span class="cx">     &lt;/MASM&gt;
</span><span class="cx">   &lt;/ItemGroup&gt;
</span><del>-&lt;/Project&gt;
</del><span class="cx">\ No newline at end of file
</span><ins>+&lt;/Project&gt;
</ins></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -4596,7 +4596,6 @@
</span><span class="cx">                 B2227AF60D00BF220071B782 /* SVGZoomAndPan.h in Headers */ = {isa = PBXBuildFile; fileRef = B22279600D00BF210071B782 /* SVGZoomAndPan.h */; };
</span><span class="cx">                 B2227B050D00BFF10071B782 /* SVGCSSComputedStyleDeclaration.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2227B000D00BFF10071B782 /* SVGCSSComputedStyleDeclaration.cpp */; };
</span><span class="cx">                 B2227B060D00BFF10071B782 /* SVGCSSParser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2227B010D00BFF10071B782 /* SVGCSSParser.cpp */; };
</span><del>-                B2227B080D00BFF10071B782 /* SVGCSSStyleSelector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B2227B030D00BFF10071B782 /* SVGCSSStyleSelector.cpp */; };
</del><span class="cx">                 B222F6980AB771950022EFAD /* JSSVGAngle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B222F6960AB771950022EFAD /* JSSVGAngle.cpp */; };
</span><span class="cx">                 B222F6990AB771950022EFAD /* JSSVGAngle.h in Headers */ = {isa = PBXBuildFile; fileRef = B222F6970AB771950022EFAD /* JSSVGAngle.h */; };
</span><span class="cx">                 B222F69C0AB771B80022EFAD /* JSSVGElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B222F69A0AB771B80022EFAD /* JSSVGElement.cpp */; };
</span><span class="lines">@@ -11984,7 +11983,6 @@
</span><span class="cx">                 B22279610D00BF210071B782 /* SVGZoomAndPan.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGZoomAndPan.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 B2227B000D00BFF10071B782 /* SVGCSSComputedStyleDeclaration.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGCSSComputedStyleDeclaration.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 B2227B010D00BFF10071B782 /* SVGCSSParser.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGCSSParser.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                B2227B030D00BFF10071B782 /* SVGCSSStyleSelector.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGCSSStyleSelector.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 B2227B040D00BFF10071B782 /* SVGCSSValueKeywords.in */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SVGCSSValueKeywords.in; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 B222F6960AB771950022EFAD /* JSSVGAngle.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSSVGAngle.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 B222F6970AB771950022EFAD /* JSSVGAngle.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSSVGAngle.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -22269,7 +22267,6 @@
</span><span class="cx">                                 93CA4CA209DF93FA00DF8677 /* svg.css */,
</span><span class="cx">                                 B2227B000D00BFF10071B782 /* SVGCSSComputedStyleDeclaration.cpp */,
</span><span class="cx">                                 B2227B010D00BFF10071B782 /* SVGCSSParser.cpp */,
</span><del>-                                B2227B030D00BFF10071B782 /* SVGCSSStyleSelector.cpp */,
</del><span class="cx">                                 B2227B040D00BFF10071B782 /* SVGCSSValueKeywords.in */,
</span><span class="cx">                                 FB484F4A171F821E00040755 /* TransformFunctions.cpp */,
</span><span class="cx">                                 FB484F4B171F821E00040755 /* TransformFunctions.h */,
</span><span class="lines">@@ -29655,7 +29652,6 @@
</span><span class="cx">                                 B22279A40D00BF220071B782 /* SVGComponentTransferFunctionElement.cpp in Sources */,
</span><span class="cx">                                 B2227B050D00BFF10071B782 /* SVGCSSComputedStyleDeclaration.cpp in Sources */,
</span><span class="cx">                                 B2227B060D00BFF10071B782 /* SVGCSSParser.cpp in Sources */,
</span><del>-                                B2227B080D00BFF10071B782 /* SVGCSSStyleSelector.cpp in Sources */,
</del><span class="cx">                                 B22279A70D00BF220071B782 /* SVGCursorElement.cpp in Sources */,
</span><span class="cx">                                 B22279AD0D00BF220071B782 /* SVGDefsElement.cpp in Sources */,
</span><span class="cx">                                 B22279B00D00BF220071B782 /* SVGDescElement.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSPropertyNamesin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSPropertyNames.in (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSPropertyNames.in        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/css/CSSPropertyNames.in        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -8,11 +8,6 @@
</span><span class="cx"> // http://msdn.microsoft.com/workshop/author/css/reference/attributes.asp
</span><span class="cx"> //
</span><span class="cx"> // StyleBuilder options:
</span><del>-// * LegacyStyleBuilder:
-// Indicates to makeprop.pl that this property should not be generated
-// in the new StyleBuilder.cpp. This option is temporary until all
-// CSS properties are generated.
-//
</del><span class="cx"> // * TypeName:
</span><span class="cx"> // Overrides the type of the setter method argument on RenderStyle. By
</span><span class="cx"> // default, 'E' + PropertyId is used (e.g. EBorderCollapse). This option
</span><span class="lines">@@ -162,7 +157,7 @@
</span><span class="cx"> background-repeat-x [FillLayerProperty, TypeName=EFillRepeat, NameForMethods=RepeatX]
</span><span class="cx"> background-repeat-y [FillLayerProperty, TypeName=EFillRepeat, NameForMethods=RepeatY]
</span><span class="cx"> background-size [FillLayerProperty, TypeName=EFillSize, NameForMethods=Size]
</span><del>-baseline-shift [LegacyStyleBuilder, SVG]
</del><ins>+baseline-shift [SVG, Custom=Value]
</ins><span class="cx"> border [Shorthand]
</span><span class="cx"> border-bottom [Shorthand]
</span><span class="cx"> border-bottom-color [VisitedLinkColorSupport, Initial=invalidColor]
</span><span class="lines">@@ -229,7 +224,7 @@
</span><span class="cx"> dominant-baseline [SVG]
</span><span class="cx"> empty-cells [Inherited, TypeName=EEmptyCell]
</span><span class="cx"> enable-background [SkipBuilder]
</span><del>-fill [Inherited, LegacyStyleBuilder, SVG]
</del><ins>+fill [Inherited, SVG, Custom=All]
</ins><span class="cx"> fill-opacity [Inherited, SVG, Converter=Opacity]
</span><span class="cx"> fill-rule [Inherited, SVG, TypeName=WindRule]
</span><span class="cx"> filter [SVG, Converter=SVGURIReference, NameForMethods=FilterResource]
</span><span class="lines">@@ -260,7 +255,7 @@
</span><span class="cx"> margin-left [Initial=initialMargin, Converter=LengthOrAuto]
</span><span class="cx"> margin-right [Initial=initialMargin, Converter=LengthOrAuto]
</span><span class="cx"> margin-top [Initial=initialMargin, Converter=LengthOrAuto]
</span><del>-marker [Inherited, LegacyStyleBuilder, SVG]
</del><ins>+marker [Inherited, Shorthand]
</ins><span class="cx"> marker-end [Inherited, SVG, Converter=SVGURIReference, NameForMethods=MarkerEndResource]
</span><span class="cx"> marker-mid [Inherited, SVG, Converter=SVGURIReference, NameForMethods=MarkerMidResource]
</span><span class="cx"> marker-start [Inherited, SVG, Converter=SVGURIReference, NameForMethods=MarkerStartResource]
</span><span class="lines">@@ -308,7 +303,7 @@
</span><span class="cx"> src [SkipBuilder]
</span><span class="cx"> stop-color [SVG, Converter=SVGColor]
</span><span class="cx"> stop-opacity [SVG, Converter=Opacity]
</span><del>-stroke [Inherited, LegacyStyleBuilder, SVG]
</del><ins>+stroke [Inherited, SVG, Custom=All]
</ins><span class="cx"> stroke-dasharray [Inherited, SVG, Converter=StrokeDashArray, NameForMethods=StrokeDashArray]
</span><span class="cx"> stroke-dashoffset [Inherited, NameForMethods=StrokeDashOffset, Initial=initialZeroLength, Converter=Length]
</span><span class="cx"> stroke-linecap [Inherited, SVG, NameForMethods=CapStyle, TypeName=LineCap]
</span><span class="lines">@@ -575,7 +570,7 @@
</span><span class="cx"> -webkit-scroll-snap-destination [Converter=SnapCoordinatePair]
</span><span class="cx"> -webkit-scroll-snap-coordinate [Converter=ScrollSnapCoordinates, NameForMethods=ScrollSnapCoordinates]
</span><span class="cx"> #endif
</span><del>--webkit-svg-shadow [LegacyStyleBuilder, SVG]
</del><ins>+-webkit-svg-shadow [SVG, Custom=All]
</ins><span class="cx"> -webkit-text-combine [Inherited, TypeName=TextCombine]
</span><span class="cx"> -epub-text-combine = -webkit-text-combine
</span><span class="cx"> #if defined(ENABLE_CSS3_TEXT) &amp;&amp; ENABLE_CSS3_TEXT
</span></span></pre></div>
<a id="trunkSourceWebCorecssSVGCSSStyleSelectorcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/SVGCSSStyleSelector.cpp (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/SVGCSSStyleSelector.cpp        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/css/SVGCSSStyleSelector.cpp        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -1,188 +0,0 @@
</span><del>-/*
-    Copyright (C) 2005 Apple Inc.
-    Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann &lt;zimmermann@kde.org&gt;
-                  2004, 2005, 2008 Rob Buis &lt;buis@kde.org&gt;
-    Copyright (C) 2007 Alexey Proskuryakov &lt;ap@webkit.org&gt;
-
-    Based on khtml css code by:
-    Copyright(C) 1999-2003 Lars Knoll(knoll@kde.org)
-             (C) 2003 Apple Inc.
-             (C) 2004 Allan Sandfeld Jensen(kde@carewolf.com)
-             (C) 2004 Germain Garand(germain@ebooksfrance.org)
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
-
-#include &quot;config.h&quot;
-#include &quot;StyleResolver.h&quot;
-
-#include &quot;CSSPrimitiveValueMappings.h&quot;
-#include &quot;CSSPropertyNames.h&quot;
-#include &quot;CSSShadowValue.h&quot;
-#include &quot;CSSValueList.h&quot;
-#include &quot;Document.h&quot;
-#include &quot;SVGColor.h&quot;
-#include &quot;SVGElement.h&quot;
-#include &quot;SVGNames.h&quot;
-#include &quot;SVGPaint.h&quot;
-#include &quot;SVGRenderStyle.h&quot;
-#include &quot;SVGRenderStyleDefs.h&quot;
-#include &quot;SVGURIReference.h&quot;
-#include &quot;StyleBuilderConverter.h&quot;
-#include &lt;stdlib.h&gt;
-#include &lt;wtf/MathExtras.h&gt;
-
-#define HANDLE_INHERIT(prop, Prop) \
-if (isInherit) \
-{ \
-    svgStyle.set##Prop(state.parentStyle()-&gt;svgStyle().prop()); \
-    return; \
-}
-
-#define HANDLE_INHERIT_AND_INITIAL(prop, Prop) \
-HANDLE_INHERIT(prop, Prop) \
-if (isInitial) { \
-    svgStyle.set##Prop(SVGRenderStyle::initial##Prop()); \
-    return; \
-}
-
-namespace WebCore {
-
-// FIXME: This method should go away once all SVG CSS properties have been
-// ported to the new generated StyleBuilder.
-void StyleResolver::applySVGProperty(CSSPropertyID id, CSSValue* value)
-{
-    ASSERT(value);
-    CSSPrimitiveValue* primitiveValue = nullptr;
-    if (is&lt;CSSPrimitiveValue&gt;(*value))
-        primitiveValue = downcast&lt;CSSPrimitiveValue&gt;(value);
-
-    const State&amp; state = m_state;
-    SVGRenderStyle&amp; svgStyle = state.style()-&gt;accessSVGStyle();
-
-    bool isInherit = state.parentStyle() &amp;&amp; value-&gt;isInheritedValue();
-    bool isInitial = value-&gt;isInitialValue() || (!state.parentStyle() &amp;&amp; value-&gt;isInheritedValue());
-
-    // What follows is a list that maps the CSS properties into their
-    // corresponding front-end RenderStyle values. Shorthands(e.g. border,
-    // background) occur in this list as well and are only hit when mapping
-    // &quot;inherit&quot; or &quot;initial&quot; into front-end values.
-    switch (id)
-    {
-        // ident only properties
-        case CSSPropertyBaselineShift:
-        {
-            HANDLE_INHERIT_AND_INITIAL(baselineShift, BaselineShift);
-            if (!primitiveValue)
-                break;
-
-            if (primitiveValue-&gt;getValueID()) {
-                switch (primitiveValue-&gt;getValueID()) {
-                case CSSValueBaseline:
-                    svgStyle.setBaselineShift(BS_BASELINE);
-                    break;
-                case CSSValueSub:
-                    svgStyle.setBaselineShift(BS_SUB);
-                    break;
-                case CSSValueSuper:
-                    svgStyle.setBaselineShift(BS_SUPER);
-                    break;
-                default:
-                    break;
-                }
-            } else {
-                svgStyle.setBaselineShift(BS_LENGTH);
-                svgStyle.setBaselineShiftValue(SVGLength::fromCSSPrimitiveValue(*primitiveValue));
-            }
-
-            break;
-        }
-        // end of ident only properties
-        case CSSPropertyFill:
-        {
-            if (isInherit) {
-                const SVGRenderStyle&amp; svgParentStyle = state.parentStyle()-&gt;svgStyle();
-                svgStyle.setFillPaint(svgParentStyle.fillPaintType(), svgParentStyle.fillPaintColor(), svgParentStyle.fillPaintUri(), applyPropertyToRegularStyle(), applyPropertyToVisitedLinkStyle());
-                return;
-            }
-            if (isInitial) {
-                svgStyle.setFillPaint(SVGRenderStyle::initialFillPaintType(), SVGRenderStyle::initialFillPaintColor(), SVGRenderStyle::initialFillPaintUri(), applyPropertyToRegularStyle(), applyPropertyToVisitedLinkStyle());
-                return;
-            }
-            if (is&lt;SVGPaint&gt;(*value)) {
-                SVGPaint&amp; svgPaint = downcast&lt;SVGPaint&gt;(*value);
-                svgStyle.setFillPaint(svgPaint.paintType(), StyleBuilderConverter::convertSVGColor(*this, svgPaint), svgPaint.uri(), applyPropertyToRegularStyle(), applyPropertyToVisitedLinkStyle());
-            }
-            break;
-        }
-        case CSSPropertyStroke:
-        {
-            if (isInherit) {
-                const SVGRenderStyle&amp; svgParentStyle = state.parentStyle()-&gt;svgStyle();
-                svgStyle.setStrokePaint(svgParentStyle.strokePaintType(), svgParentStyle.strokePaintColor(), svgParentStyle.strokePaintUri(), applyPropertyToRegularStyle(), applyPropertyToVisitedLinkStyle());
-                return;
-            }
-            if (isInitial) {
-                svgStyle.setStrokePaint(SVGRenderStyle::initialStrokePaintType(), SVGRenderStyle::initialStrokePaintColor(), SVGRenderStyle::initialStrokePaintUri(), applyPropertyToRegularStyle(), applyPropertyToVisitedLinkStyle());
-                return;
-            }
-            if (is&lt;SVGPaint&gt;(*value)) {
-                SVGPaint&amp; svgPaint = downcast&lt;SVGPaint&gt;(*value);
-                svgStyle.setStrokePaint(svgPaint.paintType(), StyleBuilderConverter::convertSVGColor(*this, svgPaint), svgPaint.uri(), applyPropertyToRegularStyle(), applyPropertyToVisitedLinkStyle());
-            }
-            break;
-        }
-        case CSSPropertyWebkitSvgShadow: {
-            if (isInherit)
-                return svgStyle.setShadow(state.parentStyle()-&gt;svgStyle().shadow() ? std::make_unique&lt;ShadowData&gt;(*state.parentStyle()-&gt;svgStyle().shadow()) : nullptr);
-            if (isInitial || primitiveValue) // initial | none
-                return svgStyle.setShadow(nullptr);
-
-            if (!is&lt;CSSValueList&gt;(*value))
-                return;
-
-            CSSValueList&amp; list = downcast&lt;CSSValueList&gt;(*value);
-            if (!list.length())
-                return;
-
-            CSSValue* firstValue = list.itemWithoutBoundsCheck(0);
-            if (!is&lt;CSSShadowValue&gt;(*firstValue))
-                return;
-            CSSShadowValue&amp; item = downcast&lt;CSSShadowValue&gt;(*firstValue);
-            IntPoint location(item.x-&gt;computeLength&lt;int&gt;(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0f)),
-                item.y-&gt;computeLength&lt;int&gt;(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0f)));
-            int blur = item.blur ? item.blur-&gt;computeLength&lt;int&gt;(state.cssToLengthConversionData().copyWithAdjustedZoom(1.0f)) : 0;
-            Color color;
-            if (item.color)
-                color = colorFromPrimitiveValue(*item.color);
-
-            // -webkit-svg-shadow does should not have a spread or style
-            ASSERT(!item.spread);
-            ASSERT(!item.style);
-
-            auto shadowData = std::make_unique&lt;ShadowData&gt;(location, blur, 0, Normal, false, color.isValid() ? color : Color::transparent);
-            svgStyle.setShadow(WTF::move(shadowData));
-            return;
-        }
-        default:
-            // If you crash here, it's because you added a css property and are not handling it
-            // in either this switch statement or the one in StyleResolver::applyProperty
-            ASSERT_WITH_MESSAGE(0, &quot;unimplemented propertyID: %d&quot;, id);
-            return;
-    }
-}
-
-}
</del></span></pre></div>
<a id="trunkSourceWebCorecssStyleBuilderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleBuilder.h (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleBuilder.h        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/css/StyleBuilder.h        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx"> 
</span><span class="cx"> class StyleBuilder {
</span><span class="cx"> public:
</span><del>-    static bool applyProperty(CSSPropertyID, StyleResolver&amp;, CSSValue&amp;, bool isInitial, bool isInherit);
</del><ins>+    static void applyProperty(CSSPropertyID, StyleResolver&amp;, CSSValue&amp;, bool isInitial, bool isInherit);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleBuilderCustomh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleBuilderCustom.h (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleBuilderCustom.h        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/css/StyleBuilderCustom.h        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -43,6 +43,7 @@
</span><span class="cx"> #include &quot;Rect.h&quot;
</span><span class="cx"> #include &quot;RenderTheme.h&quot;
</span><span class="cx"> #include &quot;SVGElement.h&quot;
</span><ins>+#include &quot;SVGRenderStyle.h&quot;
</ins><span class="cx"> #include &quot;StyleBuilderConverter.h&quot;
</span><span class="cx"> #include &quot;StyleFontSizeFunctions.h&quot;
</span><span class="cx"> #include &quot;StyleGeneratedImage.h&quot;
</span><span class="lines">@@ -70,6 +71,7 @@
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(CounterIncrement);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(CounterReset);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(Cursor);
</span><ins>+    DECLARE_PROPERTY_CUSTOM_HANDLERS(Fill);
</ins><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(Font);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(FontFamily);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(FontSize);
</span><span class="lines">@@ -82,6 +84,7 @@
</span><span class="cx"> #endif
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(OutlineStyle);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(Size);
</span><ins>+    DECLARE_PROPERTY_CUSTOM_HANDLERS(Stroke);
</ins><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(TextIndent);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(TextShadow);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitAspectRatio);
</span><span class="lines">@@ -96,6 +99,7 @@
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitMaskBoxImageRepeat);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitMaskBoxImageSlice);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitMaskBoxImageWidth);
</span><ins>+    DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitSvgShadow);
</ins><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(WebkitTextEmphasisStyle);
</span><span class="cx">     DECLARE_PROPERTY_CUSTOM_HANDLERS(Zoom);
</span><span class="cx"> 
</span><span class="lines">@@ -110,6 +114,7 @@
</span><span class="cx">     static void applyValueDisplay(StyleResolver&amp;, CSSValue&amp;);
</span><span class="cx"> 
</span><span class="cx">     // Custom handling of value setting only.
</span><ins>+    static void applyValueBaselineShift(StyleResolver&amp;, CSSValue&amp;);
</ins><span class="cx">     static void applyValueDirection(StyleResolver&amp;, CSSValue&amp;);
</span><span class="cx"> #if !ENABLE(IOS_TEXT_AUTOSIZING)
</span><span class="cx">     static void applyValueLineHeight(StyleResolver&amp;, CSSValue&amp;);
</span><span class="lines">@@ -971,6 +976,30 @@
</span><span class="cx">         styleResolver.style()-&gt;setDisplay(display);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+inline void StyleBuilderCustom::applyValueBaselineShift(StyleResolver&amp; styleResolver, CSSValue&amp; value)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    auto&amp; primitiveValue = downcast&lt;CSSPrimitiveValue&gt;(value);
+    if (primitiveValue.isValueID()) {
+        switch (primitiveValue.getValueID()) {
+        case CSSValueBaseline:
+            svgStyle.setBaselineShift(BS_BASELINE);
+            break;
+        case CSSValueSub:
+            svgStyle.setBaselineShift(BS_SUB);
+            break;
+        case CSSValueSuper:
+            svgStyle.setBaselineShift(BS_SUPER);
+            break;
+        default:
+            break;
+        }
+    } else {
+        svgStyle.setBaselineShift(BS_LENGTH);
+        svgStyle.setBaselineShiftValue(SVGLength::fromCSSPrimitiveValue(primitiveValue));
+    }
+}
+
</ins><span class="cx"> inline void StyleBuilderCustom::applyInitialWebkitAspectRatio(StyleResolver&amp; styleResolver)
</span><span class="cx"> {
</span><span class="cx">     styleResolver.style()-&gt;setAspectRatioType(RenderStyle::initialAspectRatioType());
</span><span class="lines">@@ -1167,6 +1196,84 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+inline void StyleBuilderCustom::applyInitialFill(StyleResolver&amp; styleResolver)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    svgStyle.setFillPaint(SVGRenderStyle::initialFillPaintType(), SVGRenderStyle::initialFillPaintColor(), SVGRenderStyle::initialFillPaintUri(), styleResolver.applyPropertyToRegularStyle(), styleResolver.applyPropertyToVisitedLinkStyle());
+}
+
+inline void StyleBuilderCustom::applyInheritFill(StyleResolver&amp; styleResolver)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    const SVGRenderStyle&amp; svgParentStyle = styleResolver.parentStyle()-&gt;svgStyle();
+    svgStyle.setFillPaint(svgParentStyle.fillPaintType(), svgParentStyle.fillPaintColor(), svgParentStyle.fillPaintUri(), styleResolver.applyPropertyToRegularStyle(), styleResolver.applyPropertyToVisitedLinkStyle());
+
+}
+
+inline void StyleBuilderCustom::applyValueFill(StyleResolver&amp; styleResolver, CSSValue&amp; value)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    SVGPaint&amp; svgPaint = downcast&lt;SVGPaint&gt;(value);
+    svgStyle.setFillPaint(svgPaint.paintType(), StyleBuilderConverter::convertSVGColor(styleResolver, svgPaint), svgPaint.uri(), styleResolver.applyPropertyToRegularStyle(), styleResolver.applyPropertyToVisitedLinkStyle());
+}
+
+inline void StyleBuilderCustom::applyInitialStroke(StyleResolver&amp; styleResolver)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    svgStyle.setStrokePaint(SVGRenderStyle::initialStrokePaintType(), SVGRenderStyle::initialStrokePaintColor(), SVGRenderStyle::initialStrokePaintUri(), styleResolver.applyPropertyToRegularStyle(), styleResolver.applyPropertyToVisitedLinkStyle());
+}
+
+inline void StyleBuilderCustom::applyInheritStroke(StyleResolver&amp; styleResolver)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    const SVGRenderStyle&amp; svgParentStyle = styleResolver.parentStyle()-&gt;svgStyle();
+    svgStyle.setStrokePaint(svgParentStyle.strokePaintType(), svgParentStyle.strokePaintColor(), svgParentStyle.strokePaintUri(), styleResolver.applyPropertyToRegularStyle(), styleResolver.applyPropertyToVisitedLinkStyle());
+}
+
+inline void StyleBuilderCustom::applyValueStroke(StyleResolver&amp; styleResolver, CSSValue&amp; value)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    SVGPaint&amp; svgPaint = downcast&lt;SVGPaint&gt;(value);
+    svgStyle.setStrokePaint(svgPaint.paintType(), StyleBuilderConverter::convertSVGColor(styleResolver, svgPaint), svgPaint.uri(), styleResolver.applyPropertyToRegularStyle(), styleResolver.applyPropertyToVisitedLinkStyle());
+}
+
+inline void StyleBuilderCustom::applyInitialWebkitSvgShadow(StyleResolver&amp; styleResolver)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    svgStyle.setShadow(nullptr);
+}
+
+inline void StyleBuilderCustom::applyInheritWebkitSvgShadow(StyleResolver&amp; styleResolver)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    const SVGRenderStyle&amp; svgParentStyle = styleResolver.parentStyle()-&gt;svgStyle();
+    svgStyle.setShadow(svgParentStyle.shadow() ? std::make_unique&lt;ShadowData&gt;(*svgParentStyle.shadow()) : nullptr);
+}
+
+inline void StyleBuilderCustom::applyValueWebkitSvgShadow(StyleResolver&amp; styleResolver, CSSValue&amp; value)
+{
+    SVGRenderStyle&amp; svgStyle = styleResolver.style()-&gt;accessSVGStyle();
+    if (is&lt;CSSPrimitiveValue&gt;(value)) {
+        ASSERT(downcast&lt;CSSPrimitiveValue&gt;(value).getValueID() == CSSValueNone);
+        svgStyle.setShadow(nullptr);
+        return;
+    }
+
+    auto&amp; shadowValue = downcast&lt;CSSShadowValue&gt;(*downcast&lt;CSSValueList&gt;(value).itemWithoutBoundsCheck(0));
+    IntPoint location(shadowValue.x-&gt;computeLength&lt;int&gt;(styleResolver.state().cssToLengthConversionData().copyWithAdjustedZoom(1.0f)),
+        shadowValue.y-&gt;computeLength&lt;int&gt;(styleResolver.state().cssToLengthConversionData().copyWithAdjustedZoom(1.0f)));
+    int blur = shadowValue.blur ? shadowValue.blur-&gt;computeLength&lt;int&gt;(styleResolver.state().cssToLengthConversionData().copyWithAdjustedZoom(1.0f)) : 0;
+    Color color;
+    if (shadowValue.color)
+        color = styleResolver.colorFromPrimitiveValue(*shadowValue.color);
+
+    // -webkit-svg-shadow does should not have a spread or style
+    ASSERT(!shadowValue.spread);
+    ASSERT(!shadowValue.style);
+
+    svgStyle.setShadow(std::make_unique&lt;ShadowData&gt;(location, blur, 0, Normal, false, color.isValid() ? color : Color::transparent));
+}
+
</ins><span class="cx"> inline void StyleBuilderCustom::applyInitialFontWeight(StyleResolver&amp; styleResolver)
</span><span class="cx"> {
</span><span class="cx">     FontDescription fontDescription = styleResolver.fontDescription();
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.cpp (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.cpp        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/css/StyleResolver.cpp        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -1987,11 +1987,7 @@
</span><span class="cx">         state.parentStyle()-&gt;setHasExplicitlyInheritedProperties();
</span><span class="cx"> 
</span><span class="cx">     // Use the generated StyleBuilder.
</span><del>-    if (StyleBuilder::applyProperty(id, *this, *value, isInitial, isInherit))
-        return;
-
-    // Try the SVG properties that haven't been ported to the new StyleBuilder yet.
-    applySVGProperty(id, value);
</del><ins>+    StyleBuilder::applyProperty(id, *this, *value, isInitial, isInherit);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;StyleImage&gt; StyleResolver::styleImage(CSSPropertyID property, CSSValue&amp; value)
</span></span></pre></div>
<a id="trunkSourceWebCorecssmakeproppl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/makeprop.pl (178250 => 178251)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/makeprop.pl        2015-01-11 22:58:09 UTC (rev 178250)
+++ trunk/Source/WebCore/css/makeprop.pl        2015-01-12 00:17:50 UTC (rev 178251)
</span><span class="lines">@@ -87,21 +87,12 @@
</span><span class="cx">     push @aliases, $_;
</span><span class="cx">   } else {
</span><span class="cx">     $nameIsInherited{$_} = 0;
</span><del>-    my $isUsingLegacyStyleBuilder = 0;
</del><span class="cx">     $propertiesWithStyleBuilderOptions{$_} = {};
</span><span class="cx">     foreach my $option (@options) {
</span><span class="cx">       my ($optionName, $optionValue) = split(/=/, $option);
</span><span class="cx">       if ($optionName eq &quot;Inherited&quot;) {
</span><span class="cx">         $nameIsInherited{$_} = 1;
</span><del>-      } elsif ($optionName eq &quot;LegacyStyleBuilder&quot;) {
-        # FIXME: This is temporary. Eventually, all properties will use the new
-        # style builder and this option will go away.
-        $isUsingLegacyStyleBuilder = 1;
-        delete $propertiesWithStyleBuilderOptions{$_};
</del><span class="cx">       } elsif ($styleBuilderOptions{$optionName}) {
</span><del>-        # FIXME: Temporary until all SVG properties have been ported to the new StyleBuilder.
-        next if ($optionName eq &quot;SVG&quot; &amp;&amp; $isUsingLegacyStyleBuilder);
-        die &quot;\&quot;&quot; . $optionName . &quot;\&quot; option was used with \&quot;LegacyStyleBuilder\&quot; option for &quot; . $_ . &quot; property.&quot; if $isUsingLegacyStyleBuilder;
</del><span class="cx">         $propertiesWithStyleBuilderOptions{$_}{$optionName} = $optionValue;
</span><span class="cx">       } else {
</span><span class="cx">         die &quot;Unrecognized \&quot;&quot; . $optionName . &quot;\&quot; option for &quot; . $_ . &quot; property.&quot;;
</span><span class="lines">@@ -446,9 +437,6 @@
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> foreach my $name (@names) {
</span><del>-  # Skip properties still using the legacy style builder.
-  next unless exists($propertiesWithStyleBuilderOptions{$name});
-
</del><span class="cx">   my $nameForMethods = getNameForMethods($name);
</span><span class="cx">   $nameForMethods =~ s/Webkit//g;
</span><span class="cx">   if (exists($propertiesWithStyleBuilderOptions{$name}{&quot;NameForMethods&quot;})) {
</span><span class="lines">@@ -858,9 +846,6 @@
</span><span class="cx"> EOF
</span><span class="cx"> 
</span><span class="cx"> foreach my $name (@names) {
</span><del>-  # Skip properties still using the legacy style builder.
-  next unless exists($propertiesWithStyleBuilderOptions{$name});
-
</del><span class="cx">   # Skip Shorthand properties and properties that do not use the StyleBuilder.
</span><span class="cx">   next if (exists $propertiesWithStyleBuilderOptions{$name}{&quot;Shorthand&quot;});
</span><span class="cx">   next if (exists $propertiesWithStyleBuilderOptions{$name}{&quot;SkipBuilder&quot;});
</span><span class="lines">@@ -880,17 +865,14 @@
</span><span class="cx"> print STYLEBUILDER &lt;&lt; &quot;EOF&quot;;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-bool StyleBuilder::applyProperty(CSSPropertyID property, StyleResolver&amp; styleResolver, CSSValue&amp; value, bool isInitial, bool isInherit)
</del><ins>+void StyleBuilder::applyProperty(CSSPropertyID property, StyleResolver&amp; styleResolver, CSSValue&amp; value, bool isInitial, bool isInherit)
</ins><span class="cx"> {
</span><span class="cx">     switch (property) {
</span><span class="cx">     case CSSPropertyInvalid:
</span><del>-        return true;
</del><ins>+        break;
</ins><span class="cx"> EOF
</span><span class="cx"> 
</span><span class="cx"> foreach my $name (@names) {
</span><del>-  # Skip properties still using the legacy style builder.
-  next unless exists($propertiesWithStyleBuilderOptions{$name});
-
</del><span class="cx">   print STYLEBUILDER &quot;    case CSSProperty&quot; . $nameToId{$name} . &quot;:\n&quot;;
</span><span class="cx">   if (exists $propertiesWithStyleBuilderOptions{$name}{&quot;Shorthand&quot;}) {
</span><span class="cx">     print STYLEBUILDER &quot;        ASSERT(isExpandedShorthand(property));\n&quot;;
</span><span class="lines">@@ -903,12 +885,10 @@
</span><span class="cx">     print STYLEBUILDER &quot;        else\n&quot;;
</span><span class="cx">     print STYLEBUILDER &quot;            &quot; . getScopeForFunction($name, &quot;Value&quot;) . &quot;::applyValue&quot; . $nameToId{$name} . &quot;(styleResolver, value);\n&quot;;
</span><span class="cx">   }
</span><del>-  print STYLEBUILDER &quot;        return true;\n&quot;;
</del><ins>+  print STYLEBUILDER &quot;        break;\n&quot;;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> print STYLEBUILDER &lt;&lt; &quot;EOF&quot;;
</span><del>-        default:
-            return false;
</del><span class="cx">     };
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>