<!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>[163359] 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/163359">163359</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2014-02-03 19:47:09 -0800 (Mon, 03 Feb 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Remove the CSS @host rule.
<https://webkit.org/b/128146>
The @host rule is no longer part of the spec, and besides this code
was behind ENABLE(SHADOW_DOM) so nobody was building it.
Reviewed by Anders Carlsson.
* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.list.am:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSCSSRuleCustom.cpp:
(WebCore::toJS):
* bindings/objc/DOMCSS.mm:
(kitClass):
* css/CSSAllInOne.cpp:
* css/CSSGrammar.y.in:
* css/CSSHostRule.cpp: Removed.
* css/CSSHostRule.h: Removed.
* css/CSSHostRule.idl: Removed.
* css/CSSParser.cpp:
(WebCore::CSSParser::detectDashToken):
(WebCore::CSSParser::detectAtToken):
* css/CSSParser.h:
* css/CSSRule.h:
* css/CSSRule.idl:
* css/InspectorCSSOMWrappers.cpp:
(WebCore::InspectorCSSOMWrappers::collect):
* css/StyleResolver.h:
* css/StyleRule.cpp:
(WebCore::StyleRuleBase::destroy):
(WebCore::StyleRuleBase::copy):
(WebCore::StyleRuleBase::createCSSOMWrapper):
* css/StyleRule.h:
* css/StyleSheetContents.cpp:
(WebCore::childRulesHaveFailedOrCanceledSubresources):
* inspector/InspectorStyleSheet.cpp:
(flattenSourceData):
(WebCore::asCSSRuleList):</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="#trunkSourceWebCoreDerivedSourcescpp">trunk/Source/WebCore/DerivedSources.cpp</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreGNUmakefilelistam">trunk/Source/WebCore/GNUmakefile.list.am</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="#trunkSourceWebCorebindingsjsJSCSSRuleCustomcpp">trunk/Source/WebCore/bindings/js/JSCSSRuleCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCSSmm">trunk/Source/WebCore/bindings/objc/DOMCSS.mm</a></li>
<li><a href="#trunkSourceWebCorecssCSSAllInOnecpp">trunk/Source/WebCore/css/CSSAllInOne.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSGrammaryin">trunk/Source/WebCore/css/CSSGrammar.y.in</a></li>
<li><a href="#trunkSourceWebCorecssCSSParsercpp">trunk/Source/WebCore/css/CSSParser.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSParserh">trunk/Source/WebCore/css/CSSParser.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSRuleh">trunk/Source/WebCore/css/CSSRule.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSRuleidl">trunk/Source/WebCore/css/CSSRule.idl</a></li>
<li><a href="#trunkSourceWebCorecssInspectorCSSOMWrapperscpp">trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolverh">trunk/Source/WebCore/css/StyleResolver.h</a></li>
<li><a href="#trunkSourceWebCorecssStyleRulecpp">trunk/Source/WebCore/css/StyleRule.cpp</a></li>
<li><a href="#trunkSourceWebCorecssStyleRuleh">trunk/Source/WebCore/css/StyleRule.h</a></li>
<li><a href="#trunkSourceWebCorecssStyleSheetContentscpp">trunk/Source/WebCore/css/StyleSheetContents.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorStyleSheetcpp">trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorecssCSSHostRulecpp">trunk/Source/WebCore/css/CSSHostRule.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSHostRuleh">trunk/Source/WebCore/css/CSSHostRule.h</a></li>
<li><a href="#trunkSourceWebCorecssCSSHostRuleidl">trunk/Source/WebCore/css/CSSHostRule.idl</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/CMakeLists.txt        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -295,7 +295,6 @@
</span><span class="cx"> css/CSSCharsetRule.idl
</span><span class="cx"> css/CSSFontFaceLoadEvent.idl
</span><span class="cx"> css/CSSFontFaceRule.idl
</span><del>- css/CSSHostRule.idl
</del><span class="cx"> css/CSSImportRule.idl
</span><span class="cx"> css/CSSMediaRule.idl
</span><span class="cx"> css/CSSPageRule.idl
</span><span class="lines">@@ -1040,7 +1039,6 @@
</span><span class="cx"> css/CSSGradientValue.cpp
</span><span class="cx"> css/CSSGridTemplateValue.cpp
</span><span class="cx"> css/CSSGroupingRule.cpp
</span><del>- css/CSSHostRule.cpp
</del><span class="cx"> css/CSSImageGeneratorValue.cpp
</span><span class="cx"> css/CSSImageSetValue.cpp
</span><span class="cx"> css/CSSImageValue.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/ChangeLog        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -1,3 +1,49 @@
</span><ins>+2014-02-03 Andreas Kling <akling@apple.com>
+
+ Remove the CSS @host rule.
+ <https://webkit.org/b/128146>
+
+ The @host rule is no longer part of the spec, and besides this code
+ was behind ENABLE(SHADOW_DOM) so nobody was building it.
+
+ Reviewed by Anders Carlsson.
+
+ * CMakeLists.txt:
+ * DerivedSources.cpp:
+ * DerivedSources.make:
+ * GNUmakefile.list.am:
+ * WebCore.vcxproj/WebCore.vcxproj:
+ * WebCore.vcxproj/WebCore.vcxproj.filters:
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/js/JSCSSRuleCustom.cpp:
+ (WebCore::toJS):
+ * bindings/objc/DOMCSS.mm:
+ (kitClass):
+ * css/CSSAllInOne.cpp:
+ * css/CSSGrammar.y.in:
+ * css/CSSHostRule.cpp: Removed.
+ * css/CSSHostRule.h: Removed.
+ * css/CSSHostRule.idl: Removed.
+ * css/CSSParser.cpp:
+ (WebCore::CSSParser::detectDashToken):
+ (WebCore::CSSParser::detectAtToken):
+ * css/CSSParser.h:
+ * css/CSSRule.h:
+ * css/CSSRule.idl:
+ * css/InspectorCSSOMWrappers.cpp:
+ (WebCore::InspectorCSSOMWrappers::collect):
+ * css/StyleResolver.h:
+ * css/StyleRule.cpp:
+ (WebCore::StyleRuleBase::destroy):
+ (WebCore::StyleRuleBase::copy):
+ (WebCore::StyleRuleBase::createCSSOMWrapper):
+ * css/StyleRule.h:
+ * css/StyleSheetContents.cpp:
+ (WebCore::childRulesHaveFailedOrCanceledSubresources):
+ * inspector/InspectorStyleSheet.cpp:
+ (flattenSourceData):
+ (WebCore::asCSSRuleList):
+
</ins><span class="cx"> 2014-02-03 Zalan Bujtas <zalan@apple.com>
</span><span class="cx">
</span><span class="cx"> Subpixel rendering: Do not query the scaling factor when the graphics context is invalid.
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/DerivedSources.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -89,7 +89,6 @@
</span><span class="cx"> #include "JSCSSFontFaceLoadEvent.cpp"
</span><span class="cx"> #endif
</span><span class="cx"> #include "JSCSSFontFaceRule.cpp"
</span><del>-#include "JSCSSHostRule.cpp"
</del><span class="cx"> #include "JSCSSImportRule.cpp"
</span><span class="cx"> #include "JSCSSMediaRule.cpp"
</span><span class="cx"> #include "JSCSSPageRule.cpp"
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/DerivedSources.make        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -210,7 +210,6 @@
</span><span class="cx"> $(WebCore)/css/CSSCharsetRule.idl \
</span><span class="cx"> $(WebCore)/css/CSSFontFaceLoadEvent.idl \
</span><span class="cx"> $(WebCore)/css/CSSFontFaceRule.idl \
</span><del>- $(WebCore)/css/CSSHostRule.idl \
</del><span class="cx"> $(WebCore)/css/CSSImportRule.idl \
</span><span class="cx"> $(WebCore)/css/CSSMediaRule.idl \
</span><span class="cx"> $(WebCore)/css/CSSPageRule.idl \
</span></span></pre></div>
<a id="trunkSourceWebCoreGNUmakefilelistam"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/GNUmakefile.list.am (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/GNUmakefile.list.am        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/GNUmakefile.list.am        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -128,8 +128,6 @@
</span><span class="cx">         DerivedSources/WebCore/JSCSSFontFaceLoadEvent.h \
</span><span class="cx">         DerivedSources/WebCore/JSCSSFontFaceRule.cpp \
</span><span class="cx">         DerivedSources/WebCore/JSCSSFontFaceRule.h \
</span><del>-        DerivedSources/WebCore/JSCSSHostRule.cpp \
-        DerivedSources/WebCore/JSCSSHostRule.h \
</del><span class="cx">         DerivedSources/WebCore/JSCSSImportRule.cpp \
</span><span class="cx">         DerivedSources/WebCore/JSCSSImportRule.h \
</span><span class="cx">         DerivedSources/WebCore/JSCSSMediaRule.cpp \
</span><span class="lines">@@ -1303,7 +1301,6 @@
</span><span class="cx">         $(WebCore)/css/CSSCharsetRule.idl \
</span><span class="cx">         $(WebCore)/css/CSSFontFaceLoadEvent.idl \
</span><span class="cx">         $(WebCore)/css/CSSFontFaceRule.idl \
</span><del>-        $(WebCore)/css/CSSHostRule.idl \
</del><span class="cx">         $(WebCore)/css/CSSImportRule.idl \
</span><span class="cx">         $(WebCore)/css/CSSMediaRule.idl \
</span><span class="cx">         $(WebCore)/css/CSSPageRule.idl \
</span><span class="lines">@@ -2563,8 +2560,6 @@
</span><span class="cx">         Source/WebCore/css/CSSGroupingRule.cpp \
</span><span class="cx">         Source/WebCore/css/CSSGroupingRule.h \
</span><span class="cx">         Source/WebCore/css/CSSHelper.h \
</span><del>-        Source/WebCore/css/CSSHostRule.cpp \
-        Source/WebCore/css/CSSHostRule.h \
</del><span class="cx">         Source/WebCore/css/CSSImageGeneratorValue.cpp \
</span><span class="cx">         Source/WebCore/css/CSSImageGeneratorValue.h \
</span><span class="cx">         Source/WebCore/css/CSSImageSetValue.cpp \
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -1147,20 +1147,6 @@
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.cpp">
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</span><span class="lines">@@ -9032,20 +9018,6 @@
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="..\css\CSSHostRule.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="..\css\CSSImageGeneratorValue.cpp">
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</span><span class="lines">@@ -18044,7 +18016,6 @@
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSCharsetRule.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceLoadEvent.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceRule.h" />
</span><del>- <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.h" />
</del><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSMediaRule.h" />
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSPageRule.h" />
</span><span class="lines">@@ -19683,7 +19654,6 @@
</span><span class="cx"> <ClInclude Include="..\css\CSSGridTemplateValue.h" />
</span><span class="cx"> <ClInclude Include="..\css\CSSGroupingRule.h" />
</span><span class="cx"> <ClInclude Include="..\css\CSSHelper.h" />
</span><del>- <ClInclude Include="..\css\CSSHostRule.h" />
</del><span class="cx"> <ClInclude Include="..\css\CSSImageGeneratorValue.h" />
</span><span class="cx"> <ClInclude Include="..\css\CSSImageValue.h" />
</span><span class="cx"> <ClInclude Include="..\css\CSSImportRule.h" />
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -2133,9 +2133,6 @@
</span><span class="cx"> <ClCompile Include="..\css\CSSGroupingRule.cpp">
</span><span class="cx"> <Filter>css</Filter>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="..\css\CSSHostRule.cpp">
- <Filter>css</Filter>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="..\css\CSSImageGeneratorValue.cpp">
</span><span class="cx"> <Filter>css</Filter>
</span><span class="cx"> </ClCompile>
</span><span class="lines">@@ -5272,9 +5269,6 @@
</span><span class="cx"> <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceRule.cpp">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.cpp">
- <Filter>DerivedSources</Filter>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.cpp">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClCompile>
</span><span class="lines">@@ -8951,9 +8945,6 @@
</span><span class="cx"> <ClInclude Include="..\css\CSSHelper.h">
</span><span class="cx"> <Filter>css</Filter>
</span><span class="cx"> </ClInclude>
</span><del>- <ClInclude Include="..\css\CSSHostRule.h">
- <Filter>css</Filter>
- </ClInclude>
</del><span class="cx"> <ClInclude Include="..\css\CSSImageGeneratorValue.h">
</span><span class="cx"> <Filter>css</Filter>
</span><span class="cx"> </ClInclude>
</span><span class="lines">@@ -13030,9 +13021,6 @@
</span><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceRule.h">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClInclude>
</span><del>- <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.h">
- <Filter>DerivedSources</Filter>
- </ClInclude>
</del><span class="cx"> <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.h">
</span><span class="cx"> <Filter>DerivedSources</Filter>
</span><span class="cx"> </ClInclude>
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -6154,7 +6154,6 @@
</span><span class="cx">                 FB3056C2169E5DAC0096A232 /* CSSGroupingRule.h in Headers */ = {isa = PBXBuildFile; fileRef = FB3056C1169E5DAC0096A232 /* CSSGroupingRule.h */; };
</span><span class="cx">                 FB484F4C171F821E00040755 /* TransformFunctions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FB484F4A171F821E00040755 /* TransformFunctions.cpp */; };
</span><span class="cx">                 FB484F4D171F821E00040755 /* TransformFunctions.h in Headers */ = {isa = PBXBuildFile; fileRef = FB484F4B171F821E00040755 /* TransformFunctions.h */; };
</span><del>-                FB49C39D16784947007FFB5D /* CSSHostRule.h in Headers */ = {isa = PBXBuildFile; fileRef = FB49C39C16784947007FFB5D /* CSSHostRule.h */; };
</del><span class="cx">                 FB78AD2E151BF5E600FE54D3 /* CSSParserMode.h in Headers */ = {isa = PBXBuildFile; fileRef = FB78AD2C151BF5D200FE54D3 /* CSSParserMode.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 FB91392416AE4C17001FE682 /* DOMPath.h in Headers */ = {isa = PBXBuildFile; fileRef = FB91392016AE4B0B001FE682 /* DOMPath.h */; };
</span><span class="cx">                 FB91392616AE4C2F001FE682 /* CanvasPathMethods.h in Headers */ = {isa = PBXBuildFile; fileRef = FB91391F16AE4B0B001FE682 /* CanvasPathMethods.h */; };
</span><span class="lines">@@ -13493,8 +13492,6 @@
</span><span class="cx">                 FB3056C1169E5DAC0096A232 /* CSSGroupingRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSGroupingRule.h; sourceTree = "<group>"; };
</span><span class="cx">                 FB484F4A171F821E00040755 /* TransformFunctions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TransformFunctions.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 FB484F4B171F821E00040755 /* TransformFunctions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TransformFunctions.h; sourceTree = "<group>"; };
</span><del>-                FB49C39C16784947007FFB5D /* CSSHostRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSHostRule.h; sourceTree = "<group>"; };
-                FB49C39E16784954007FFB5D /* CSSHostRule.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CSSHostRule.idl; sourceTree = "<group>"; };
</del><span class="cx">                 FB78AD2C151BF5D200FE54D3 /* CSSParserMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSParserMode.h; sourceTree = "<group>"; };
</span><span class="cx">                 FB91391E16AE4B0B001FE682 /* CanvasPathMethods.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CanvasPathMethods.cpp; path = canvas/CanvasPathMethods.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 FB91391F16AE4B0B001FE682 /* CanvasPathMethods.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CanvasPathMethods.h; path = canvas/CanvasPathMethods.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -21363,8 +21360,6 @@
</span><span class="cx">                                 FBF89044169E9F1F0052D86E /* CSSGroupingRule.cpp */,
</span><span class="cx">                                 FB3056C1169E5DAC0096A232 /* CSSGroupingRule.h */,
</span><span class="cx">                                 BC772B360C4EA91E0083285F /* CSSHelper.h */,
</span><del>-                                FB49C39C16784947007FFB5D /* CSSHostRule.h */,
-                                FB49C39E16784954007FFB5D /* CSSHostRule.idl */,
</del><span class="cx">                                 BC23E76B0DAE88A9009FDC91 /* CSSImageGeneratorValue.cpp */,
</span><span class="cx">                                 BC23EE910DAED2BC009FDC91 /* CSSImageGeneratorValue.h */,
</span><span class="cx">                                 9393E5FD151A99F200066F06 /* CSSImageSetValue.cpp */,
</span><span class="lines">@@ -22949,7 +22944,6 @@
</span><span class="cx">                                 51EAC5B218163F4E004F1BA4 /* IDBRecordIdentifier.h in Headers */,
</span><span class="cx">                                 FB3056C2169E5DAC0096A232 /* CSSGroupingRule.h in Headers */,
</span><span class="cx">                                 BC772B3C0C4EA91E0083285F /* CSSHelper.h in Headers */,
</span><del>-                                FB49C39D16784947007FFB5D /* CSSHostRule.h in Headers */,
</del><span class="cx">                                 E1F80B8E183172B5007885C3 /* JSCryptoKeyPair.h in Headers */,
</span><span class="cx">                                 BC23EE920DAED2BC009FDC91 /* CSSImageGeneratorValue.h in Headers */,
</span><span class="cx">                                 9393E600151A99F200066F06 /* CSSImageSetValue.h in Headers */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSCSSRuleCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSCSSRuleCustom.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSCSSRuleCustom.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/bindings/js/JSCSSRuleCustom.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -35,7 +35,6 @@
</span><span class="cx"> #include "CSSSupportsRule.h"
</span><span class="cx"> #include "JSCSSCharsetRule.h"
</span><span class="cx"> #include "JSCSSFontFaceRule.h"
</span><del>-#include "JSCSSHostRule.h"
</del><span class="cx"> #include "JSCSSImportRule.h"
</span><span class="cx"> #include "JSCSSMediaRule.h"
</span><span class="cx"> #include "JSCSSPageRule.h"
</span><span class="lines">@@ -115,11 +114,6 @@
</span><span class="cx"> wrapper = CREATE_DOM_WRAPPER(exec, globalObject, WebKitCSSRegionRule, rule);
</span><span class="cx"> break;
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
- case CSSRule::HOST_RULE:
- wrapper = CREATE_DOM_WRAPPER(exec, globalObject, CSSHostRule, rule);
- break;
-#endif
</del><span class="cx"> default:
</span><span class="cx"> wrapper = CREATE_DOM_WRAPPER(exec, globalObject, CSSRule, rule);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCSSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/objc/DOMCSS.mm (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCSS.mm        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/bindings/objc/DOMCSS.mm        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -64,10 +64,6 @@
</span><span class="cx"> #import "DOMWebKitCSSViewportRule.h"
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>-#if ENABLE(SHADOW_DOM)
-#import "DOMCSSHostRule.h"
-#endif
-
</del><span class="cx"> //------------------------------------------------------------------------------------------
</span><span class="cx"> // DOMStyleSheet
</span><span class="cx">
</span><span class="lines">@@ -114,10 +110,6 @@
</span><span class="cx"> case DOM_WEBKIT_REGION_RULE:
</span><span class="cx"> return [DOMWebKitCSSRegionRule class];
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
- case DOM_HOST_RULE:
- return [DOMCSSHostRule class];
-#endif
</del><span class="cx"> }
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><span class="cx"> return nil;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSAllInOnecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSAllInOne.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSAllInOne.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSAllInOne.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -44,7 +44,6 @@
</span><span class="cx"> #include "CSSFunctionValue.cpp"
</span><span class="cx"> #include "CSSGradientValue.cpp"
</span><span class="cx"> #include "CSSGroupingRule.cpp"
</span><del>-#include "CSSHostRule.cpp"
</del><span class="cx"> #include "CSSImageGeneratorValue.cpp"
</span><span class="cx"> #include "CSSImageSetValue.cpp"
</span><span class="cx"> #include "CSSImageValue.cpp"
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSGrammaryin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSGrammar.y.in (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSGrammar.y.in        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSGrammar.y.in        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -70,11 +70,7 @@
</span><span class="cx">
</span><span class="cx"> %}
</span><span class="cx">
</span><del>-#if ENABLE_SHADOW_DOM
-%expect 30
-#else
</del><span class="cx"> %expect 29
</span><del>-#endif
</del><span class="cx">
</span><span class="cx"> %nonassoc LOWEST_PREC
</span><span class="cx">
</span><span class="lines">@@ -291,15 +287,6 @@
</span><span class="cx">
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>-#if ENABLE_SHADOW_DOM
-
-%token HOST_SYM
-
-%type <rule> host
-%destructor { if ($$) $$->deref(); } host
-
-#endif
-
</del><span class="cx"> #if ENABLE_VIDEO_TRACK
</span><span class="cx">
</span><span class="cx"> %token <string> CUEFUNCTION
</span><span class="lines">@@ -406,9 +393,6 @@
</span><span class="cx"> #if ENABLE_CSS3_CONDITIONAL_RULES
</span><span class="cx"> | supports
</span><span class="cx"> #endif
</span><del>-#if ENABLE_SHADOW_DOM
- | host
-#endif
</del><span class="cx"> #if ENABLE_CSS_DEVICE_ADAPTATION
</span><span class="cx"> | viewport
</span><span class="cx"> #endif
</span><span class="lines">@@ -883,26 +867,6 @@
</span><span class="cx"> }
</span><span class="cx"> ;
</span><span class="cx">
</span><del>-#if ENABLE_SHADOW_DOM
-
-before_host_rule:
- /* empty */ {
- parser->markRuleHeaderStart(CSSRuleSourceData::HOST_RULE);
- }
- ;
-
-host:
- before_host_rule HOST_SYM at_rule_header_end_maybe_space '{' at_rule_body_start maybe_space block_rule_list save_block {
- $$ = parser->createHostRule(adoptPtr($7).get()).leakRef();
- }
- | before_host_rule HOST_SYM at_rule_header_end_maybe_space ';' {
- $$ = nullptr;
- parser->popRuleData();
- }
- ;
-
-#endif
-
</del><span class="cx"> #if ENABLE_CSS_DEVICE_ADAPTATION
</span><span class="cx">
</span><span class="cx"> before_viewport_rule:
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSHostRulecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/CSSHostRule.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSHostRule.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSHostRule.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/**
- * (C) 1999-2003 Lars Knoll (knoll@kde.org)
- * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
- * Copyright (C) 2002, 2005, 2006, 2012 Apple Computer, Inc.
- * Copyright (C) 2006 Samuel Weinig (sam@webkit.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 "config.h"
-#include "CSSHostRule.h"
-
-#if ENABLE(SHADOW_DOM)
-
-#include <wtf/text/StringBuilder.h>
-
-namespace WebCore {
-
-CSSHostRule::CSSHostRule(StyleRuleHost* hostRule, CSSStyleSheet* parent)
- : CSSGroupingRule(hostRule, parent)
-{
-}
-
-String CSSHostRule::cssText() const
-{
- StringBuilder result;
- result.appendLiteral("@host { \n");
- appendCssTextForItems(result);
- result.append('}');
- return result.toString();
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(SHADOW_DOM)
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSHostRuleh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/CSSHostRule.h (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSHostRule.h        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSHostRule.h        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-/*
- * (C) 1999-2003 Lars Knoll (knoll@kde.org)
- * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
- * Copyright (C) 2002, 2006, 2008, 2012 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig (sam@webkit.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.
- */
-
-#ifndef CSSHostRule_h
-#define CSSHostRule_h
-
-#include "CSSGroupingRule.h"
-
-namespace WebCore {
-
-#if ENABLE(SHADOW_DOM)
-
-class CSSHostRule : public CSSGroupingRule {
-public:
- static PassRefPtr<CSSHostRule> create(StyleRuleHost* rule, CSSStyleSheet* sheet) { return adoptRef(new CSSHostRule(rule, sheet)); }
-
- virtual CSSRule::Type type() const override { return CSSRule::HOST_RULE; }
- virtual String cssText() const override;
-
-private:
- CSSHostRule(StyleRuleHost*, CSSStyleSheet*);
-};
-
-#endif // ENABLE(SHADOW_DOM)
-
-} // namespace WebCore
-
-#endif // CSSHostRule_h
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSHostRuleidl"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/css/CSSHostRule.idl (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSHostRule.idl        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSHostRule.idl        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-/*
- * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
- *
- * 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.
- */
-
-// Introduced in Shadow DOM spec:
-[
- Conditional=SHADOW_DOM,
-] interface CSSHostRule : CSSRule {
- readonly attribute CSSRuleList cssRules;
-
- [RaisesException] unsigned long insertRule([Default=Undefined] optional DOMString rule,
- [Default=Undefined] optional unsigned long index);
- [RaisesException] void deleteRule([Default=Undefined] optional unsigned long index);
-};
-
</del></span></pre></div>
<a id="trunkSourceWebCorecssCSSParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSParser.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -10689,10 +10689,6 @@
</span><span class="cx"> m_token = MAXFUNCTION;
</span><span class="cx"> } else if (length == 12 && isEqualToCSSIdentifier(name + 1, "webkit-calc"))
</span><span class="cx"> m_token = CALCFUNCTION;
</span><del>-#if ENABLE(SHADOW_DOM)
- else if (length == 19 && isEqualToCSSIdentifier(name + 1, "webkit-distributed"))
- m_token = DISTRIBUTEDFUNCTION;
-#endif
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> template <typename CharacterType>
</span><span class="lines">@@ -10746,13 +10742,6 @@
</span><span class="cx"> m_token = FONT_FACE_SYM;
</span><span class="cx"> return;
</span><span class="cx">
</span><del>-#if ENABLE(SHADOW_DOM)
- case 'h':
- if (length == 5 && isEqualToCSSIdentifier(name + 2, "ost"))
- m_token = HOST_SYM;
- return;
-#endif
-
</del><span class="cx"> case 'i':
</span><span class="cx"> if (length == 7 && isEqualToCSSIdentifier(name + 2, "mport")) {
</span><span class="cx"> m_parsingMode = MediaQueryMode;
</span><span class="lines">@@ -11552,22 +11541,6 @@
</span><span class="cx"> return rule.release();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-#if ENABLE(SHADOW_DOM)
-PassRefPtr<StyleRuleBase> CSSParser::createHostRule(RuleList* rules)
-{
- m_allowImportRules = m_allowNamespaceDeclarations = false;
- RefPtr<StyleRuleHost> rule;
- if (rules)
- rule = StyleRuleHost::create(*rules);
- else {
- RuleList emptyRules;
- rule = StyleRuleHost::create(emptyRules);
- }
- processAndAddNewRuleToSourceTreeIfNeeded();
- return rule.release();
-}
-#endif
-
</del><span class="cx"> void CSSParser::addNamespace(const AtomicString& prefix, const AtomicString& uri)
</span><span class="cx"> {
</span><span class="cx"> if (!m_styleSheet || !m_allowNamespaceDeclarations)
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSParserh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.h (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.h        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSParser.h        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -310,9 +310,6 @@
</span><span class="cx"> void markSupportsRuleHeaderEnd();
</span><span class="cx"> PassRefPtr<CSSRuleSourceData> popSupportsRuleData();
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
- PassRefPtr<StyleRuleBase> createHostRule(RuleList*);
-#endif
</del><span class="cx">
</span><span class="cx"> void startDeclarationsForMarginBox();
</span><span class="cx"> void endDeclarationsForMarginBox();
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSRuleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSRule.h (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSRule.h        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSRule.h        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -59,9 +59,6 @@
</span><span class="cx"> #if ENABLE(CSS_REGIONS)
</span><span class="cx"> WEBKIT_REGION_RULE = 16,
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
- HOST_RULE = 1001,
-#endif
</del><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> virtual Type type() const = 0;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSRuleidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSRule.idl (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSRule.idl        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/CSSRule.idl        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -46,9 +46,6 @@
</span><span class="cx"> #if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS
</span><span class="cx"> const unsigned short WEBKIT_REGION_RULE = 16;
</span><span class="cx"> #endif
</span><del>-#if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM
- const unsigned short HOST_RULE = 1001;
-#endif
</del><span class="cx">
</span><span class="cx"> readonly attribute unsigned short type;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorecssInspectorCSSOMWrapperscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/InspectorCSSOMWrappers.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #include "InspectorCSSOMWrappers.h"
</span><span class="cx">
</span><span class="cx"> #include "CSSDefaultStyleSheets.h"
</span><del>-#include "CSSHostRule.h"
</del><span class="cx"> #include "CSSImportRule.h"
</span><span class="cx"> #include "CSSMediaRule.h"
</span><span class="cx"> #include "CSSRule.h"
</span><span class="lines">@@ -74,11 +73,6 @@
</span><span class="cx"> collect(static_cast<WebKitCSSRegionRule*>(cssRule));
</span><span class="cx"> break;
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
- case CSSRule::HOST_RULE:
- collect(static_cast<CSSHostRule*>(cssRule));
- break;
-#endif
</del><span class="cx"> case CSSRule::STYLE_RULE:
</span><span class="cx"> m_styleRuleToCSSOMWrapperMap.add(static_cast<CSSStyleRule*>(cssRule)->styleRule(), static_cast<CSSStyleRule*>(cssRule));
</span><span class="cx"> break;
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolverh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.h (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.h        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/StyleResolver.h        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -81,9 +81,6 @@
</span><span class="cx"> class StylePendingImage;
</span><span class="cx"> class StyleProperties;
</span><span class="cx"> class StyleRule;
</span><del>-#if ENABLE(SHADOW_DOM)
-class StyleRuleHost;
-#endif
</del><span class="cx"> class StyleRuleKeyframes;
</span><span class="cx"> class StyleRulePage;
</span><span class="cx"> class StyleRuleRegion;
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleRulecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleRule.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleRule.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/StyleRule.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -24,7 +24,6 @@
</span><span class="cx">
</span><span class="cx"> #include "CSSCharsetRule.h"
</span><span class="cx"> #include "CSSFontFaceRule.h"
</span><del>-#include "CSSHostRule.h"
</del><span class="cx"> #include "CSSImportRule.h"
</span><span class="cx"> #include "CSSMediaRule.h"
</span><span class="cx"> #include "CSSPageRule.h"
</span><span class="lines">@@ -87,11 +86,6 @@
</span><span class="cx"> case Keyframes:
</span><span class="cx"> delete static_cast<StyleRuleKeyframes*>(this);
</span><span class="cx"> return;
</span><del>-#if ENABLE(SHADOW_DOM)
- case HostInternal:
- delete static_cast<StyleRuleHost*>(this);
- return;
-#endif
</del><span class="cx"> #if ENABLE(CSS_DEVICE_ADAPTATION)
</span><span class="cx"> case Viewport:
</span><span class="cx"> delete static_cast<StyleRuleViewport*>(this);
</span><span class="lines">@@ -130,10 +124,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> case Keyframes:
</span><span class="cx"> return static_cast<const StyleRuleKeyframes*>(this)->copy();
</span><del>-#if ENABLE(SHADOW_DOM)
- case HostInternal:
- return static_cast<const StyleRuleHost*>(this)->copy();
-#endif
</del><span class="cx"> #if ENABLE(CSS_DEVICE_ADAPTATION)
</span><span class="cx"> case Viewport:
</span><span class="cx"> return static_cast<const StyleRuleViewport*>(this)->copy();
</span><span class="lines">@@ -192,11 +182,6 @@
</span><span class="cx"> rule = WebKitCSSViewportRule::create(static_cast<StyleRuleViewport*>(self), parentSheet);
</span><span class="cx"> break;
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
- case HostInternal:
- rule = CSSHostRule::create(static_cast<StyleRuleHost*>(self), parentSheet);
- break;
-#endif
</del><span class="cx"> case Unknown:
</span><span class="cx"> case Charset:
</span><span class="cx"> case Keyframe:
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleRuleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleRule.h (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleRule.h        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/StyleRule.h        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -55,9 +55,6 @@
</span><span class="cx"> Viewport = 15,
</span><span class="cx"> #endif
</span><span class="cx"> Region = 16,
</span><del>-#if ENABLE(SHADOW_DOM)
- HostInternal = 18, // Spec says Host = 1001, but we can use only 5 bit for type().
-#endif
</del><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> Type type() const { return static_cast<Type>(m_type); }
</span><span class="lines">@@ -76,9 +73,6 @@
</span><span class="cx"> bool isViewportRule() const { return type() == Viewport; }
</span><span class="cx"> #endif
</span><span class="cx"> bool isImportRule() const { return type() == Import; }
</span><del>-#if ENABLE(SHADOW_DOM)
- bool isHostRule() const { return type() == HostInternal; }
-#endif
</del><span class="cx">
</span><span class="cx"> PassRef<StyleRuleBase> copy() const;
</span><span class="cx">
</span><span class="lines">@@ -263,22 +257,6 @@
</span><span class="cx"> CSSSelectorList m_selectorList;
</span><span class="cx"> };
</span><span class="cx">
</span><del>-#if ENABLE(SHADOW_DOM)
-class StyleRuleHost : public StyleRuleGroup {
-public:
- static PassRef<StyleRuleHost> create(Vector<RefPtr<StyleRuleBase>>& adoptRules)
- {
- return adoptRef(*new StyleRuleHost(adoptRules));
- }
-
- PassRef<StyleRuleHost> copy() const { return adoptRef(*new StyleRuleHost(*this)); }
-
-private:
- StyleRuleHost(Vector<RefPtr<StyleRuleBase>>& adoptRules) : StyleRuleGroup(HostInternal, adoptRules) { }
- StyleRuleHost(const StyleRuleHost& o) : StyleRuleGroup(o) { }
-};
-#endif
-
</del><span class="cx"> #if ENABLE(CSS_DEVICE_ADAPTATION)
</span><span class="cx"> class StyleRuleViewport : public StyleRuleBase {
</span><span class="cx"> public:
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleSheetContentscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleSheetContents.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleSheetContents.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/css/StyleSheetContents.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -448,12 +448,6 @@
</span><span class="cx"> if (childRulesHaveFailedOrCanceledSubresources(static_cast<const StyleRuleRegion*>(rule)->childRules()))
</span><span class="cx"> return true;
</span><span class="cx"> break;
</span><del>-#if ENABLE(SHADOW_DOM)
- case StyleRuleBase::HostInternal:
- if (childRulesHaveFailedOrCanceledSubresources(static_cast<const StyleRuleHost*>(rule)->childRules()))
- return true;
- break;
-#endif
</del><span class="cx"> case StyleRuleBase::Import:
</span><span class="cx"> ASSERT_NOT_REACHED();
</span><span class="cx"> #if ASSERT_DISABLED
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorStyleSheetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp (163358 => 163359)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp        2014-02-04 03:10:15 UTC (rev 163358)
+++ trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp        2014-02-04 03:47:09 UTC (rev 163359)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx">
</span><span class="cx"> #include "InspectorStyleSheet.h"
</span><span class="cx">
</span><del>-#include "CSSHostRule.h"
</del><span class="cx"> #include "CSSImportRule.h"
</span><span class="cx"> #include "CSSMediaRule.h"
</span><span class="cx"> #include "CSSParser.h"
</span><span class="lines">@@ -109,10 +108,6 @@
</span><span class="cx"> target->append(data);
</span><span class="cx"> else if (data->type == CSSRuleSourceData::MEDIA_RULE)
</span><span class="cx"> flattenSourceData(&data->childRules, target);
</span><del>-#if ENABLE(SHADOW_DOM)
- else if (data->type == CSSRuleSourceData::HOST_RULE)
- flattenSourceData(&data->childRules, target);
-#endif
</del><span class="cx"> #if ENABLE(CSS3_CONDITIONAL_RULES)
</span><span class="cx"> else if (data->type == CSSRuleSourceData::SUPPORTS_RULE)
</span><span class="cx"> flattenSourceData(&data->childRules, target);
</span><span class="lines">@@ -226,11 +221,6 @@
</span><span class="cx"> if (rule->type() == CSSRule::WEBKIT_KEYFRAMES_RULE)
</span><span class="cx"> return static_cast<WebKitCSSKeyframesRule*>(rule)->cssRules();
</span><span class="cx">
</span><del>-#if ENABLE(SHADOW_DOM)
- if (rule->type() == CSSRule::HOST_RULE)
- return static_cast<CSSHostRule*>(rule)->cssRules();
-#endif
-
</del><span class="cx"> #if ENABLE(CSS3_CONDITIONAL_RULES)
</span><span class="cx"> if (rule->type() == CSSRule::SUPPORTS_RULE)
</span><span class="cx"> return static_cast<CSSSupportsRule*>(rule)->cssRules();
</span></span></pre>
</div>
</div>
</body>
</html>