Skip to content

Commit 635b942

Browse files
committed
[css-values] Move the text about bearing angles into a note, per WG resolution.
1 parent d783b17 commit 635b942

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

css-values/Overview.bs

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,15 +1093,18 @@ Angle Units: the <<angle>> type and ''deg'', ''grad'', ''rad'', ''turn'' units</
10931093
For example, a right angle is ''90deg'' or ''100grad'' or ''0.25turn'' or
10941094
approximately ''1.57rad''.
10951095

1096-
When an angle denotes a direction,
1097-
it must always be interpreted as a <dfn export>bearing angle</dfn>,
1098-
where 0deg is "up" or "north" on the screen,
1099-
and larger angles are more clockwise
1100-
(so 90deg is "right" or "east").
1101-
1102-
For example, in the ''linear-gradient()'' function,
1103-
the <<angle>> that determines the direction of the gradient
1104-
is interpreted as a bearing angle.
1096+
<div class="note">
1097+
By convention,
1098+
when an angle denotes a direction in CSS,
1099+
it is typically interpreted as a <dfn export>bearing angle</dfn>,
1100+
where 0deg is "up" or "north" on the screen,
1101+
and larger angles are more clockwise
1102+
(so 90deg is "right" or "east").
1103+
1104+
For example, in the ''linear-gradient()'' function,
1105+
the <<angle>> that determines the direction of the gradient
1106+
is interpreted as a bearing angle.
1107+
</div>
11051108

11061109
<!--
11071110
████████ ████ ██ ██ ████████
@@ -2093,7 +2096,7 @@ Acknowledgments</h2>
20932096
Changes</h2>
20942097

20952098
Changes since the <a href="https://www.w3.org/TR/2015/CR-css-values-3-20150611/">11 June 2015 Candidate Recomendation</a> are:
2096-
2099+
20972100
<ul>
20982101
<li>Allow zero angles to be represented as ''0''.
20992102
(Change due to Web-compatibility constraints in transform and gradient syntaxes.)

0 commit comments

Comments
 (0)