Skip to content
  • ap@apple.com's avatar
    REGRESSION(r126717): It made inspector/styles/media-queries.html fail/flakey · 763a19de
    ap@apple.com authored
            https://bugs.webkit.org/show_bug.cgi?id=95070
    
            Roll out r126717, and another change that depends on it.
            r126717: Remove parent pointer from StyleSheetContents and StyleRuleImport
            r127123: Cache and share parsed imported stylesheets
    
            * css/CSSImportRule.cpp:
            * css/CSSImportRule.h:
            * css/CSSStyleSheet.cpp:
            (WebCore::CSSStyleSheet::willMutateRules):
            (WebCore::CSSStyleSheet::reattachChildRuleCSSOMWrappers):
            (WebCore::CSSStyleSheet::insertRule):
            (WebCore::CSSStyleSheet::ownerDocument):
            * css/CSSStyleSheet.h:
            (WebCore::CSSStyleSheet::clearOwnerRule):
            * css/StyleRuleImport.cpp:
            (WebCore::StyleRuleImport::StyleRuleImport):
            (WebCore::StyleRuleImport::~StyleRuleImport):
            (WebCore::StyleRuleImport::setCSSStyleSheet):
            (WebCore::StyleRuleImport::isLoading):
            (WebCore::StyleRuleImport::requestStyleSheet):
            * css/StyleRuleImport.h:
            (WebCore::StyleRuleImport::parentStyleSheet):
            (WebCore::StyleRuleImport::setParentStyleSheet):
            (WebCore::StyleRuleImport::clearParentStyleSheet):
            (ImportedStyleSheetClient):
            (WebCore::StyleRuleImport::ImportedStyleSheetClient::ImportedStyleSheetClient):
            (WebCore::StyleRuleImport::ImportedStyleSheetClient::~ImportedStyleSheetClient):
            (WebCore::StyleRuleImport::ImportedStyleSheetClient::setCSSStyleSheet):
            * css/StyleSheetContents.cpp:
            (WebCore::StyleSheetContents::StyleSheetContents):
            (WebCore::StyleSheetContents::isCacheable):
            (WebCore::StyleSheetContents::parserAppendRule):
            (WebCore::StyleSheetContents::clearRules):
            (WebCore::StyleSheetContents::wrapperInsertRule):
            (WebCore::StyleSheetContents::wrapperDeleteRule):
            (WebCore::StyleSheetContents::parseAuthorStyleSheet):
            (WebCore::StyleSheetContents::parseStringAtLine):
            (WebCore::StyleSheetContents::checkLoaded):
            (WebCore::StyleSheetContents::notifyLoadedSheet):
            (WebCore::StyleSheetContents::startLoadingDynamicSheet):
            (WebCore::StyleSheetContents::rootStyleSheet):
            (WebCore::StyleSheetContents::singleOwnerNode):
            (WebCore::StyleSheetContents::singleOwnerDocument):
            (WebCore::StyleSheetContents::parentStyleSheet):
            * css/StyleSheetContents.h:
            (WebCore::StyleSheetContents::create):
            (StyleSheetContents):
            (WebCore::StyleSheetContents::ownerRule):
            (WebCore::StyleSheetContents::clearOwnerRule):
            * dom/ProcessingInstruction.cpp:
            (WebCore::ProcessingInstruction::parseStyleSheet):
            * dom/StyleElement.cpp:
            (WebCore::StyleElement::createSheet):
            * html/HTMLLinkElement.cpp:
            (WebCore::HTMLLinkElement::setCSSStyleSheet):
            * loader/cache/CachedCSSStyleSheet.cpp:
            (WebCore::CachedCSSStyleSheet::saveParsedStyleSheet):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    763a19de