Changeset 190995 in webkit


Ignore:
Timestamp:
Oct 13, 2015 11:34:22 AM (8 years ago)
Author:
Antti Koivisto
Message:

Try to fix ENABLE(DETAILS_ELEMENT) with SHADOW_DOM disabled.

  • dom/Element.cpp:

(WebCore::Element::attributeChanged):

  • dom/Node.cpp:

(WebCore::traverseStyleParent):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r190993 r190995  
     12015-10-13  Antti Koivisto  <antti@apple.com>
     2
     3        Try to fix ENABLE(DETAILS_ELEMENT) with SHADOW_DOM disabled.
     4
     5        * dom/Element.cpp:
     6        (WebCore::Element::attributeChanged):
     7        * dom/Node.cpp:
     8        (WebCore::traverseStyleParent):
     9
    1102015-10-13  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    211
  • trunk/Source/WebCore/dom/Element.cpp

    r190845 r190995  
    12361236        else if (name == HTMLNames::pseudoAttr)
    12371237            shouldInvalidateStyle |= testShouldInvalidateStyle && isInShadowTree();
    1238 #if ENABLE(SHADOW_DOM)
     1238#if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
    12391239        else if (name == HTMLNames::slotAttr) {
    12401240            if (auto* parent = parentElement()) {
  • trunk/Source/WebCore/dom/Node.cpp

    r190845 r190995  
    750750        return nullptr;
    751751    }
    752 #if ENABLE(SHADOW_DOM)
     752#if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
    753753    if (auto* shadowRoot = parent->shadowRoot()) {
    754754        if (auto* assignedSlot = shadowRoot->findAssignedSlot(node))
Note: See TracChangeset for help on using the changeset viewer.