File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1692,15 +1692,9 @@ <h2 id=text-shadow-property><span class=secno>4. </span> Text Shadows: the
16921692 class =property > box-shadow</ code > ’</ a > < a href ="#CSS3BG "
16931693 rel =biblioentry > [CSS3BG]<!--{{!CSS3BG}}--> </ a > . (But note that spread
16941694 values and the ‘< code class =css > inset</ code > ’ keyword are not
1695- allowed.) The shadow is applied to all of the element's text as well as
1696- any text decorations it specifies.
1697-
1698- < p > If the color of the shadow is not specified, the shadow has the color of
1699- the ink it shadows; that is, it matches the ‘< code
1700- class =property > color</ code > ’ property when shadowing text, and the ‘< a
1701- href ="#text-decoration-color "> < code
1702- class =property > text-decoration-color</ code > </ a > ’ property when shadowing
1703- text decorations.
1695+ allowed.) Each layer shadows the element's text and all its text
1696+ decorations (composited together). If the color of the shadow is not
1697+ specified, the shadow has the resulting color of the ink that it shadows.
17041698
17051699 < p > The shadow effects are applied front-to-back: the first shadow is on
17061700 top. The shadows may thus overlay each other, but they never overlay the
Original file line number Diff line number Diff line change @@ -1153,13 +1153,10 @@ <h2 id="text-shadow-property">
11531153 < a href ="http://www.w3.org/TR/css3-background/#the-box-shadow "> 'box-shadow'</ a >
11541154 [[!CSS3BG]].
11551155 (But note that spread values and the ''inset'' keyword are not allowed.)
1156- The shadow is applied to all of the element's text as well as any
1157- text decorations it specifies.
1158-
1159- < p > If the color of the shadow is not specified,
1160- the shadow has the color of the ink it shadows;
1161- that is, it matches the 'color' property when shadowing text,
1162- and the 'text-decoration-color' property when shadowing text decorations.
1156+ Each layer shadows the element's text and all its text decorations
1157+ (composited together).
1158+ If the color of the shadow is not specified,
1159+ the shadow has the resulting color of the ink that it shadows.
11631160
11641161 < p > The shadow effects are applied front-to-back: the first shadow is on
11651162 top. The shadows may thus overlay each other, but they never overlay
You can’t perform that action at this time.
0 commit comments