Changeset 250770 in webkit


Ignore:
Timestamp:
Oct 6, 2019 7:30:41 PM (5 years ago)
Author:
rniwa@webkit.org
Message:

attachShadow should support attaching a shadow root to a main element
https://bugs.webkit.org/show_bug.cgi?id=197726

Reviewed by Antti Koivisto.

Source/WebCore:

Added main element to the list of elements that support an author shadow root.

Test: fast/shadow-dom/attach-shadow-to-elements.html

  • dom/Element.cpp:

(WebCore::canAttachAuthorShadowRoot):

LayoutTests:

Added a test for attachShadow.

  • fast/shadow-dom/attach-shadow-to-elements-expected.txt: Added.
  • fast/shadow-dom/attach-shadow-to-elements.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r250761 r250770  
     12019-10-06  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        attachShadow should support attaching a shadow root to a main element
     4        https://bugs.webkit.org/show_bug.cgi?id=197726
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Added a test for attachShadow.
     9
     10        * fast/shadow-dom/attach-shadow-to-elements-expected.txt: Added.
     11        * fast/shadow-dom/attach-shadow-to-elements.html: Added.
     12
    1132019-10-04  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WebCore/ChangeLog

    r250769 r250770  
     12019-10-06  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        attachShadow should support attaching a shadow root to a main element
     4        https://bugs.webkit.org/show_bug.cgi?id=197726
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Added main element to the list of elements that support an author shadow root.
     9
     10        Test: fast/shadow-dom/attach-shadow-to-elements.html
     11
     12        * dom/Element.cpp:
     13        (WebCore::canAttachAuthorShadowRoot):
     14
    1152019-10-06  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/WebCore/dom/Element.cpp

    r250764 r250770  
    22952295            &h6Tag.get(),
    22962296            &headerTag.get(),
     2297            &mainTag.get(),
    22972298            &navTag.get(),
    22982299            &pTag.get(),
Note: See TracChangeset for help on using the changeset viewer.