Summary: | details::before/after rendered incorrectly | ||
---|---|---|---|
Product: | WebKit | Reporter: | Roland Steiner <rolandsteiner> |
Component: | Layout and Rendering | Assignee: | Web Components Team <webcomponents-bugzilla> |
Status: | NEW --- | ||
Severity: | Normal | CC: | dglazkov, dominicc, esprehn, igor.oliveira, jonlee, morrita, rniwa, shinyak |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | |||
Bug Blocks: | 72352, 252223 |
Description
Roland Steiner
2011-05-31 00:17:01 PDT
Tree reforming: Unblocking 72352 because 59827 is already blocking it. The generated content doesn't display at all in this test anymore. Something is bad here because it will show if you create a shadow root manually on an element. Something weird is going on with <details> (In reply to comment #2) > The generated content doesn't display at all in this test anymore. Something is bad here because it will show if you create a shadow root manually on an element. > > Something weird is going on with <details> This is because of the logic in HTMLDetailsElement::childShouldCreateRenderer. It's unfortunate that the ShadowRoot things in WebCore side step the usual mechanisms that JS developers would use because we end up with behavior you can't explain with the Shadow DOM/HTML Components specs. I think we should fix Shadow DOM to perform distribution on generated content so <content select=":before"> works and then explain <input>'s weirdness with webkit having a <content select=":before"> in there. |