<!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.
&lt;https://webkit.org/b/128146&gt;

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  &lt;akling@apple.com&gt;
+
+        Remove the CSS @host rule.
+        &lt;https://webkit.org/b/128146&gt;
+
+        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  &lt;zalan@apple.com&gt;
</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 &quot;JSCSSFontFaceLoadEvent.cpp&quot;
</span><span class="cx"> #endif
</span><span class="cx"> #include &quot;JSCSSFontFaceRule.cpp&quot;
</span><del>-#include &quot;JSCSSHostRule.cpp&quot;
</del><span class="cx"> #include &quot;JSCSSImportRule.cpp&quot;
</span><span class="cx"> #include &quot;JSCSSMediaRule.cpp&quot;
</span><span class="cx"> #include &quot;JSCSSPageRule.cpp&quot;
</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">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -9032,20 +9018,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\css\CSSHostRule.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\css\CSSImageGeneratorValue.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -18044,7 +18016,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSCharsetRule.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceLoadEvent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceRule.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSMediaRule.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSPageRule.h&quot; /&gt;
</span><span class="lines">@@ -19683,7 +19654,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSGridTemplateValue.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSGroupingRule.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSHelper.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\css\CSSHostRule.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSImageGeneratorValue.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSImageValue.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSImportRule.h&quot; /&gt;
</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">     &lt;ClCompile Include=&quot;..\css\CSSGroupingRule.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\CSSHostRule.cpp&quot;&gt;
-      &lt;Filter&gt;css&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\css\CSSImageGeneratorValue.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">@@ -5272,9 +5269,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceRule.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.cpp&quot;&gt;
-      &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -8951,9 +8945,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSHelper.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;css&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\css\CSSHostRule.h&quot;&gt;
-      &lt;Filter&gt;css&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\css\CSSImageGeneratorValue.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;css&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -13030,9 +13021,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceRule.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSHostRule.h&quot;&gt;
-      &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSImportRule.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</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 = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 FB484F4A171F821E00040755 /* TransformFunctions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TransformFunctions.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 FB484F4B171F821E00040755 /* TransformFunctions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TransformFunctions.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                FB49C39C16784947007FFB5D /* CSSHostRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSHostRule.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                FB49C39E16784954007FFB5D /* CSSHostRule.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CSSHostRule.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 FB78AD2C151BF5D200FE54D3 /* CSSParserMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSParserMode.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 FB91391E16AE4B0B001FE682 /* CanvasPathMethods.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CanvasPathMethods.cpp; path = canvas/CanvasPathMethods.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 FB91391F16AE4B0B001FE682 /* CanvasPathMethods.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CanvasPathMethods.h; path = canvas/CanvasPathMethods.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</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 &quot;CSSSupportsRule.h&quot;
</span><span class="cx"> #include &quot;JSCSSCharsetRule.h&quot;
</span><span class="cx"> #include &quot;JSCSSFontFaceRule.h&quot;
</span><del>-#include &quot;JSCSSHostRule.h&quot;
</del><span class="cx"> #include &quot;JSCSSImportRule.h&quot;
</span><span class="cx"> #include &quot;JSCSSMediaRule.h&quot;
</span><span class="cx"> #include &quot;JSCSSPageRule.h&quot;
</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 &quot;DOMWebKitCSSViewportRule.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(SHADOW_DOM)
-#import &quot;DOMCSSHostRule.h&quot;
-#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 &quot;CSSFunctionValue.cpp&quot;
</span><span class="cx"> #include &quot;CSSGradientValue.cpp&quot;
</span><span class="cx"> #include &quot;CSSGroupingRule.cpp&quot;
</span><del>-#include &quot;CSSHostRule.cpp&quot;
</del><span class="cx"> #include &quot;CSSImageGeneratorValue.cpp&quot;
</span><span class="cx"> #include &quot;CSSImageSetValue.cpp&quot;
</span><span class="cx"> #include &quot;CSSImageValue.cpp&quot;
</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 &lt;rule&gt; host
-%destructor { if ($$) $$-&gt;deref(); } host
-
-#endif
-
</del><span class="cx"> #if ENABLE_VIDEO_TRACK
</span><span class="cx"> 
</span><span class="cx"> %token &lt;string&gt; 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-&gt;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-&gt;createHostRule(adoptPtr($7).get()).leakRef();
-    }
-    | before_host_rule HOST_SYM at_rule_header_end_maybe_space ';' {
-        $$ = nullptr;
-        parser-&gt;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 &quot;config.h&quot;
-#include &quot;CSSHostRule.h&quot;
-
-#if ENABLE(SHADOW_DOM)
-
-#include &lt;wtf/text/StringBuilder.h&gt;
-
-namespace WebCore {
-
-CSSHostRule::CSSHostRule(StyleRuleHost* hostRule, CSSStyleSheet* parent)
-    : CSSGroupingRule(hostRule, parent)
-{
-}
-
-String CSSHostRule::cssText() const
-{
-    StringBuilder result;
-    result.appendLiteral(&quot;@host { \n&quot;);
-    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 &quot;CSSGroupingRule.h&quot;
-
-namespace WebCore {
-
-#if ENABLE(SHADOW_DOM)
-
-class CSSHostRule : public CSSGroupingRule {
-public:
-    static PassRefPtr&lt;CSSHostRule&gt; 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 &lt;sam.weinig@gmail.com&gt;
- *
- * 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 &amp;&amp; isEqualToCSSIdentifier(name + 1, &quot;webkit-calc&quot;))
</span><span class="cx">         m_token = CALCFUNCTION;
</span><del>-#if ENABLE(SHADOW_DOM)
-    else if (length == 19 &amp;&amp; isEqualToCSSIdentifier(name + 1, &quot;webkit-distributed&quot;))
-        m_token = DISTRIBUTEDFUNCTION;
-#endif
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> template &lt;typename CharacterType&gt;
</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 &amp;&amp; isEqualToCSSIdentifier(name + 2, &quot;ost&quot;))
-            m_token = HOST_SYM;
-        return;
-#endif
-
</del><span class="cx">     case 'i':
</span><span class="cx">         if (length == 7 &amp;&amp; isEqualToCSSIdentifier(name + 2, &quot;mport&quot;)) {
</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&lt;StyleRuleBase&gt; CSSParser::createHostRule(RuleList* rules)
-{
-    m_allowImportRules = m_allowNamespaceDeclarations = false;
-    RefPtr&lt;StyleRuleHost&gt; 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&amp; prefix, const AtomicString&amp; 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&lt;CSSRuleSourceData&gt; popSupportsRuleData();
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
-    PassRefPtr&lt;StyleRuleBase&gt; 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) &amp;&amp; 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) &amp;&amp; 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 &quot;InspectorCSSOMWrappers.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSDefaultStyleSheets.h&quot;
</span><del>-#include &quot;CSSHostRule.h&quot;
</del><span class="cx"> #include &quot;CSSImportRule.h&quot;
</span><span class="cx"> #include &quot;CSSMediaRule.h&quot;
</span><span class="cx"> #include &quot;CSSRule.h&quot;
</span><span class="lines">@@ -74,11 +73,6 @@
</span><span class="cx">             collect(static_cast&lt;WebKitCSSRegionRule*&gt;(cssRule));
</span><span class="cx">             break;
</span><span class="cx"> #endif
</span><del>-#if ENABLE(SHADOW_DOM)
-        case CSSRule::HOST_RULE:
-            collect(static_cast&lt;CSSHostRule*&gt;(cssRule));
-            break;
-#endif
</del><span class="cx">         case CSSRule::STYLE_RULE:
</span><span class="cx">             m_styleRuleToCSSOMWrapperMap.add(static_cast&lt;CSSStyleRule*&gt;(cssRule)-&gt;styleRule(), static_cast&lt;CSSStyleRule*&gt;(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 &quot;CSSCharsetRule.h&quot;
</span><span class="cx"> #include &quot;CSSFontFaceRule.h&quot;
</span><del>-#include &quot;CSSHostRule.h&quot;
</del><span class="cx"> #include &quot;CSSImportRule.h&quot;
</span><span class="cx"> #include &quot;CSSMediaRule.h&quot;
</span><span class="cx"> #include &quot;CSSPageRule.h&quot;
</span><span class="lines">@@ -87,11 +86,6 @@
</span><span class="cx">     case Keyframes:
</span><span class="cx">         delete static_cast&lt;StyleRuleKeyframes*&gt;(this);
</span><span class="cx">         return;
</span><del>-#if ENABLE(SHADOW_DOM)
-    case HostInternal:
-        delete static_cast&lt;StyleRuleHost*&gt;(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&lt;StyleRuleViewport*&gt;(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&lt;const StyleRuleKeyframes*&gt;(this)-&gt;copy();
</span><del>-#if ENABLE(SHADOW_DOM)
-    case HostInternal:
-        return static_cast&lt;const StyleRuleHost*&gt;(this)-&gt;copy();
-#endif
</del><span class="cx"> #if ENABLE(CSS_DEVICE_ADAPTATION)
</span><span class="cx">     case Viewport:
</span><span class="cx">         return static_cast&lt;const StyleRuleViewport*&gt;(this)-&gt;copy();
</span><span class="lines">@@ -192,11 +182,6 @@
</span><span class="cx">         rule = WebKitCSSViewportRule::create(static_cast&lt;StyleRuleViewport*&gt;(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&lt;StyleRuleHost*&gt;(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&lt;Type&gt;(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&lt;StyleRuleBase&gt; 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&lt;StyleRuleHost&gt; create(Vector&lt;RefPtr&lt;StyleRuleBase&gt;&gt;&amp; adoptRules)
-    {
-        return adoptRef(*new StyleRuleHost(adoptRules));
-    }
-
-    PassRef&lt;StyleRuleHost&gt; copy() const { return adoptRef(*new StyleRuleHost(*this)); }
-
-private:
-    StyleRuleHost(Vector&lt;RefPtr&lt;StyleRuleBase&gt;&gt;&amp; adoptRules) : StyleRuleGroup(HostInternal, adoptRules) { }
-    StyleRuleHost(const StyleRuleHost&amp; 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&lt;const StyleRuleRegion*&gt;(rule)-&gt;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&lt;const StyleRuleHost*&gt;(rule)-&gt;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 &quot;InspectorStyleSheet.h&quot;
</span><span class="cx"> 
</span><del>-#include &quot;CSSHostRule.h&quot;
</del><span class="cx"> #include &quot;CSSImportRule.h&quot;
</span><span class="cx"> #include &quot;CSSMediaRule.h&quot;
</span><span class="cx"> #include &quot;CSSParser.h&quot;
</span><span class="lines">@@ -109,10 +108,6 @@
</span><span class="cx">             target-&gt;append(data);
</span><span class="cx">         else if (data-&gt;type == CSSRuleSourceData::MEDIA_RULE)
</span><span class="cx">             flattenSourceData(&amp;data-&gt;childRules, target);
</span><del>-#if ENABLE(SHADOW_DOM)
-        else if (data-&gt;type == CSSRuleSourceData::HOST_RULE)
-            flattenSourceData(&amp;data-&gt;childRules, target);
-#endif
</del><span class="cx"> #if ENABLE(CSS3_CONDITIONAL_RULES)
</span><span class="cx">         else if (data-&gt;type == CSSRuleSourceData::SUPPORTS_RULE)
</span><span class="cx">             flattenSourceData(&amp;data-&gt;childRules, target);
</span><span class="lines">@@ -226,11 +221,6 @@
</span><span class="cx">     if (rule-&gt;type() == CSSRule::WEBKIT_KEYFRAMES_RULE)
</span><span class="cx">         return static_cast&lt;WebKitCSSKeyframesRule*&gt;(rule)-&gt;cssRules();
</span><span class="cx"> 
</span><del>-#if ENABLE(SHADOW_DOM)
-    if (rule-&gt;type() == CSSRule::HOST_RULE)
-        return static_cast&lt;CSSHostRule*&gt;(rule)-&gt;cssRules();
-#endif
-
</del><span class="cx"> #if ENABLE(CSS3_CONDITIONAL_RULES)
</span><span class="cx">     if (rule-&gt;type() == CSSRule::SUPPORTS_RULE)
</span><span class="cx">         return static_cast&lt;CSSSupportsRule*&gt;(rule)-&gt;cssRules();
</span></span></pre>
</div>
</div>

</body>
</html>