Skip to content
  • morrita@google.com's avatar
    2011-06-19 MORITA Hajime <morrita@google.com> · 7837bc86
    morrita@google.com authored
            Reviewed by Dimitri Glazkov.
    
            The internals object should have createShadowContentElement()
            https://bugs.webkit.org/show_bug.cgi?id=62432
    
            * Source/autotools/symbols.filter: Added some more symbols necessary for
            window.internals to function to the global symbol list.
    
    2011-06-19  MORITA Hajime  <morrita@google.com>
    
            Reviewed by Dimitri Glazkov.
    
            The internals object should have createShadowContentElement()
            https://bugs.webkit.org/show_bug.cgi?id=62432
    
            * fast/dom/shadow/create-content-element-expected.txt: Added.
            * fast/dom/shadow/create-content-element.html: Added.
    2011-06-19  MORITA Hajime  <morrita@google.com>
    
            Reviewed by Dimitri Glazkov.
    
            The internals object should have createShadowContentElement()
            https://bugs.webkit.org/show_bug.cgi?id=62432
    
            This change:
            - added Internals::createShadowContentElement(), which creates,
              ShadowContentElement instance which includes all host children,
            - added Internals::elementRenderTreeAsText() to help content layout testing, and
            - Unabstracted ShadowContentElement by giving a default shouldInclude() implementation.
    
            Test: fast/dom/shadow/create-content-element.html
    
            * WebCore.exp.in:
            * dom/ShadowContentElement.cpp:
            (WebCore::ShadowContentElement::create): Added.
            (WebCore::ShadowContentElement::ShadowContentElement):
            (WebCore::ShadowContentElement::~ShadowContentElement):
            (WebCore::ShadowContentElement::shouldInclude): Gave a default implementation which always returns true.
            * dom/ShadowContentElement.h:
            * html/HTMLSummaryElement.cpp:
            (WebCore::SummaryContentElement::SummaryContentElement):
            * rendering/RenderTreeAsText.cpp:
            (WebCore::externalRepresentation): Factored out for supportin per-element render tree dump.
            * rendering/RenderTreeAsText.h:
            * testing/Internals.cpp:
            (WebCore::Internals::createShadowContentElement): Added.
            (WebCore::Internals::elementRenderTreeAsText): dded.
            * testing/Internals.h:
            * testing/Internals.idl:
    2011-06-19  MORITA Hajime  <morrita@google.com>
    
            Reviewed by Dimitri Glazkov.
    
            The internals object should have createShadowContentElement()
            https://bugs.webkit.org/show_bug.cgi?id=62432
    
            * win/WebKit2.def: Added some more symbols necessary for
            window.internals to function to the global symbol list.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7837bc86