Files
sousa-gecko/testing/web-platform/tests/css/css-text-decor
Boris Chiou f50d8fe9e4 Bug 2044602 - Resolve the percentage value of text-decoration-inset. r=layout-reviewers,emilio
We resolve the percentage based on the resolutino of the spec issue [1].

Per the spec issue, if we specify `box-decoration-break:slice`, we have to
use the total length of all breaks as the basis. If the property value
is `clone`, each fragment is considered individually.

Note: text-decoration-inset-030.html is failed because we break the
textframe (when using `<br>`) to avoid some performance issues, so
our rendering result looks like using `box-decoration-break:clone`,
which is not correct. We may have to add some extra handling for the
continouation in the follow-up bugs.

[1] https://github.com/w3c/csswg-drafts/issues/8403

Differential Revision: https://phabricator.services.mozilla.com/D308886
2026-06-27 00:11:19 +00:00
..
…