Title: [136092] trunk
- Revision
- 136092
- Author
- morr...@google.com
- Date
- 2012-11-28 21:27:07 -0800 (Wed, 28 Nov 2012)
Log Message
[Shadow DOM] Element.createShadowRoot() should be prefixed.
https://bugs.webkit.org/show_bug.cgi?id=103595
Reviewed by Kentaro Hara.
Source/WebCore:
No new tests, updated shadow-aware-create-shadow-root.html to follow the change.
* dom/Element.idl:
LayoutTests:
* fast/dom/shadow/shadow-aware-create-shadow-root.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (136091 => 136092)
--- trunk/LayoutTests/ChangeLog 2012-11-29 05:20:54 UTC (rev 136091)
+++ trunk/LayoutTests/ChangeLog 2012-11-29 05:27:07 UTC (rev 136092)
@@ -1,3 +1,12 @@
+2012-11-28 Hajime Morrita <morr...@google.com>
+
+ [Shadow DOM] Element.createShadowRoot() should be prefixed.
+ https://bugs.webkit.org/show_bug.cgi?id=103595
+
+ Reviewed by Kentaro Hara.
+
+ * fast/dom/shadow/shadow-aware-create-shadow-root.html:
+
2012-11-28 Hayato Ito <hay...@chromium.org>
Test the return value from Node::compareDocumentPositionMake more strictly.
Modified: trunk/LayoutTests/fast/dom/shadow/shadow-aware-create-shadow-root.html (136091 => 136092)
--- trunk/LayoutTests/fast/dom/shadow/shadow-aware-create-shadow-root.html 2012-11-29 05:20:54 UTC (rev 136091)
+++ trunk/LayoutTests/fast/dom/shadow/shadow-aware-create-shadow-root.html 2012-11-29 05:27:07 UTC (rev 136092)
@@ -6,6 +6,7 @@
<body>
<script>
description("Tests for ShadowAware JS APIs.");
+Element.prototype.createShadowRoot = Element.prototype.createShadowRoot || Element.prototype.webkitCreateShadowRoot;
// ShadowAware.createShadowRoot()
var host = document.createElement('div');
Modified: trunk/Source/WebCore/ChangeLog (136091 => 136092)
--- trunk/Source/WebCore/ChangeLog 2012-11-29 05:20:54 UTC (rev 136091)
+++ trunk/Source/WebCore/ChangeLog 2012-11-29 05:27:07 UTC (rev 136092)
@@ -1,3 +1,14 @@
+2012-11-28 Hajime Morrita <morr...@google.com>
+
+ [Shadow DOM] Element.createShadowRoot() should be prefixed.
+ https://bugs.webkit.org/show_bug.cgi?id=103595
+
+ Reviewed by Kentaro Hara.
+
+ No new tests, updated shadow-aware-create-shadow-root.html to follow the change.
+
+ * dom/Element.idl:
+
2012-11-28 Hayato Ito <hay...@chromium.org>
Node::compareDocumentPosition returns wrong value for a node in the different shadow tree.
Modified: trunk/Source/WebCore/dom/Element.idl (136091 => 136092)
--- trunk/Source/WebCore/dom/Element.idl 2012-11-29 05:20:54 UTC (rev 136091)
+++ trunk/Source/WebCore/dom/Element.idl 2012-11-29 05:27:07 UTC (rev 136092)
@@ -122,7 +122,7 @@
// ShadowAware API
#if defined(ENABLE_SHADOW_DOM) && ENABLE_SHADOW_DOM
[Reflect, V8EnabledAtRuntime=shadowDOM] attribute DOMString pseudo;
- [V8EnabledAtRuntime=shadowDOM] ShadowRoot createShadowRoot() raises(DOMException);
+ [V8EnabledAtRuntime=shadowDOM, ImplementedAs=createShadowRoot] ShadowRoot webkitCreateShadowRoot() raises(DOMException);
#endif
// DOM 4
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes