[Webkit-unassigned] [Bug 93753] Nested shadow root distributes node to insertion point that is not its child

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 12 21:39:47 PDT 2012


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


Dominic Cooney <dominicc at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Dominic Cooney <dominicc at chromium.org>  2012-08-12 21:40:16 PST ---
I think the implemented behavior is correct, per Section 5.7 [1], step 2. (second bullet). 1. 2 "If CHILD is itself an insertion point, and the tree being rendered is nested, render them using insertion point rendering steps."

You mentioned Section 5.3, I think you are confusing selection and rendering. First consider selection:

(A) <content select="*"></content>

is selecting

(B) <content select=".foo"></content>

That in turn is selecting

(C) <div class="foo">I am a foo.</div>

Next consider rendering:

With reference to Section 5.7, when step 2. (second bullet). 1 is processing (A), CHILD is B.

At step 2. (second bullet). 1. 2. the insertion point rendering recurses to process (B) (ie back to step 2. (second bullet.)).

At step 2. (second bullet). 1. 1. (C) is rendered.

[1] <https://dvcs.w3.org/hg/webcomponents/raw-file/7a24eae26c59/spec/shadow/index.html#rendering-shadow-subtrees>

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