DescriptionSupport parameter passing for shadow-dom.js's createShadowRoot
shadow-dom.js has a utility function 'createShadowRoot()'
for wrapping Element.createShadowRoot(), and this CL adds
support for passing its parameter as wrapper's 1st argument.
Only 'mode' property will be passed to Element.createShadowRoot()
and other properties are treated as attributes for shadow root
as before.
BUG=459136
TEST=fast/dom/shadow/create-shadow-root-with-parameter.html, not breaking other shadow-dom.js users
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196747
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix for comment, and update test expectation. #
Messages
Total messages: 12 (5 generated)
|
|||||||||||||||||||||||||||||||||||||