Title: [228259] tags/Safari-606.1.4/Source/WebInspectorUI
- Revision
- 228259
- Author
- [email protected]
- Date
- 2018-02-07 21:14:58 -0800 (Wed, 07 Feb 2018)
Log Message
Cherry-pick r228251. rdar://problem/37333249
Modified Paths
Diff
Modified: tags/Safari-606.1.4/Source/WebInspectorUI/ChangeLog (228258 => 228259)
--- tags/Safari-606.1.4/Source/WebInspectorUI/ChangeLog 2018-02-08 04:10:09 UTC (rev 228258)
+++ tags/Safari-606.1.4/Source/WebInspectorUI/ChangeLog 2018-02-08 05:14:58 UTC (rev 228259)
@@ -1,3 +1,16 @@
+2018-02-07 Jason Marcell <[email protected]>
+
+ Cherry-pick r228251. rdar://problem/37333249
+
+ 2018-02-07 Matt Baker <[email protected]>
+
+ Web Inspector: replace isAncestor with Node.contains() in LegacyTabBar
+ https://bugs.webkit.org/show_bug.cgi?id=182586
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/LegacyTabBar.js:
+
2018-02-06 Devin Rousso <[email protected]>
Web Inspector: Replace isAncestor and isDescendant with native DOM contains method
Modified: tags/Safari-606.1.4/Source/WebInspectorUI/UserInterface/Views/LegacyTabBar.js (228258 => 228259)
--- tags/Safari-606.1.4/Source/WebInspectorUI/UserInterface/Views/LegacyTabBar.js 2018-02-08 04:10:09 UTC (rev 228258)
+++ tags/Safari-606.1.4/Source/WebInspectorUI/UserInterface/Views/LegacyTabBar.js 2018-02-08 05:14:58 UTC (rev 228259)
@@ -112,7 +112,7 @@
var nextSibling = this._tabBarItems[index + 1];
let nextSiblingElement = nextSibling ? nextSibling.element : this._tabBarItems.lastValue.element;
- if (this.element.isAncestor(nextSiblingElement))
+ if (this.element.contains(nextSiblingElement))
this.element.insertBefore(tabBarItem.element, nextSiblingElement);
else
this.element.appendChild(tabBarItem.element);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes