[Webkit-unassigned] [Bug 85864] [Shadow] TITLE elements in Shadow DOM should not affect document.title attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 7 06:17:21 PDT 2012


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





--- Comment #13 from Takashi Sakamoto <tasak at google.com>  2012-06-07 06:17:20 PST ---
(In reply to comment #10)
> (From update of attachment 144267 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=144267&action=review
> 
> > LayoutTests/fast/dom/shadow/title-element-in-shadow.html:30
> > +
> 
> Could you test something like:
> parent = document.createElemenet...
> child = document.creatElement...
> childShadow = new ShadowRoot(child);
> 
> document.head.appendChild(parent); ?

I see. I think, my new patch has the same test as the above.

> In this case, insertionPoint will be !isInShadowTree(), but the title is.

I think, insertionPoint.isInShadowTree() in insertedInto is a mistake. I changed the condition to just isInShadowTree().

-- 
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