Skip to content

Commit 6fb99c8

Browse files
lutienemilio
authored andcommitted
Use separate hooks for available and total screen areas.
1 parent 516d9fc commit 6fb99c8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cssom-view-1/Overview.bs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ spec:css-borders-4; type:property; text:border-top-width
5555
spec:css-borders-4; type:property; text:border-left-width
5656
spec:cssom-view-1; type:dictionary; text:MouseEventInit
5757
spec:cssom-view-1; type:dfn; for:MediaQueryList; text:media
58-
spec:webdriver-bidi; type:dfn; text:WebDriver BiDi emulated screen area
58+
spec:webdriver-bidi; type:dfn;
59+
text:WebDriver BiDi emulated available screen area
60+
text:WebDriver BiDi emulated total screen area
5961
</pre>
6062

6163
<style>
@@ -417,7 +419,7 @@ corner, and the x- and y-coordinates increase rightwards and downwards, respecti
417419
The <dfn export>Web-exposed screen area</dfn> must return the result of the following algorithm:
418420

419421
1. Let <var>target</var> be [=this=]'s [=relevant global object=]'s [=Window/browsing context=].
420-
1. Let |emulated screen area| be the <a>WebDriver BiDi emulated screen area</a> of <var>target</var>.
422+
1. Let |emulated screen area| be the <a>WebDriver BiDi emulated total screen area</a> of <var>target</var>.
421423
1. If |emulated screen area| is not null, return |emulated screen area|.
422424
1. Otherwise, return one of the following:
423425
* The area of the output device, in <a lt=px value>CSS pixels</a>.
@@ -426,7 +428,7 @@ The <dfn export>Web-exposed screen area</dfn> must return the result of the foll
426428
The <dfn export>Web-exposed available screen area</dfn> must return the result of the following algorithm:
427429

428430
1. Let <var>target</var> be [=this=]'s [=relevant global object=]'s [=Window/browsing context=].
429-
1. Let |emulated screen area| be the <a>WebDriver BiDi emulated screen area</a> for <var>target</var>.
431+
1. Let |emulated screen area| be the <a>WebDriver BiDi emulated available screen area</a> for <var>target</var>.
430432
1. If |emulated screen area| is not null, return |emulated screen area|.
431433
1. Otherwise, return one of the following:
432434
* The available area of the rendering surface of the output device, in <a lt=px value>CSS pixels</a>.

0 commit comments

Comments
 (0)