@@ -88,6 +88,7 @@ url: https://www.w3.org/TR/DOM-Level-3-Events/#interface-MouseEvent; type: inter
8888spec:css-display-3; type:value; for:display; text:table
8989spec:css-position-3; type:property; text:position
9090spec:dom; type:interface; text:Document
91+ spec:html; type:dfn; text:case-sensitive
9192</pre>
9293
9394<script src=https://resources.whatwg.org/file-issue.js defer data-file-issue-url="https://github.com/w3c/csswg-drafts/issues/new?title=%5Bcssom-view%5D%20"></script>
@@ -353,6 +354,26 @@ There are two kinds of zoom, <dfn>page zoom</dfn> which affects the size of the
353354a magnifying glass and does not affect the initial viewport<!-- XXX ref --> or actual viewport<!-- XXX ref -->. [[!CSS-DEVICE-ADAPT]]
354355
355356
357+ Web-exposed screen information {#web-exposed-screen-information}
358+ ----------------------------------------------------------------
359+
360+ User agents may choose to hide information about the screen of the output device, in order to
361+ protect the user's privacy. In order to do so in a consistent manner across APIs, this specification
362+ defines the following terms, each having a width and a height, the origin being the top left
363+ corner, and the x- and y-coordinates increase rightwards and downwards, respectively.
364+
365+ The <dfn export>Web-exposed screen area</dfn> is one of the following:
366+
367+ * The area of the output device, in CSS pixels.
368+ * The area of the <a>viewport</a> , in CSS pixels.
369+
370+ The <dfn export>Web-exposed available screen area</dfn> is one of the following:
371+
372+ * The available area of the rendering surface of the output device, in CSS pixels.
373+ * The area of the output device, in CSS pixels.
374+ * The area of the <a>viewport</a> , in CSS pixels.
375+
376+
356377Common Infrastructure {#common-infrastructure}
357378==============================================
358379
@@ -609,12 +630,12 @@ user agent must run these steps:
6096301. Act as if the {{Window/scroll()}} method was invoked with <var> options</var> as the only argument.
610631
611632The <dfn attribute for=Window>screenX</dfn> attribute must return the x-coordinate,
612- relative to the origin of the screen of the output device , of the left of
633+ relative to the origin of the <a>Web-exposed screen area</a> , of the left of
613634the client window as number of pixels, or zero if there is no such
614635thing. <!--fingerprint-->
615636
616637The <dfn attribute for=Window>screenY</dfn> attribute must return the y-coordinate,
617- relative to the origin of the screen of the output device , of the top of
638+ relative to the origin of the screen of the <a>Web-exposed screen area</a> , of the top of
618639the client window as number of pixels, or zero if there is no such
619640thing. <!--fingerprint-->
620641
@@ -864,15 +885,17 @@ interface Screen {
864885};
865886</pre>
866887
867- The <dfn attribute for=Screen>availWidth</dfn> attribute must return the available width of the rendering surface of the output device,
868- in CSS pixels . <!--fingerprint-->
888+ The <dfn attribute for=Screen>availWidth</dfn> attribute must return the width of the <a>Web-exposed
889+ available screen area</a> . <!--fingerprint-->
869890
870- The <dfn attribute for=Screen>availHeight</dfn> attribute must return the available height of the rendering surface of the output
871- device, in CSS pixels . <!--fingerprint-->
891+ The <dfn attribute for=Screen>availHeight</dfn> attribute must return the height of the
892+ <a>Web-exposed available screen area</a> . <!--fingerprint-->
872893
873- The <dfn attribute for=Screen>width</dfn> attribute must return the width of the output device, in CSS pixels. <!--fingerprint-->
894+ The <dfn attribute for=Screen>width</dfn> attribute must return the width of the <a>Web-exposed
895+ screen area</a> . <!--fingerprint-->
874896
875- The <dfn attribute for=Screen>height</dfn> attribute must return the height of the output device, in CSS pixels. <!--fingerprint-->
897+ The <dfn attribute for=Screen>height</dfn> attribute must return the height of the <a>Web-exposed
898+ screen area</a> . <!--fingerprint-->
876899
877900The <dfn attribute for=Screen>colorDepth</dfn> attribute must return 24.
878901
@@ -1481,11 +1504,11 @@ partial dictionary MouseEventInit {
14811504
14821505The <dfn attribute for=MouseEvent>screenX</dfn> attribute must return the x-coordinate of
14831506the position where the event occurred relative to the origin of the
1484- screen.
1507+ <a>Web-exposed screen area</a> .
14851508
14861509The <dfn attribute for=MouseEvent>screenY</dfn> attribute must return the y-coordinate of
14871510the position where the event occurred relative to the origin of the
1488- screen.
1511+ <a>Web-exposed screen area</a> .
14891512
14901513The <dfn attribute for=MouseEvent>pageX</dfn> attribute must follow these steps:
14911514
0 commit comments