File tree Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Expand file tree Collapse file tree 2 files changed +7
-16
lines changed 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
1692
1692
class =property > box-shadow</ code > ’</ a > < a href ="#CSS3BG "
1693
1693
rel =biblioentry > [CSS3BG]<!--{{!CSS3BG}}--> </ a > . (But note that spread
1694
1694
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.
1704
1698
1705
1699
< p > The shadow effects are applied front-to-back: the first shadow is on
1706
1700
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">
1153
1153
< a href ="http://www.w3.org/TR/css3-background/#the-box-shadow "> 'box-shadow'</ a >
1154
1154
[[!CSS3BG]].
1155
1155
(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.
1163
1160
1164
1161
< p > The shadow effects are applied front-to-back: the first shadow is on
1165
1162
top. The shadows may thus overlay each other, but they never overlay
You can’t perform that action at this time.
0 commit comments