Skip to content

Implement text-decoration-skip-spaces, part 2#59786

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7792866
May 11, 2026
Merged

Implement text-decoration-skip-spaces, part 2#59786
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7792866

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented May 11, 2026

This CL implements the paint part of text-decoration-skip-spaces.

https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-spaces-property

Decoration trimming is done entirely at paint time: leading/trailing
spaces are handled by narrowing decoration_box, and interior spaces are
clipped via context.ClipOut().

Bug: 40862777
Change-Id: I30a43a200e2f032399ed0996366aaad4c67db6cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7792866
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1628459}

This CL implements the paint part of text-decoration-skip-spaces.

https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-spaces-property

Decoration trimming is done entirely at paint time: leading/trailing
spaces are handled by narrowing decoration_box, and interior spaces are
clipped via context.ClipOut().

Bug: 40862777
Change-Id: I30a43a200e2f032399ed0996366aaad4c67db6cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7792866
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1628459}
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit c3a0d7d into master May 11, 2026
37 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7792866 branch May 11, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants