[webkit-reviews] review denied: [Bug 20172] [XBL] XBL elements should not be rendered : [Attachment 22477] Proposed fix: create the render but remove the root from the hierarchy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 25 12:57:47 PDT 2008


Dave Hyatt <hyatt at apple.com> has denied Julien Chaffraix
<jchaffraix at webkit.org>'s request for review:
Bug 20172: [XBL] XBL elements should not be rendered
https://bugs.webkit.org/show_bug.cgi?id=20172

Attachment 22477: Proposed fix: create the render but remove the root from the
hierarchy
https://bugs.webkit.org/attachment.cgi?id=22477&action=edit

------- Additional Comments from Dave Hyatt <hyatt at apple.com>
Renderers for shadow content are going to be created when you clone the shadow
content templates.  The original tree is not going to have any renderers for
the shadow content template.  Only the clones will have renderers.

In order to just make sure the main XBL document tree has no renderers, you
just need a couple of style rules added to html4.css.

These style rules are described in the spec:

http://www.w3.org/TR/xbl/#xbl-elements

@namespace xbl url(http://www.w3.org/ns/xbl);
xbl|* { display: none; }
xbl|div { display: block; }


More information about the webkit-reviews mailing list