Skip to content

[css-text-decor-4] Add trailing-spaces to text-decoration-skip #22

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

Merged
merged 2 commits into from
May 13, 2015
Merged
Show file tree
Hide file tree
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
51 changes: 51 additions & 0 deletions css-text-decor-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,57 @@ It has no status at W3C and has not yet been discussed by the CSSWG.
<li>a text-line-width property
</ul>

<h2 id=extend>Extentions to L3 features</h2>

<h3 id="text-decoration-skip-property">
Text Decoration Line Continuity: the 'text-decoration-skip' property</h3>

This specification extends the 'text-decoration-skip' property
present in level 3
by adding the ''trailing-spaces'' value.

<pre class="propdef">
Name: text-decoration-skip
Value: ''none'' | [ ''objects'' || [ ''spaces'' | ''trailing-spaces'' ] || ''ink'' || ''edges'' || ''box-decoration'' ]
Initial: objects
Applies to: all elements
Inherited: yes
Percentages: N/A
Media: visual
Computed value: as specified
Animatable: no
</pre>

Issue: Add final level 3 content

<dl dfn-type=value dfn-for=text-decoration-skip>
<dt><dfn>none</dfn></dt>
<dt><dfn>objects</dfn></dt>
<dt><dfn>spaces</dfn></dt>
<dt><dfn>ink</dfn></dt>
<dt><dfn>edges</dfn></dt>
<dt><dfn>box-decoration</dfn>
<dd>

Issue: Add final level 3 content
<dt><dfn>trailing-spaces</dfn></dt>
<dd>Skip all spacing, i.e. all <i>characters</i> with the Unicode White_Space property [[UAX44]]
and all <a href="http://www.w3.org/TR/css3-text/#word-separator">word separators</a>,
plus any adjacent 'letter-spacing' or 'word-spacing'
when located then end of the line.
</dl>

Issue: Should ''object trailing-spaces'' be the initial value instead of just ''object''?
Should the initial value be auto,
defined so that that it can vary between
''object'' and ''object trailing-spaces''
depending on properties like 'white-space', 'word-wrap', 'word-break' etc?

Issue: Should we have a ''leading-spaces'' value as well?
It looks like ''object leading-spaces'' may be more appropriate than
''object trailing-spaces'' in right-aligned text,
even though common word processing applications don't do that.

<h2 id=temp>Rescued L3 Brainstorming: Ignore For Now</h2>

<h3 id="text-emphasis-skip">
Expand Down
Loading