WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 157323
264381
summary (details) display values other than list-item should hide marker
https://bugs.webkit.org/show_bug.cgi?id=264381
Summary
summary (details) display values other than list-item should hide marker
Albert Scheiner
Reported
2023-11-07 20:06:21 PST
I was just about to implement a <details> + <summary> element where the summary is only as wide as its content, but on its own line. I actually did not want to hide the ::marker, but (1) having the summary is only as wide as its content and (2) show the marker. This is not possible in Webkit (Safari 17) due to "inline list-item" not being supported:
https://bugs.webkit.org/show_bug.cgi?id=224809
Having the display property of a <summary> element set to something else but "list-item" does not show the ::marker arrow in Firefox and Chromium, but Safari does. I assume that this is what is suppose to happen. Here is a pen:
https://codepen.io/scheinercc/pen/jOdBrEq
So either way I set display to any flow value Webkit renders differently from the other engines.
Attachments
Add attachment
proposed patch, testcase, etc.
Tim Nguyen (:ntim)
Comment 1
2023-11-08 17:40:26 PST
A band aid fix is pretty straightforward here:
https://searchfox.org/wubkat/rev/17d1d747ad3bb45ca5d2f0c735778816a3cd701f/Source/WebCore/html/shadow/DetailsMarkerControl.cpp#64
can just check for the display value.
Radar WebKit Bug Importer
Comment 2
2023-11-14 20:07:21 PST
<
rdar://problem/118433698
>
L. David Baron
Comment 3
2024-04-09 09:21:27 PDT
The larger underlying difference here is covered by
bug 157323
.
Tim Nguyen (:ntim)
Comment 4
2024-11-23 11:31:05 PST
Fixed by
bug 157323
*** This bug has been marked as a duplicate of
bug 157323
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug