Bug 94304 - Needs pseudo class enabled when a replaced element has a special inner element.
Summary: Needs pseudo class enabled when a replaced element has a special inner element.
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Web Components Team
URL:
Keywords:
Depends on:
Blocks: 82313
  Show dependency treegraph
 
Reported: 2012-08-17 00:21 PDT by Shinya Kawanaka
Modified: 2019-10-04 22:16 PDT (History)
10 users (show)

See Also:


Attachments
WIP (5.12 KB, patch)
2012-08-17 00:24 PDT, Shinya Kawanaka
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shinya Kawanaka 2012-08-17 00:21:13 PDT
Styling for replaced element when a ShadowRoot is attached has a problem.

Basically the host element has various styles. We want to reset such styles when an Author Shadow DOM is added, since we want the host element to behave like just a div.
It seems good to have a pseudo class to be enabled when the replaced element is 'really' replaced, which means there is an inner special element in the User Agent Shadow DOM in replaced elements.
Comment 1 Shinya Kawanaka 2012-08-17 00:24:12 PDT
Created attachment 159024 [details]
WIP
Comment 2 Ryosuke Niwa 2019-10-04 22:16:36 PDT
Replaced elements don't support a shadow root in V1 API so this is irrelevant now.