Changeset 155931 in webkit for trunk/Source/WebCore/css/StyleResolver.cpp
- Timestamp:
- Sep 17, 2013, 1:13:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/StyleResolver.cpp
r155496 r155931 464 464 if (!parent || !parent->isStyledElement()) 465 465 return 0; 466 #if ENABLE(STYLE_SCOPED) 466 467 if (parent->hasScopedHTMLStyleChild()) 467 468 return 0; 469 #endif 468 470 StyledElement* p = static_cast<StyledElement*>(parent); 469 471 if (p->inlineStyle()) … … 655 657 if (element->hasID() && m_ruleSets.features().idsInRules.contains(element->idForStyleResolution().impl())) 656 658 return false; 659 #if ENABLE(STYLE_SCOPED) 657 660 if (element->hasScopedHTMLStyleChild()) 658 661 return false; 662 #endif 659 663 660 664 // FIXME: We should share style for option and optgroup whenever possible. … … 740 744 if (parentElementPreventsSharing(state.element()->parentElement())) 741 745 return 0; 746 #if ENABLE(STYLE_SCOPED) 742 747 if (state.styledElement()->hasScopedHTMLStyleChild()) 743 748 return 0; 749 #endif 744 750 if (state.element() == state.document().cssTarget()) 745 751 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.