Bug 264245 - text-decoration-thickness does not work in buttons but works in div
Summary: text-decoration-thickness does not work in buttons but works in div
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-06 01:04 PST by Ulrich Maiershofer
Modified: 2023-11-13 01:22 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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