diff --git a/mediaqueries-4/Overview.bs b/mediaqueries-4/Overview.bs index 0b9b4c37ad2..a063a7b67c2 100644 --- a/mediaqueries-4/Overview.bs +++ b/mediaqueries-4/Overview.bs @@ -49,6 +49,7 @@ spec:css-values-3; type:grammar; text:| spec:css-values-3; type:grammar; text:? spec:css-conditional-3; type:at-rule; text:@media spec:selectors-4; type:selector; text::hover +spec:webdriver-bidi; type:dfn; text:WebDriver BiDi media feature value
@@ -995,8 +996,17 @@ Evaluating Media Queries {#evaluating}
so that new syntax additions do not invalidate too much of a <> in older user agents.
<>
-
- The result is the result of evaluating the specified media feature.
+
+ To get the result of evaluating a <> |media feature| in the given {{Document}} |document|:
+
+ 1. Let |media feature name| be the |media feature|'s <>.
+
+ 1. Let |emulated value| be the result of evaluating the WebDriver BiDi media feature value for the
+ |document| and |media feature name|.
+
+ 1. If |emulated value| is not null, return |emulated value|.
+
+ 1. Otherwise, return the result of evaluating the specified media feature.
If the result of any of the above productions