* SUMMARY Duplicate of style attribute in rules panel for shadow content. Regressed with: <http://trac.webkit.org/changeset/184000> * TEST <audio controls></audio> * STEPS TO REPRODUCE 1. Inspect any page with <audio> 2. Enable Shadow DOM (Elements tab) 3. Expand the audio 4. Select the <input pseudo="-webkit-media-controls-timeline" style="background-image: -webkit-canvas(_webkit-media-controls-timeline-6bd0eaf2-ef13-461e-86f2-fc4d3c7794f2);" min="0" max="NaN" class="hidden"> 5. Show Style Rules sidebar => the CSS is duplicated in the Styles Attribute section * NOTES - CSSStyleDeclarationTextEditor.js's CSSStyleDeclarationTextEditor.prototype._resetContent makes an assumption that styleText will always be empty for a readOnly editor. It turns out that for a Style Attribute that is Read Only, that is not the case. I think the only way that can happen is a Shadow DOM node with a Style Attribute (as we are seeing it here). We should more gracefully handle this.
<rdar://problem/21467669>
Created attachment 255259 [details] [PATCH] Proposed Fix
Created attachment 255260 [details] [PATCH] Proposed Fix Fixed title.
Good catch and good fix! I would add it to the commit-queue.
Comment on attachment 255260 [details] [PATCH] Proposed Fix Clearing flags on attachment: 255260 Committed r185789: <http://trac.webkit.org/changeset/185789>
All reviewed patches have been landed. Closing bug.