Skip to content
Closed
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
18 changes: 18 additions & 0 deletions css-text-decor-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Use <i> Autolinks: yes
<pre class="link-defaults">
spec:css-break-3; type:dfn; text:fragment
spec:css-display-3; type:property; text:display
spec:infra; type:dfn; text:list
spec:web-animations-1; type:dfn; text:composite operation
</pre>

<h2 id="intro">
Expand Down Expand Up @@ -886,6 +888,22 @@ Text Shadows: the 'text-shadow' property</h2>
<code>::first-line</code> and <code>::first-letter</code>
pseudo-elements.

<h3 id="combining-text-shadows">Addition and accumulation of text-shadows</h3>

<a lt="composite operation">Composition</a> of text-shadow values when animating
follows the same model as 'box-shadow', as follows:

<a lt="value addition">Addition</a> of two text-shadow lists
<var>V<sub>a</sub></var> and <var>V<sub>b</sub></var> is defined as [=list=]
concatenation such that <var ignore>V<sub>result</sub></var> is equal to
<var>V<sub>a</sub></var> [=list/extended=] with <var>V<sub>b</sub></var>.

<a lt="value accumulation">Accumulation</a> of two text-shadow lists
<var>V<sub>a</sub></var> and <var>V<sub>b</sub></var> follows the padding rules
for interpolation as defined in the <b>Animation type</b> section of
'text-shadow'. Instead of interpolating, however, accumulation performs
addition on each component according to its type.

<h2 id="painting">
Painting Text Decorations</h2>

Expand Down