Skip to content

Commit 8fc3f4d

Browse files
committed
[mediaqueries] Resolve bikeshed ambiguity
1 parent 21045c6 commit 8fc3f4d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

mediaqueries/Overview.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -971,10 +971,14 @@ orientation</h3>
971971
Type: discrete
972972
</pre>
973973

974-
The 'orientation' media feature is ''portrait''
975-
when the value of the 'height' media feature is greater than or equal to
976-
the value of the 'width' media feature.
977-
Otherwise 'orientation' is ''landscape''.
974+
<dl dfn-type=value dfn-for="@media/orientation">
975+
<dt><dfn>portrait</dfn>
976+
<dd>The 'orientation' media feature is ''portrait''
977+
when the value of the 'height' media feature is greater than or equal to
978+
the value of the 'width' media feature.
979+
<dt><dfn>landscape</dfn>
980+
<dd>Otherwise 'orientation' is ''landscape''.
981+
</dl>
978982

979983
<div class="example">
980984
The following media query tests for “portrait” orientation,

0 commit comments

Comments
 (0)