Skip to content

Commit 9f08eab

Browse files
committed
[css-ui-4] Note that outline-offset is not part of the shorthand
See #8788
1 parent eac9300 commit 9f08eab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-ui-4/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,11 @@ Outline properties</h2>
296296
but without an explicit <<'outline-style'>> or <<'outline-color'>> value,
297297
both 'outline-style' and 'outline-color' are set to ''outine-style/auto''.
298298

299+
Note: The shorthand purposefully omits the 'outline-offset' property,
300+
which determines the position rather than the appearance of the outline,
301+
so that it can cascade independently,
302+
as well as for backwards compatibility reasons.
303+
299304
The outline created with the outline properties is drawn "over" a box,
300305
i.e., the outline is always on top
301306
and doesn't influence the position or size of the box,

0 commit comments

Comments
 (0)