Bug 93498 - Older shadow root incorrectly rendered when multiple shadow roots containing style tags have been constructed
Summary: Older shadow root incorrectly rendered when multiple shadow roots containing ...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2012-08-08 10:55 PDT by Steve Orvell
Modified: 2012-08-13 18:12 PDT (History)
5 users (show)

See Also:


Attachments
Reduction producing incorrect rendering + the expected rendering (1.14 KB, text/html)
2012-08-08 10:55 PDT, Steve Orvell
no flags Details
Screenshot of rendering of attachment 157255 (6.04 KB, image/png)
2012-08-12 21:20 PDT, Dominic Cooney
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Orvell 2012-08-08 10:55:26 PDT
Created attachment 157255 [details]
Reduction producing incorrect rendering + the expected rendering

A shadow root is incorrectly rendered in the following construction:

1. make an element and insert it into dom.
2. create a shadow root that contains a style element.
3. make another element and insert it into dom.
4. create a shadow root on this element that contains a style element.
5. create another shadow root on the element.

The rendering of the 2nd element is incorrect. For this element it's expected that the 2nd shadow root will replace the first; however, it's rendered in addition to the first.
Comment 1 Dominic Cooney 2012-08-12 21:20:41 PDT
Created attachment 157917 [details]
Screenshot of rendering of attachment 157255 [details]

Looks like it is working to me. See attached screenshot – this is the output I get with the attached repro.

I’m using Chrome

23.0.1232.0 (Official Build 150984) canary
OS	Mac OS X
WebKit	537.6 (@125227)