blob: 44d8965cdde2e526641eae32322b0364f2ef5bc6 [file] [log] [blame]
CONSOLE WARNING: line 87: Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated and will be removed in M63, around December 2017. See https://www.chromestatus.com/features/4668884095336448 for more details.
Tests to ensure that all kinds of events are not stopeed at shadow boundary if created by users.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
None of the events should be stopped at a Shadow boundary if created by users.
abort
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
select
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
change
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
reset
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
resize
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
scroll
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
selectstart
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
load
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
click
@target (target: target)
@parent-of-target (target: target)
@host (target: host)
@top (target: host)
An event fired on a distributed child should not be stopped at the shadow boundary of its host (host2), but should be stopped at the nearest shadow boundary (host1).
selectstart
@distributed-child (target: distributed-child)
@content (target: distributed-child)
@parent-of-content (target: distributed-child)
@host2 (target: distributed-child)
@host1 (target: host1)
An event is dispatched on a node in an older shadow tree. The older and the younger shadow root should receive the event, however, the shadow host shouldn't
selectstart
@target (target: target)
@older-shadow-root (target: target)
@shadow-insertion-point (target: target)
@younger-shadow-root (target: target)
@shadow-host (target: shadow-host)
PASS successfullyParsed is true
TEST COMPLETE