Skip to content

Commit 59261d0

Browse files
committed
[css-text-decor-3] Rewrap text. (Whitespace-only change.)
1 parent 855d33f commit 59261d0

1 file changed

Lines changed: 20 additions & 17 deletions

File tree

css-text-decor-3/Overview.bs

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -849,34 +849,37 @@ Text Shadows: the 'text-shadow' property</h2>
849849
if the the shorter list is otherwise compatible with the longer one
850850
</pre>
851851

852-
This property accepts a comma-separated list of shadow effects to
853-
be applied to the text of the element. Values are interpreted as for
854-
'box-shadow'
855-
[[!CSS-BACKGROUNDS-3]].
852+
This property accepts a comma-separated list of shadow effects
853+
to be applied to the text of the element.
854+
Values are interpreted as for 'box-shadow' [[!CSS-BACKGROUNDS-3]].
856855
(But note that spread values and the ''box-shadow/inset'' keyword are not allowed.)
857856
Each layer shadows the element's text and all its text decorations
858857
(composited together).
859858
If the color of the shadow is not specified,
860859
it defaults to ''currentColor'',
861860
i.e. the shadow’s color is taken from the element’s 'color' property.
862861

863-
The shadow effects are applied front-to-back: the first shadow is on
864-
top. The shadows may thus overlay each other, but they never overlay
865-
the text itself. The shadow must be painted at a stack level between
866-
the element's border and/or background, if present, and the elements
867-
text and text decoration. UAs should avoid painting text shadows over
868-
text in adjacent elements belonging to the same stack level and stacking
869-
context. (This may mean that the exact stack level of the shadows depends
870-
on whether the element has a border or background: the exact stacking
871-
behavior of text shadows is thus UA-defined.)
862+
The shadow effects are applied front-to-back:
863+
the first shadow is on top.
864+
The shadows may thus overlay each other,
865+
but they never overlay the text itself.
866+
The shadow must be painted at a stack level
867+
between the element's border and/or background (if present)
868+
and the elements text and text decoration.
869+
UAs should avoid painting text shadows over text
870+
in adjacent elements belonging to the same stack level and stacking context.
871+
(This may mean that the exact stack level of the shadows depends
872+
on whether the element has a border or background:
873+
the exact stacking behavior of text shadows is thus UA-defined.)
872874
It is undefined whether a given shadow layer shadows
873875
each glyph or decoration independently
874876
or if the text and/or decorations are flattened and then shadowed.
875877

876-
Unlike 'box-shadow', text shadows are not clipped to the shadowed
877-
shape and may show through if the text is partially-transparent.
878-
Like 'box-shadow', text shadows do not influence layout, and do not
879-
trigger scrolling or increase the size of the <a>scrollable overflow region</a>.
878+
Unlike 'box-shadow', text shadows are not clipped to the shadowed shape
879+
and may show through if the text is partially-transparent.
880+
Like 'box-shadow', text shadows do not influence layout,
881+
and do not trigger scrolling
882+
or increase the size of the <a>scrollable overflow region</a>.
880883

881884
Note: The painting order of shadows defined here is the opposite
882885
of that defined in the 1998

0 commit comments

Comments
 (0)