WebKit implemented this feature a few days ago and added more test cases.
https://github.com/WebKit/WebKit/pull/72610

在2026年8月26日星期三 UTC+8 06:31:14<[email protected]> 写道:

> *Summary*:
> Per this spec issue, csswg-draft#8403 
> <https://github.com/w3c/csswg-drafts/issues/8403>, we'd like to extend 
> the syntax of text-decoration-inset to support <length-percentage> value, 
> instead of <length>. This property is already implemented, but previously 
> only supported length values. Per the resolution of this spec issue, we now 
> intend to support percentage values as well.
>
> The percentage basis depends on box-decoration-break. If we specify 
> box-decoration-break:slice, we have to use the total length of all breaks 
> as the basis. If its value is clone, each fragment is considered 
> individually.
>
> *Bug*:  <https://bugzilla.mozilla.org/show_bug.cgi?id=2044602>Bug 2044602 
> <https://bugzilla.mozilla.org/show_bug.cgi?id=2044602>
>
> *Specification*:
> https://drafts.csswg.org/css-text-decor-4/#text-decoration-inset-property
>
> *Standards Body*: CSSWG / W3C
>
> *Platform Coverage*: All.
>
> *Preference*: layout.css.text-decoration-inset-percentage.enabled
>
> *DevTools Bug*: N/A
>
> *Extensions Bug*: N/A
>
> *Use Counter*: css_text_decoration_inset
>
> *Standards-Positions Discussion*:
> There is no standards positions discussion because the spec resolution has 
> been merged, and I believe the solution is uncontroversial and the Layout 
> team agrees with this update.
>
> *Other Browsers*:
> - Blink: intent to ship email 
> <https://groups.google.com/a/chromium.org/g/blink-dev/c/XqfJTwXB6FI/m/Gb-ftYGoDgAJ>
> . 
> - WebKit: Not implemented yet. See WebKit Bug 322441 
> <https://bugs.webkit.org/show_bug.cgi?id=322441> for more details.
>
> *web-platform-tests*:
> parsing: css/css-text-decor/ 
> <https://wpt.fyi/results/css/css-text-decor/parsing?label=experimental&label=master&aligned>
> parsing/ 
> <https://wpt.fyi/results/css/css-text-decor/parsing?label=experimental&label=master&aligned>
> text-decoration-inset-*.html
> rendering: css/css-text-decor/ 
> <https://wpt.fyi/results/css/css-text-decor?label=experimental&label=master&aligned>
> text-decoration-inset-{026|027|028|029|030}.html
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/0a2cc140-ef5f-459b-be8f-f605129a0d10n%40mozilla.org.

Reply via email to