Bug 261571 - CSS text-decoration:underline for <details><summary> not works in Safari
Summary: CSS text-decoration:underline for <details><summary> not works in Safari
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 252223
  Show dependency treegraph
 
Reported: 2023-09-14 13:50 PDT by Dmitry
Modified: 2023-11-09 15:18 PST (History)
8 users (show)

See Also:


Attachments
STP178 vs Safari 16.6 vs Chrome Canary 119 (154.64 KB, image/png)
2023-09-16 01:46 PDT, Ahmad Saleem
no flags Details
emphasizes not the full width (24.42 KB, image/png)
2023-09-18 12:28 PDT, Dmitry
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2023-09-14 13:50:07 PDT
CSS property text-decoration:underline for <details><summary> not works in Safari.
It works in all other (include old) browsers. It works in Safari with other selectors. How make it work?
Comment 1 Ahmad Saleem 2023-09-15 08:57:32 PDT
Can you try latest Safari Technology Preview? Because I fixed this bug.
Comment 2 Ahmad Saleem 2023-09-15 09:00:44 PDT
Here in bug 227282
Comment 3 Dmitry 2023-09-15 12:15:00 PDT
I use latest 16.5 Safafi Ventura, and observe this bug
Comment 4 Ahmad Saleem 2023-09-16 01:46:23 PDT
Created attachment 467697 [details]
STP178 vs Safari 16.6 vs Chrome Canary 119

Test Case: https://jsfiddle.net/he9gb7us/show

-> It is fixed in Safari Technology Preview 178.
Comment 5 Dmitry 2023-09-18 12:28:46 PDT
Created attachment 467744 [details]
emphasizes not the full width

emphasizes not the full width
Comment 6 Radar WebKit Bug Importer 2023-09-21 13:51:15 PDT
<rdar://problem/115858743>
Comment 7 Ahmad Saleem 2023-09-21 13:56:39 PDT
@Dimtry - can you share test case where width is not extended fully as shown in your reference screenshot?
Comment 8 Curtis Wilcox 2023-10-21 11:18:06 PDT
I can't reproduce the problem in Safari 17.0, the <summary> is underlined.