Skip to content

Commit 6424074

Browse files
authored
[css-values-4] Fix example in Property Value Examples
- Replaced `text-shadow` for `box-shadow` since `text-shadow` has no `inset` component - Removed unnecessary grouping ([<shadow> definition](https://drafts.csswg.org/css-backgrounds/#typedef-shadow)) According to spec, the order of terms should be `none | [ <color>? && <length>{2,4} && inset? ]#`. However, left it as is since it's not a big deal.
1 parent db96979 commit 6424074

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-values-4/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ Property Value Examples</h3>
342342
<tr><td>'border-width'
343343
<td>[ &lt;length> | thick | medium | thin ]{1,4}
344344
<td>''2px medium 4px''
345-
<tr><td>'text-shadow'
346-
<td>[ inset? && [ &lt;length>{2,4} && &lt;color>? ] ]# | none
345+
<tr><td>'box-shadow'
346+
<td>[ inset? && &lt;length>{2,4} && &lt;color>? ]# | none
347347
<td>''3px 3px rgba(50%, 50%, 50%, 50%), lemonchiffon 0 0 4px inset''
348348
</tbody>
349349
</table>

0 commit comments

Comments
 (0)