Re: [csswg-drafts] [css-text-decor-4] Clarify thickness constraints (#7283)

If `text-decoration-thickness = 0`, theoretically it shouldn't display an underline, right? 

But currently Chrome and Firefox displays an underline that is less than 1px in size.

```html
data:text/html;charset=UTF-8,
<style>
.test {
   font-family: sans-serif;
   font-size: 50px;
   text-decoration-thickness: 0;
}
</style>
<div class="test" style="text-decoration-line: underline;">text-decoration</div>
<div class="test" style="text-decoration-line: overline;">text-decoration</div>
<div class="test" style="text-decoration-line: line-through;">text-decoration</div>
```

<img width="810" height="456" alt="Image" src="https://github.com/user-attachments/assets/4c511692-4245-422c-a932-2b8c707e954e" />

-- 
GitHub Notification of comment by yisibl
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7283#issuecomment-3495414517 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 6 November 2025 07:07:08 UTC