Skip to content

[css-gaps-1]: Introduce spec changes for *-inset-cap-* and *-inset-junction-* #13697#13842

Merged
kbabbitt merged 8 commits into
w3c:mainfrom
oSamDavis:cap-junction
Apr 30, 2026
Merged

[css-gaps-1]: Introduce spec changes for *-inset-cap-* and *-inset-junction-* #13697#13842
kbabbitt merged 8 commits into
w3c:mainfrom
oSamDavis:cap-junction

Conversation

@oSamDavis

Copy link
Copy Markdown
Collaborator

Following the resolution in #13697, this PR includes the necessary spec updates, for the cap and junction model of the inset properties.

@oSamDavis oSamDavis requested review from alisonmaher and mhochk April 27, 2026 16:35
@oSamDavis oSamDavis self-assigned this Apr 27, 2026
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Sam Davis Omekara (from Dev Box) added 3 commits April 27, 2026 19:26
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs Outdated
@oSamDavis oSamDavis requested a review from kbabbitt April 28, 2026 19:02
@kbabbitt kbabbitt linked an issue Apr 29, 2026 that may be closed by this pull request
Comment thread css-gaps-1/Overview.bs Outdated
Comment thread css-gaps-1/Overview.bs
Comment thread css-gaps-1/Overview.bs
Comment thread css-gaps-1/Overview.bs
Comment thread css-gaps-1/Overview.bs
</figure>
</div>

Percentages are resolved against the <dfn>crossing gap width</dfn>, defined as follows:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think the distinction here is actually:

<dl>
    <dt>
        Segment endpoints at a [=gap junction=]
    <dd>
        The [=crossing gap width=] is the size of the [=gap junction=]
        /* etc. ... */
    <dt>
        Other segment endpoints
    <dd>
        The [=crossing gap width=] is ''0''.
</dl>

The reason I think this is that the percentage basis for segment endpoints next to a spanner in multicol is also 0; see https://codepen.io/kevinbcmu/pen/OPbJwWw

Let's also make sure we have a WPT for that case.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done, let me know if that's sufficient.

Comment thread css-gaps-1/Overview.bs Outdated
@kbabbitt kbabbitt merged commit 09035f6 into w3c:main Apr 30, 2026
1 check passed
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.

[css-gaps-1] overlap-join with between rule visibility

5 participants