[Webkit-unassigned] [Bug 77930] INPUT shouldn't create ShadowRoot dynamically.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 9 21:53:44 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=77930





--- Comment #6 from Shinya Kawanaka <shinyak at chromium.org>  2012-02-09 21:53:44 PST ---
(From update of attachment 126420)
View in context: https://bugs.webkit.org/attachment.cgi?id=126420&action=review

>> Source/WebCore/html/FileInputType.cpp:270
>> +    element()->shadowRoot()->appendChild(element()->multiple() ? UploadButtonElement::createForMultiple(element()->document()): UploadButtonElement::create(element()->document()), ec);
> 
> Won’t this be problematic if I attach an author shadow root to the input element? Then the UploadButtonElement will be leaked into my author shadow root.

Since we don't support multiple shadow subtrees, and we have disabled to add an author shadow root into INPUT element, this shouldn't cause a problem.
I'm now writing a patch to support multiple shadow subtrees. Your anxiety will be fixed in that (coming) patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list