Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-logical] Add block-start and block-end values to caption-side property #9620

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions css-logical-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -204,17 +204,18 @@ Logical Values for the 'caption-side' Property</h3>

<pre class="propdef partial">
Name: caption-side
New values: inline-start | inline-end
New values: inline-start | inline-end | block-start | block-end
Computed value: specified keyword
</pre>

These two values are added only for implementations that support
The <a>caption-side/inline-start</a> and <a>caption-side/inline-end</a> values
are added only for implementations that support
''caption-side/left'' and ''caption-side/right'' values for 'caption-side'.
The ''caption-side/left'' and ''caption-side/right'' values themselves
are defined to be <a>line-relative</a>.

The existing ''caption/top'' and ''caption/bottom'' values are idiosyncratically redefined
as assigning to the <a>block-start</a> and <a>block-end</a> sides of the table, respectively.
The <a>block-start</a> and <a>block-end</a> values are assigning to the existing
''caption/top'' and ''caption/bottom'' sides of the table, respectively.

The mapping on this property uses the <a>writing mode</a> of the caption’s <a>containing block</a>
(that is, the <a>table wrapper box</a>).
Expand Down