@@ -2020,13 +2020,13 @@ <h3 id="line-decoration"><span class="secno">8.1</span>
20202020 inline replaced elements to be underlined or requiring that white
20212021 space be skipped.</ p >
20222022
2023- < p > In determining the position of and thickness of text decoration lines,
2024- user agents may consider the font sizes of and dominant baselines
2025- of descendants, but must use the same baseline and thickness on each
2026- line. Relatively positioning a descendant moves all text decorations
2027- affecting it along with the descendant's text; it does not affect
2028- calculation of the decoration's initial position on that line. The
2029- < a href ="#text-decoration-color "> color</ a > and
2023+ < p > In determining the position and thickness of text decoration lines,
2024+ user agents may consider the font sizes and dominant baselines of
2025+ descendants, but for a given element's decoration must use the same
2026+ baseline and thickness on each line. Relatively positioning a descendant
2027+ moves all text decorations affecting it along with the descendant's text;
2028+ it does not affect calculation of the decoration's initial position on
2029+ that line. The < a href ="#text-decoration-color "> color</ a > and
20302030 < a href ="#text-decoration-style "> line style</ a > of decorations must
20312031 remain the same on all decorations applied by a given element, even
20322032 if descendant elements have different color or line style values.</ p >
@@ -2649,21 +2649,19 @@ <h3 id="text-shadow"><span class="secno">8.3</span>
26492649 specified. If the blur radius is not specified, it is equal to zero.</ p >
26502650
26512651 < p > A color value may optionally be specified before or after the length
2652- values of the shadow effect. The color value will be used as the color
2652+ values of the shadow effect. This color value must be used as the color
26532653 of the shadow effect. If the color is not specified, a UA-chosen color
26542654 will be used.</ p >
26552655
26562656 < p > The shadow effects are applied in the order specified
26572657 < span class ="issue "> should this be changed to layer the same way
26582658 multiple backgrounds do (earlier on top)?</ span >
2659- and may thus overlay each other, but they will never overlay the text
2659+ and may thus overlay each other, but they never overlay the text
26602660 itself. Shadow effects do not alter the size of a box, but may extend
2661- beyond its boundaries. The
2662- < a href ="http://www.w3.org/TR/CSS21/visuren.html#stack-level "> stack
2663- level</ a > of the shadow effects is the same as for the element itself.
2664- < span class ="issue "> Does this definition cause problems with the shadow
2665- of one element painting over the text of the previous element? How would
2666- we solve that?</ span > </ p >
2661+ beyond its boundaries. The shadow must be painted behind the element's
2662+ text but in front of its visible background. UAs should avoid painting
2663+ text shadows over text in adjacent elements belonging to the same stack
2664+ level and stacking context.</ p >
26672665
26682666 < h3 id ="text-outline "> < span class ="secno "> 8.4</ span >
26692667 Text Outlines: the 'text-outline' property</ h3 >
0 commit comments