Skip to content
  • antti@apple.com's avatar
    <https://webkit.org/b/120001> Clean up StyleElement · 04c7fa30
    antti@apple.com authored
    Reviewed by Andreas Kling.
    
    - Make it non-virtual so we don't use virtual multiple inheritance
    - Improve names
    - Improve code clarity
    
    * dom/StyleElement.cpp:
    (WebCore::StyleElement::StyleElement):
    (WebCore::StyleElement::insertedIntoDocument):
    (WebCore::StyleElement::clearDocumentData):
    (WebCore::StyleElement::childrenChanged):
    (WebCore::StyleElement::finishParsingChildren):
    (WebCore::StyleElement::createSheetFromTextContents):
    (WebCore::isValidCSSContentType):
    (WebCore::StyleElement::createSheet):
    (WebCore::StyleElement::isLoading):
    * dom/StyleElement.h:
    (WebCore::StyleElement::setStyleSheetContentType):
    (WebCore::StyleElement::setStyleSheetMedia):
    * html/HTMLStyleElement.cpp:
    (WebCore::HTMLStyleElement::parseAttribute):
    * html/HTMLStyleElement.h:
    * svg/SVGStyleElement.cpp:
    (WebCore::SVGStyleElement::isSupportedAttribute):
    (WebCore::SVGStyleElement::parseAttribute):
    * svg/SVGStyleElement.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    04c7fa30