Changeset 121344 in webkit
- Timestamp:
- Jun 27, 2012, 8:18:07 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r121343 r121344 1 2012-06-27 Shinya Kawanaka <shinyak@chromium.org> 2 3 HTMLStyleElement::removedFrom seems incorrect. 4 https://bugs.webkit.org/show_bug.cgi?id=89986 5 6 Reviewed by Hajime Morita. 7 8 This is a follow-up patch for Bug 88495. The Same bug as Bug 88495 seems to exist on 9 HTMLStyleElement::removedFrom(). 10 11 No new tests, hard to write a test case. 12 13 * html/HTMLStyleElement.cpp: 14 (WebCore::HTMLStyleElement::removedFrom): 15 1 16 2012-06-27 Mike Reed <reed@google.com> 2 17 -
trunk/Source/WebCore/html/HTMLStyleElement.cpp
r120168 r121344 200 200 // we'd need to find a way to discern whether that is the case, or whether <style scoped> itself is about to be removed. 201 201 if (m_scopedStyleRegistrationState != NotRegistered) { 202 ContainerNode* scope = parentNode()? parentNode() : insertionPoint; 203 if (m_scopedStyleRegistrationState == RegisteredInShadowRoot) 204 scope = scope->shadowRoot(); 202 ContainerNode* scope; 203 if (m_scopedStyleRegistrationState == RegisteredInShadowRoot) { 204 scope = shadowRoot(); 205 if (!scope) 206 scope = insertionPoint->shadowRoot(); 207 } else 208 scope = parentNode() ? parentNode() : insertionPoint; 205 209 unregisterWithScopingNode(scope); 206 210 }
Note:
See TracChangeset
for help on using the changeset viewer.