Bug 264245

Summary: text-decoration-thickness does not work in buttons but works in div
Product: WebKit Reporter: Ulrich Maiershofer <ulrich.maiershofer>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: akeerthi, bfulgham, ntim, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   
See Also: https://bugs.webkit.org/show_bug.cgi?id=257992
https://bugs.webkit.org/show_bug.cgi?id=250831

Description Ulrich Maiershofer 2023-11-06 01:04:46 PST
Example: https://jsfiddle.net/ymfq4o3r/19/

There are two elements with the same style a <button /> and a <div />.

For both elements the same css class is set. The css class defines the properties 'text-decoration: underline' and 'text-decoration-thickness: 4px'. 

In the <div /> case it works properly like expected.
In the <button /> case it does not work, but I would expect to be the same.
Comment 1 Radar WebKit Bug Importer 2023-11-13 01:05:13 PST
<rdar://problem/118320835>
Comment 2 Tim Nguyen (:ntim) 2023-11-13 01:19:57 PST
Probably same regression range as bug 250831