@@ -1808,24 +1808,61 @@ <h3 id=the-windowlayout><span class=secno>4.1. </span>The <code><a
18081808 browsing context.
18091809
18101810 < pre class =idl > interface < dfn id =windowlayout > WindowLayout</ dfn > {
1811- readonly attribute float innerWidth;
1812- readonly attribute float innerHeight;
1813- readonly attribute float outerWidth;
1814- readonly attribute float outerHeight;
1811+ readonly attribute float < a href =" #innerwidth " title = windowlayout-innerwidth > innerWidth</ a > ;
1812+ readonly attribute float < a href =" #innerheight " title = windowlayout-innerheight > innerHeight</ a > ;
1813+ readonly attribute float < a href =" #outerheight " title = windowlayout-outerheight > outerWidth</ a > ;
1814+ readonly attribute float < a href =" #outerheight " title = windowlayout-outerheight > outerHeight</ a > ;
18151815 readonly attribute float pageXOffset;
18161816 readonly attribute float pageYOffset;
18171817 readonly attribute float screenX;
18181818 readonly attribute float screenY;
18191819 readonly attribute < a href ="#screen0 "> Screen</ a > < a href ="#screen " title =windowlayout-screen > screen</ a > ;
18201820};</ pre >
1821+ <!-- XXX float? -->
18211822
18221823 < dl >
1824+ < dt > < dfn id =innerwidth
1825+ title =windowlayout-innerwidth > < code > innerWidth</ code > </ dfn >
1826+
1827+ < dd >
1828+ < p > This attribute < em class =ct > must</ em > be the viewport width in pixels.</ p >
1829+
1830+ < p class =note > This is including, if rendered, the vertical scrollbar.</ p >
1831+
1832+ < dt > < dfn id =innerheight
1833+ title =windowlayout-innerheight > < code > innerHeight</ code > </ dfn >
1834+
1835+ < dd >
1836+ < p > This attribute < em class =ct > must</ em > be the viewport height in
1837+ pixels.</ p >
1838+
1839+ < p class =note > This is including, if rendered, the horizontal scrollbar.</ p >
1840+
1841+ < dt > < dfn id =outerwidth
1842+ title =windowlayout-outerwidth > < code > outerWidth</ code > </ dfn >
1843+
1844+ < dd > In web browsers, this attribute < em class =ct > must</ em > be the width of
1845+ the browser window. Otherwise, this < em class =ct > must</ em > be
1846+ < code > 0</ code > .
1847+
1848+ < dt > < dfn id =outerheight
1849+ title =windowlayout-outerheight > < code > outerHeight</ code > </ dfn >
1850+
1851+ < dd > In web browsers, this attribute < em class =ct > must</ em > be the height
1852+ of the browser window. Otherwise, this < em class =ct > must</ em > be
1853+ < code > 0</ code > .
1854+
18231855 < dt > < dfn id =screen title =windowlayout-screen > < code > screen</ code > </ dfn >
18241856
18251857 < dd > This attribute < em class =ct > must</ em > hold a < code > < a
18261858 href ="#screen0 "> Screen</ a > </ code > object.
18271859 </ dl >
18281860
1861+ < p > If the user agent supports multiple views and the current view does not
1862+ have a notion of an output device the above attributes with the exception
1863+ of < code title =windowlayout-screen > < a href ="#screen "> screen</ a > </ code > < em
1864+ class =ct > must</ em > be < code > 0</ code > . [DOM2View]
1865+
18291866 < h4 id =the-screen > < span class =secno > 4.1.1. </ span > The < code > < a
18301867 href ="#screen0 "> Screen</ a > </ code > Interface</ h4 >
18311868
@@ -1842,6 +1879,7 @@ <h4 id=the-screen><span class=secno>4.1.1. </span>The <code><a
18421879 readonly attribute float < a href ="#colordepth " title =screen-colordepth > colorDepth</ a > ;
18431880 readonly attribute float < a href ="#pixeldepth " title =screen-pixeldepth > pixelDepth</ a > ;
18441881};</ pre >
1882+ <!-- XXX float? -->
18451883
18461884 < dl class =members >
18471885 < dt > < dfn id =availwidth
@@ -1879,7 +1917,7 @@ <h4 id=the-screen><span class=secno>4.1.1. </span>The <code><a
18791917
18801918 < p > If the user agent supports multiple views and the current view does not
18811919 have a notion of an output device the above attributes < em
1882- class =ct > must</ em > be < code > 0</ code > .
1920+ class =ct > must</ em > be < code > 0</ code > . [DOM2View]
18831921
18841922 < h3 id =the-elementlayout > < span class =secno > 4.2. </ span > The < code > < a
18851923 href ="#elementlayout "> ElementLayout</ a > </ code > Interface</ h3 >
0 commit comments