Bug 77603 - Element should be able to take built-in shadow tree.
Summary: Element should be able to take built-in shadow tree.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 77607 77608 77610
Blocks: 77499
  Show dependency treegraph
 
Reported: 2012-02-01 22:04 PST by Shinya Kawanaka
Modified: 2012-02-15 22:44 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shinya Kawanaka 2012-02-01 22:04:42 PST
Let's consider adding a new shadow subtree to element having a built-in shadow subtree.
Such element may have a code like:
  ensureShadowRoot()->firstChild() ...

If ensureShadowRoot() returns the youngest shadow root, this code may crash.
We should guarantee that elements can take built-in shadow root.