[css-backgrounds] Order of values for border shorthands is unclear #5100
Labels
Closed Accepted as Editorial
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-backgrounds-3
Current Work
Uh oh!
There was an error while loading. Please reload this page.
The definitions of the order of values for the shorthands
border-color
,border-style
andborder-width
seem a bit unclear. For all three the spec statesSo what happens with three or two values, e.g.
border-width: a b c
orborder-width: a b
? How does it know which side I left out?By trial and error I know the order is the same as for the
margin
andpadding
shorthands. The definitions ofmargin
andpadding
are much clearer though. The spec statesI would suggest taking over this part of the definition from
margin
/padding
for the border properties as well.The text was updated successfully, but these errors were encountered: