blob: a8ad16d7cf4d0a67bcdaab8c9bbadd0e43e82053 [file] [log] [blame]
CONSOLE WARNING: line 21: Element.createShadowRoot is deprecated and will be removed in M73, around March 2019. Please use Element.attachShadow instead. See https://www.chromestatus.com/features/4507242028072960 for more details.
This test ensures that title elements in a shadow subtree do not affect document.title attribute.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
create a title element and insert it to document.
PASS document.title is "document title"
remove title element from document.
PASS document.title is ""
create a shadow root whose host is already in document, create a subtree which contains a title element, and add the subtree to the shadow root.
PASS document.title is ""
remove the subtree from document.
PASS document.title is ""
create a subtree, add a shadow root which contains a title element to the subtree, and insert the subtree to document.
PASS document.title is ""
remove the subtree from document
PASS document.title is ""
PASS successfullyParsed is true
TEST COMPLETE