KEMBAR78
[css-text-decor-4] Clarify thickness constraints · Issue #7283 · w3c/csswg-drafts · GitHub
Skip to content

[css-text-decor-4] Clarify thickness constraints #7283

@tcaptan-cr

Description

@tcaptan-cr

The current thickness constraints for length and percentage state that

The UA must floor the actual value at one device pixel.

This could be confusing and interpreted as performing a floor on the actual calculated value, while it is actually rounded to the nearest integer, with a minimum value of one.
Equivalent to: x = min(1, round(x))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions