• ch.dumez@sisa.samsung.com's avatar
    Introduce a SVGUnknownElement class for unknown SVG elements · eebecacc
    ch.dumez@sisa.samsung.com authored
    Reviewed by Andreas Kling.
    Introduce a SVGUnknownElement class and have it override rendererIsNeeded() to return false.
    We now use SVGUnknownElement type (instead of SVGElement) for unknown SVG elements:
    - Unknown Elements in SVG namespace
    - Registered custom tag elements in SVG namespace:
    As a consequence, SVGElement::rendererIsNeeded() is not longer required to return false and
    it will be able to behave as SVGStyledElement::rendererIsNeeded() once we merge
    SVGStyledElement into SVGElement.
    This is a pre-requirement to merging SVGStyledElement into SVGElement.
    No new tests, no behavior change.
    * GNUmakefile.list.am:
    * Target.pri:
    * WebCore.vcxproj/WebCore.vcxproj:
    * WebCore.vcxproj/WebCore.vcxproj.filters:
    * dom/CustomElementConstructor.cpp:
    * dom/make_names.pl:
    * svg/SVGElement.cpp:
    * svg/SVGElement.h:
    * svg/SVGUnknownElement.h: Added.
    * svg/svgtags.in:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore.vcxproj 1.98 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.