Skip to content

Commit 358cd65

Browse files
committed
[css-backgrounds-4] Fix bg-clip grammar. Fixes #2916 properly.
1 parent 46b123e commit 358cd65

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

css-backgrounds-4/Overview.bs

+18-3
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,31 @@ Background Positioning Longhands: the 'background-position-x', 'background-posit
130130
<h3 id='background-clip'>
131131
Painting Area: the 'background-clip' property</h3>
132132

133-
<pre class="propdef partial">
133+
<pre class="propdef">
134134
Name: background-clip
135-
New Values: text | border
135+
Value: <<bg-clip>>#
136+
Initial: border-box
137+
Inherited: no
138+
</pre>
139+
140+
Determines the <dfn export>background painting area</dfn>,
141+
which determines the area within which the background is painted.
142+
The syntax of the property is given with
143+
144+
<pre class=prod>
145+
<dfn>&lt;bg-clip></dfn> = <<box>> | border | text
136146
</pre>
137147

138148
Issue: Or should this be defining the <css>-webkit-background-clip</css> property,
139149
saying that all the values are identical,
140150
with this additional ''text'' value?
141151

142-
<dl dfn-type=value dfn-for=background-clip>
152+
<dl dfn-type=value dfn-for="background-clip, <bg-clip>">
153+
<dt><dfn><<box>></dfn>
154+
<dd>
155+
The background is painted within (clipped to)
156+
the specified box of the element.
157+
143158
<dt><dfn>text</dfn>
144159
<dd>
145160
The background is painted within (clipped to)

0 commit comments

Comments
 (0)