Bug 166870

Summary: CSS generated content does not appear before fallback summary inserted by browser
Product: WebKit Reporter: Stephanie Hobson <sjhobson>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 10   
Hardware: Unspecified   
OS: OS X 10.10   
Bug Depends on:    
Bug Blocks: 252223    
Attachments:
Description Flags
The words "before" and "after" should appear on either side of the "Details" heading inserted by the browser, like they do before the "Summary" provided in the other example. none

Description Stephanie Hobson 2017-01-09 16:21:13 PST
Created attachment 298412 [details]
The words "before" and "after" should appear on either side of the "Details" heading inserted by the browser, like they do before the "Summary" provided in the other example.

For <details> elements that lack a <summary>, the browser inserts one. This dynamically inserted element cannot be styled the same way as if the element is provided by the developer - specifically CSS generated content is not inserted.


Possibly related to Bug 117374.
Comment 1 Radar WebKit Bug Importer 2017-01-10 09:08:38 PST
<rdar://problem/29949055>