You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-backgrounds-4/Overview.bs
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ Painting Area: the 'background-clip' property</h3>
132
132
133
133
<pre class="propdef partial">
134
134
Name: background-clip
135
-
New Values: text
135
+
New Values: text, border
136
136
</pre>
137
137
138
138
Issue: Or should this be defining the <css>-webkit-background-clip</css> property,
@@ -143,8 +143,13 @@ Painting Area: the 'background-clip' property</h3>
143
143
<dt><dfn>text</dfn>
144
144
<dd>
145
145
The background is painted within (clipped to)
146
-
the union of the border box
146
+
the intersection of the border box
147
147
and the geometry of the text in the element and its in-flow and floated descendants.
148
+
149
+
<dt><dfn>border</dfn></dt>
150
+
<dd>
151
+
The background is clipped to the area painted by the border, taking 'border-width' and 'border-style' into account but ignoring any transparency introduced by 'border-color'.
<li><a href="#partial-borders">Partial Borders</a> (make part of border shorthand as well!)
698
703
<li><a href="http://lists.w3.org/Archives/Public/www-style/2012Oct/0314.html">More <css>border-radius</css> shorthands</a> for doing both corners on a side at once.
0 commit comments