WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 157706
157928
attachShadow doesn't respect the whitelist on elements
https://bugs.webkit.org/show_bug.cgi?id=157928
Summary
attachShadow doesn't respect the whitelist on elements
Elliott Sprehn
Reported
2016-05-19 16:05:53 PDT
per spec only a whitelist of elements are allowed to have a shadow attached, WebKit allows it for anything that doesn't have a UA shadow like <body> though. Spec:
http://w3c.github.io/webcomponents/spec/shadow/#widl-Element-attachShadow-ShadowRoot-ShadowRootInit-shadowRootInitDict
Code:
http://trac.webkit.org/browser/trunk/Source/WebCore/dom/Element.cpp#L1686
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2016-05-20 02:02:44 PDT
*** This bug has been marked as a duplicate of
bug 157706
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug