<!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>[184042] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/184042">184042</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2015-05-09 20:22:21 -0700 (Sat, 09 May 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Introduce ParentNode.idl / NonDocumentTypeChildNode.idl
https://bugs.webkit.org/show_bug.cgi?id=144825

Reviewed by Sam Weinig.

Source/WebCore:

Introduce ParentNode.idl / NonDocumentTypeChildNode.idl as per DOM
specification and to avoid IDL code duplication:
- https://dom.spec.whatwg.org/#interface-parentnode
- https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode

No Web-Exposed behavior change.

* CMakeLists.txt:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* dom/CharacterData.idl:
* dom/Document.idl:
* dom/DocumentFragment.idl:
* dom/Element.idl:
* dom/NonDocumentTypeChildNode.idl: Copied from Source/WebCore/dom/DocumentFragment.idl.
* dom/ParentNode.idl: Copied from Source/WebCore/dom/DocumentFragment.idl.

LayoutTests:

Rebaseline test as the order of the methods changed when iterating.

* js/dom/dom-static-property-for-in-iteration-expected.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsjsdomdomstaticpropertyforiniterationexpectedtxt">trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoredomCharacterDataidl">trunk/Source/WebCore/dom/CharacterData.idl</a></li>
<li><a href="#trunkSourceWebCoredomDocumentidl">trunk/Source/WebCore/dom/Document.idl</a></li>
<li><a href="#trunkSourceWebCoredomDocumentFragmentidl">trunk/Source/WebCore/dom/DocumentFragment.idl</a></li>
<li><a href="#trunkSourceWebCoredomElementidl">trunk/Source/WebCore/dom/Element.idl</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoredomNonDocumentTypeChildNodeidl">trunk/Source/WebCore/dom/NonDocumentTypeChildNode.idl</a></li>
<li><a href="#trunkSourceWebCoredomParentNodeidl">trunk/Source/WebCore/dom/ParentNode.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/LayoutTests/ChangeLog        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2015-05-09  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Introduce ParentNode.idl / NonDocumentTypeChildNode.idl
+        https://bugs.webkit.org/show_bug.cgi?id=144825
+
+        Reviewed by Sam Weinig.
+
+        Rebaseline test as the order of the methods changed when iterating.
+
+        * js/dom/dom-static-property-for-in-iteration-expected.txt:
+
</ins><span class="cx"> 2015-05-08  Xabier Rodriguez Calvar  &lt;calvaris@igalia.com&gt; and Youenn Fablet &lt;youenn.fablet@crf.canon.fr&gt;
</span><span class="cx"> 
</span><span class="cx">         streams/reference-implementation/readable-stream-reader.html and streams/reference-implementation/bad-underlying-sources.html are flaky
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomdomstaticpropertyforiniterationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/LayoutTests/js/dom/dom-static-property-for-in-iteration-expected.txt        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -65,13 +65,13 @@
</span><span class="cx"> PASS a[&quot;className&quot;] is 
</span><span class="cx"> PASS a[&quot;classList&quot;] is 
</span><span class="cx"> PASS a[&quot;dataset&quot;] is [object DOMStringMap]
</span><ins>+PASS a[&quot;uiactions&quot;] is 
+PASS a[&quot;webkitRegionOverset&quot;] is undefined
+PASS a[&quot;previousElementSibling&quot;] is [object HTMLDivElement]
+PASS a[&quot;nextElementSibling&quot;] is [object HTMLScriptElement]
</ins><span class="cx"> PASS a[&quot;firstElementChild&quot;] is null
</span><span class="cx"> PASS a[&quot;lastElementChild&quot;] is null
</span><span class="cx"> PASS a[&quot;childElementCount&quot;] is 0
</span><del>-PASS a[&quot;previousElementSibling&quot;] is [object HTMLDivElement]
-PASS a[&quot;nextElementSibling&quot;] is [object HTMLScriptElement]
-PASS a[&quot;uiactions&quot;] is 
-PASS a[&quot;webkitRegionOverset&quot;] is undefined
</del><span class="cx"> PASS a[&quot;ALLOW_KEYBOARD_INPUT&quot;] is 1
</span><span class="cx"> PASS a[&quot;nodeName&quot;] is A
</span><span class="cx"> PASS a[&quot;nodeValue&quot;] is null
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/CMakeLists.txt        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -411,8 +411,10 @@
</span><span class="cx">     dom/NodeFilter.idl
</span><span class="cx">     dom/NodeIterator.idl
</span><span class="cx">     dom/NodeList.idl
</span><ins>+    dom/NonDocumentTypeChildNode.idl
</ins><span class="cx">     dom/OverflowEvent.idl
</span><span class="cx">     dom/PageTransitionEvent.idl
</span><ins>+    dom/ParentNode.idl
</ins><span class="cx">     dom/PopStateEvent.idl
</span><span class="cx">     dom/ProcessingInstruction.idl
</span><span class="cx">     dom/ProgressEvent.idl
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/ChangeLog        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -1,5 +1,29 @@
</span><span class="cx"> 2015-05-09  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Introduce ParentNode.idl / NonDocumentTypeChildNode.idl
+        https://bugs.webkit.org/show_bug.cgi?id=144825
+
+        Reviewed by Sam Weinig.
+
+        Introduce ParentNode.idl / NonDocumentTypeChildNode.idl as per DOM
+        specification and to avoid IDL code duplication:
+        - https://dom.spec.whatwg.org/#interface-parentnode
+        - https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode
+
+        No Web-Exposed behavior change.
+
+        * CMakeLists.txt:
+        * DerivedSources.make:
+        * WebCore.xcodeproj/project.pbxproj:
+        * dom/CharacterData.idl:
+        * dom/Document.idl:
+        * dom/DocumentFragment.idl:
+        * dom/Element.idl:
+        * dom/NonDocumentTypeChildNode.idl: Copied from Source/WebCore/dom/DocumentFragment.idl.
+        * dom/ParentNode.idl: Copied from Source/WebCore/dom/DocumentFragment.idl.
+
+2015-05-09  Chris Dumez  &lt;cdumez@apple.com&gt;
+
</ins><span class="cx">         Invalidate the FontCache on WebProcess suspension / critical memory pressure
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=144821
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/DerivedSources.make        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -299,8 +299,10 @@
</span><span class="cx">     $(WebCore)/dom/NodeFilter.idl \
</span><span class="cx">     $(WebCore)/dom/NodeIterator.idl \
</span><span class="cx">     $(WebCore)/dom/NodeList.idl \
</span><ins>+    $(WebCore)/dom/NonDocumentTypeChildNode.idl \
</ins><span class="cx">     $(WebCore)/dom/OverflowEvent.idl \
</span><span class="cx">     $(WebCore)/dom/PageTransitionEvent.idl \
</span><ins>+    $(WebCore)/dom/ParentNode.idl \
</ins><span class="cx">     $(WebCore)/dom/PopStateEvent.idl \
</span><span class="cx">     $(WebCore)/dom/ProcessingInstruction.idl \
</span><span class="cx">     $(WebCore)/dom/ProgressEvent.idl \
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -1601,9 +1601,9 @@
</span><span class="cx">                 44311CD912E4E257000A8D19 /* DOMDocumentFragmentPrivate.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 44311CD412E4E22D000A8D19 /* DOMDocumentFragmentPrivate.h */; };
</span><span class="cx">                 44311F8212E4E66C000A8D19 /* DOMDocumentFragmentInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711450AC5D5340053270F /* DOMDocumentFragmentInternal.h */; };
</span><span class="cx">                 443817FF1A91B2F8006E04F2 /* CoreMediaSoftLink.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 443817FD1A91B2F8006E04F2 /* CoreMediaSoftLink.cpp */; };
</span><del>-                443917FF1A91B2F8006E04F2 /* QuickLookSoftLink.mm in Sources */ = {isa = PBXBuildFile; fileRef = 443917FD1A91B2F8006E04F2 /* QuickLookSoftLink.mm */; };
</del><span class="cx">                 443818001A91B2F8006E04F2 /* CoreMediaSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 443817FE1A91B2F8006E04F2 /* CoreMediaSoftLink.h */; };
</span><del>-                443918001A91B2F8006E04F2 /* QuickLookSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 443917FE1A91B2F8006E04F2 /* QuickLookSoftLink.h */; };
</del><ins>+                443917FF1A91B2F8006E04F2 /* ios/QuickLookSoftLink.mm in Sources */ = {isa = PBXBuildFile; fileRef = 443917FD1A91B2F8006E04F2 /* ios/QuickLookSoftLink.mm */; };
+                443918001A91B2F8006E04F2 /* ios/QuickLookSoftLink.h in Headers */ = {isa = PBXBuildFile; fileRef = 443917FE1A91B2F8006E04F2 /* ios/QuickLookSoftLink.h */; };
</ins><span class="cx">                 443F04270E75C8FB007E5407 /* NetworkStateNotifierIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 443F04260E75C8FB007E5407 /* NetworkStateNotifierIOS.mm */; };
</span><span class="cx">                 4449A4051A964B0000B64AD5 /* CoreMediaSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 4449A4041A964B0000B64AD5 /* CoreMediaSPI.h */; };
</span><span class="cx">                 444D4E230F708B2E003158E0 /* WebCoreURLResponseIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 444D4E210F708B2E003158E0 /* WebCoreURLResponseIOS.mm */; };
</span><span class="lines">@@ -8772,9 +8772,9 @@
</span><span class="cx">                 44311CD412E4E22D000A8D19 /* DOMDocumentFragmentPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDocumentFragmentPrivate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 44311CD512E4E22D000A8D19 /* DOMDocumentPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDocumentPrivate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 443817FD1A91B2F8006E04F2 /* CoreMediaSoftLink.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CoreMediaSoftLink.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                443917FD1A91B2F8006E04F2 /* QuickLookSoftLink.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ios/QuickLookSoftLink.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 443817FE1A91B2F8006E04F2 /* CoreMediaSoftLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CoreMediaSoftLink.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                443917FE1A91B2F8006E04F2 /* QuickLookSoftLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ios/QuickLookSoftLink.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><ins>+                443917FD1A91B2F8006E04F2 /* ios/QuickLookSoftLink.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ios/QuickLookSoftLink.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
+                443917FE1A91B2F8006E04F2 /* ios/QuickLookSoftLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ios/QuickLookSoftLink.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 443F04260E75C8FB007E5407 /* NetworkStateNotifierIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = NetworkStateNotifierIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 4449A4041A964B0000B64AD5 /* CoreMediaSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CoreMediaSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 444D4E210F708B2E003158E0 /* WebCoreURLResponseIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCoreURLResponseIOS.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -9921,6 +9921,7 @@
</span><span class="cx">                 832B843519D8E57400B26055 /* SVGAnimateElementBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAnimateElementBase.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 83520C7D1A71BFCC006BD2AA /* CSSFontFamily.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSFontFamily.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 835D363619FF6193004C93AB /* StyleBuilderCustom.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StyleBuilderCustom.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                8369E58F1AFDD0300087DF68 /* NonDocumentTypeChildNode.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = NonDocumentTypeChildNode.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 836FBCE9178C113200B21A15 /* SVGAnimatedTypeAnimator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAnimatedTypeAnimator.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 836FBCEB178C117F00B21A15 /* SVGAnimatedProperty.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGAnimatedProperty.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 8372DB301A6780A800C697C5 /* DiagnosticLoggingResultType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiagnosticLoggingResultType.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -9949,6 +9950,8 @@
</span><span class="cx">                 83C1D422178D5AB400141E68 /* SVGPathSegLinetoVerticalRel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPathSegLinetoVerticalRel.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 83C1D423178D5AB400141E68 /* SVGPathSegMovetoAbs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPathSegMovetoAbs.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 83C1D424178D5AB400141E68 /* SVGPathSegMovetoRel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPathSegMovetoRel.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                83D26D3C1AFDCC50001B3873 /* ChildNode.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = ChildNode.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                83D26D3D1AFDCC50001B3873 /* ParentNode.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = ParentNode.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 8419D2A4120D92D000141F8F /* SVGPathByteStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPathByteStream.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 8419D2A5120D92D000141F8F /* SVGPathByteStreamBuilder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SVGPathByteStreamBuilder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 8419D2A6120D92D000141F8F /* SVGPathByteStreamBuilder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SVGPathByteStreamBuilder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -18863,8 +18866,8 @@
</span><span class="cx">                                 C5278B0B17F212EA003A2998 /* PlatformPasteboardIOS.mm */,
</span><span class="cx">                                 E45390320EAFD637003695C8 /* PlatformScreenIOS.mm */,
</span><span class="cx">                                 AAE3755D17429BCC006200C2 /* PlatformSpeechSynthesizerIOS.mm */,
</span><del>-                                443917FE1A91B2F8006E04F2 /* QuickLookSoftLink.h */,
-                                443917FD1A91B2F8006E04F2 /* QuickLookSoftLink.mm */,
</del><ins>+                                443917FE1A91B2F8006E04F2 /* ios/QuickLookSoftLink.h */,
+                                443917FD1A91B2F8006E04F2 /* ios/QuickLookSoftLink.mm */,
</ins><span class="cx">                                 CDFC360118CA61630026E56F /* RemoteCommandListenerIOS.h */,
</span><span class="cx">                                 CDFC360218CA61630026E56F /* RemoteCommandListenerIOS.mm */,
</span><span class="cx">                                 44C363EE0FAA7BB30097F8CC /* RuntimeApplicationChecksIOS.h */,
</span><span class="lines">@@ -22931,6 +22934,7 @@
</span><span class="cx">                                 93F925410F7EF5B8007E37C9 /* CheckedRadioButtons.h */,
</span><span class="cx">                                 D619A305144E00BE004BC302 /* ChildListMutationScope.cpp */,
</span><span class="cx">                                 D619A306144E00BE004BC302 /* ChildListMutationScope.h */,
</span><ins>+                                83D26D3C1AFDCC50001B3873 /* ChildNode.idl */,
</ins><span class="cx">                                 A818721A0977D3C0005826D9 /* ChildNodeList.cpp */,
</span><span class="cx">                                 A81872150977D3C0005826D9 /* ChildNodeList.h */,
</span><span class="cx">                                 BC904B720D10998F00680D32 /* ClassNodeList.cpp */,
</span><span class="lines">@@ -23165,12 +23169,14 @@
</span><span class="cx">                                 E43105B716750F0C00DB2FB8 /* NodeTraversal.cpp */,
</span><span class="cx">                                 E43105BA16750F1600DB2FB8 /* NodeTraversal.h */,
</span><span class="cx">                                 9382AAB10D8C386100F357A6 /* NodeWithIndex.h */,
</span><ins>+                                8369E58F1AFDD0300087DF68 /* NonDocumentTypeChildNode.idl */,
</ins><span class="cx">                                 1A0D57340A5C77FE007EDD4C /* OverflowEvent.cpp */,
</span><span class="cx">                                 1A0D57350A5C77FE007EDD4C /* OverflowEvent.h */,
</span><span class="cx">                                 1A0D57380A5C7812007EDD4C /* OverflowEvent.idl */,
</span><span class="cx">                                 E1284AE910447DEE00EAEB52 /* PageTransitionEvent.cpp */,
</span><span class="cx">                                 E1284AE010447D4500EAEB52 /* PageTransitionEvent.h */,
</span><span class="cx">                                 E1284AD910447AEB00EAEB52 /* PageTransitionEvent.idl */,
</span><ins>+                                83D26D3D1AFDCC50001B3873 /* ParentNode.idl */,
</ins><span class="cx">                                 8A7CC96F12076F8A001D4588 /* PendingScript.cpp */,
</span><span class="cx">                                 8A7CC96A12076D73001D4588 /* PendingScript.h */,
</span><span class="cx">                                 41BF700D0FE86F61005E8DEC /* PlatformMessagePortChannel.cpp */,
</span><span class="lines">@@ -26071,7 +26077,7 @@
</span><span class="cx">                                 550A0BCA085F6039007353D6 /* QualifiedName.h in Headers */,
</span><span class="cx">                                 CE12523D1A1676CD00864480 /* QuartzCoreSPI.h in Headers */,
</span><span class="cx">                                 442AF7A9102CDDEA008FD4D3 /* QuickLook.h in Headers */,
</span><del>-                                443918001A91B2F8006E04F2 /* QuickLookSoftLink.h in Headers */,
</del><ins>+                                443918001A91B2F8006E04F2 /* ios/QuickLookSoftLink.h in Headers */,
</ins><span class="cx">                                 A149786F1ABAF33800CEF7E4 /* ContentFilter.h in Headers */,
</span><span class="cx">                                 CE1252391A166FA000864480 /* QuickLookSPI.h in Headers */,
</span><span class="cx">                                 A10DBF4718F92317000D70C6 /* QuickLookHandleClient.h in Headers */,
</span><span class="lines">@@ -29575,7 +29581,7 @@
</span><span class="cx">                                 CDEE393717974259001D7580 /* PublicURLManager.cpp in Sources */,
</span><span class="cx">                                 550A0BC9085F6039007353D6 /* QualifiedName.cpp in Sources */,
</span><span class="cx">                                 442AF7AA102CDDEA008FD4D3 /* QuickLook.mm in Sources */,
</span><del>-                                443917FF1A91B2F8006E04F2 /* QuickLookSoftLink.mm in Sources */,
</del><ins>+                                443917FF1A91B2F8006E04F2 /* ios/QuickLookSoftLink.mm in Sources */,
</ins><span class="cx">                                 072AE1E6183C0741000A5988 /* QuickTimePluginReplacement.mm in Sources */,
</span><span class="cx">                                 379E371613736A6600B9E919 /* QuotedPrintable.cpp in Sources */,
</span><span class="cx">                                 5A574F28131DB96D00471B88 /* QuotesData.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoredomCharacterDataidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/CharacterData.idl (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/CharacterData.idl        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/dom/CharacterData.idl        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -37,12 +37,7 @@
</span><span class="cx">     [ObjCLegacyUnnamedParameters, RaisesException] void replaceData([IsIndex, Default=Undefined] optional unsigned long offset, 
</span><span class="cx">                                     [IsIndex, Default=Undefined] optional unsigned long length,
</span><span class="cx">                                     [Default=Undefined] optional DOMString data);
</span><del>-
-    // From the NonDocumentTypeChildNode interface - https://dom.spec.whatwg.org/#nondocumenttypechildnode
-    // FIXME: Move this to a seperate NonDocumentTypeChildNode IDL file when one exists.
-    readonly attribute Element previousElementSibling;
-    readonly attribute Element nextElementSibling;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> CharacterData implements ChildNode;
</span><del>-
</del><ins>+CharacterData implements NonDocumentTypeChildNode;
</ins></span></pre></div>
<a id="trunkSourceWebCoredomDocumentidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.idl (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.idl        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/dom/Document.idl        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -218,10 +218,6 @@
</span><span class="cx"> 
</span><span class="cx">     readonly attribute DOMString compatMode;
</span><span class="cx"> 
</span><del>-    // NodeSelector - Selector API
-    [RaisesException] Element querySelector(DOMString selectors);
-    [RaisesException] NodeList querySelectorAll(DOMString selectors);
-
</del><span class="cx"> #if defined(ENABLE_FULLSCREEN_API) &amp;&amp; ENABLE_FULLSCREEN_API
</span><span class="cx">     // Mozilla version
</span><span class="cx">     readonly attribute boolean webkitIsFullScreen;
</span><span class="lines">@@ -344,11 +340,6 @@
</span><span class="cx"> 
</span><span class="cx">     // http://dev.w3.org/csswg/cssom-view/#dom-document-scrollingelement
</span><span class="cx">     readonly attribute Element scrollingElement;
</span><del>-
-    // From the ParentNode interface - https://dom.spec.whatwg.org/#interface-parentnode
-    // FIXME: Move this to a seperate ParentNode IDL file when one exists.
-    readonly attribute Element firstElementChild;
-    readonly attribute Element lastElementChild;
-    readonly attribute unsigned long childElementCount;
</del><span class="cx"> };
</span><span class="cx"> 
</span><ins>+Document implements ParentNode;
</ins></span></pre></div>
<a id="trunkSourceWebCoredomDocumentFragmentidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DocumentFragment.idl (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DocumentFragment.idl        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/dom/DocumentFragment.idl        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -21,14 +21,6 @@
</span><span class="cx">     Constructor,
</span><span class="cx">     ConstructorCallWith=Document
</span><span class="cx">  ] interface DocumentFragment : Node {
</span><del>-    // NodeSelector - Selector API
-    [RaisesException] Element querySelector(DOMString selectors);
-    [RaisesException] NodeList querySelectorAll(DOMString selectors);
-    
-    // From the ParentNode interface - https://dom.spec.whatwg.org/#interface-parentnode
-    // FIXME: Move this to a seperate ParentNode IDL file when one exists.
-    readonly attribute Element firstElementChild;
-    readonly attribute Element lastElementChild;
-    readonly attribute unsigned long childElementCount;
</del><span class="cx"> };
</span><span class="cx"> 
</span><ins>+DocumentFragment implements ParentNode;
</ins></span></pre></div>
<a id="trunkSourceWebCoredomElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.idl (184041 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.idl        2015-05-09 17:37:16 UTC (rev 184041)
+++ trunk/Source/WebCore/dom/Element.idl        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -119,25 +119,10 @@
</span><span class="cx">     readonly attribute DOMStringMap dataset;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    // NodeSelector - Selector API
-    [RaisesException] Element querySelector(DOMString selectors);
-    [RaisesException] NodeList querySelectorAll(DOMString selectors);
-
</del><span class="cx">     [RaisesException] boolean matches(DOMString selectors);
</span><span class="cx">     [RaisesException] Element closest(DOMString selectors);    
</span><span class="cx">     [ImplementedAs=matches, RaisesException] boolean webkitMatchesSelector(DOMString selectors);
</span><span class="cx"> 
</span><del>-    // From the ParentNode interface - https://dom.spec.whatwg.org/#interface-parentnode
-    // FIXME: Move this to a seperate ParentNode IDL file when one exists.
-    readonly attribute Element firstElementChild;
-    readonly attribute Element lastElementChild;
-    readonly attribute unsigned long childElementCount;
-
-    // From the NonDocumentTypeChildNode interface - https://dom.spec.whatwg.org/#nondocumenttypechildnode
-    // FIXME: Move this to a seperate NonDocumentTypeChildNode IDL file when one exists.
-    readonly attribute Element previousElementSibling;
-    readonly attribute Element nextElementSibling;
-
</del><span class="cx"> #if defined(LANGUAGE_JAVASCRIPT) &amp;&amp; LANGUAGE_JAVASCRIPT
</span><span class="cx">     // CSSOM View Module API
</span><span class="cx">     ClientRectList getClientRects();
</span><span class="lines">@@ -286,4 +271,5 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> Element implements ChildNode;
</span><del>-
</del><ins>+Element implements ParentNode;
+Element implements NonDocumentTypeChildNode;
</ins></span></pre></div>
<a id="trunkSourceWebCoredomNonDocumentTypeChildNodeidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/NonDocumentTypeChildNode.idl (0 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NonDocumentTypeChildNode.idl                                (rev 0)
+++ trunk/Source/WebCore/dom/NonDocumentTypeChildNode.idl        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2015 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+// https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode
+[
+    NoInterfaceObject,
+] interface NonDocumentTypeChildNode {
+    readonly attribute Element previousElementSibling;
+    readonly attribute Element nextElementSibling;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCoredomParentNodeidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/ParentNode.idl (0 => 184042)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ParentNode.idl                                (rev 0)
+++ trunk/Source/WebCore/dom/ParentNode.idl        2015-05-10 03:22:21 UTC (rev 184042)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+/*
+ * Copyright (C) 2015 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+// https://dom.spec.whatwg.org/#interface-parentnode
+[
+    NoInterfaceObject,
+] interface ParentNode {
+    readonly attribute Element firstElementChild;
+    readonly attribute Element lastElementChild;
+    readonly attribute unsigned long childElementCount;
+
+    [RaisesException] Element querySelector(DOMString selectors);
+    [RaisesException] NodeList querySelectorAll(DOMString selectors);
+};
</ins></span></pre>
</div>
</div>

</body>
</html>