Changeset 87029 in webkit
- Timestamp:
- May 22, 2011 8:56:02 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r87027 r87029 1 2011-05-22 Dominic Cooney <dominicc@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 When removing a shadow root, also remove it from the render tree. 6 https://bugs.webkit.org/show_bug.cgi?id=61245 7 8 * platform/mac/Skipped: Unskip shadow tests. 9 1 10 2011-05-21 Dirk Schulze <krit@webkit.org> 2 11 -
trunk/LayoutTests/platform/mac/Skipped
r87020 r87029 345 345 plugins/mouse-click-iframe-to-plugin.html 346 346 347 # Unskip when https://bugs.webkit.org/show_bug.cgi?id=59571 is fixed348 fast/dom/shadow349 350 347 # Animation API is disabled by default 351 348 animations/animation-api-1.html -
trunk/Source/WebCore/ChangeLog
r87028 r87029 1 2011-05-22 Dominic Cooney <dominicc@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 When removing a shadow root, also remove it from the render tree. 6 https://bugs.webkit.org/show_bug.cgi?id=61245 7 8 Test: existing fast/dom/shadow/layout-tests-can-access-shadow.html 9 10 * dom/Element.cpp: 11 (WebCore::Element::removeShadowRoot): Call detach if attached. 12 1 13 2011-05-22 Dirk Schulze <krit@webkit.org> 2 14 -
trunk/Source/WebCore/dom/Element.cpp
r87014 r87029 1203 1203 data->m_shadowRoot = 0; 1204 1204 document()->removeFocusedNodeOfSubtree(oldRoot.get()); 1205 1206 // Remove from rendering tree 1207 if (oldRoot->attached()) 1208 oldRoot->detach(); 1209 1205 1210 oldRoot->setShadowHost(0); 1211 1206 1212 if (oldRoot->inDocument()) 1207 1213 oldRoot->removedFromDocument();
Note: See TracChangeset
for help on using the changeset viewer.