1.1 --- a/cssom-view/Overview.src.html Mon May 27 15:23:55 2013 +0200 1.2 +++ b/cssom-view/Overview.src.html Mon May 27 15:47:02 2013 +0200 1.3 @@ -754,14 +754,16 @@ 1.4 <ol> 1.5 <li><p>If the element does not have any associated <span>CSS layout box</span> return 1.6 zero and terminate these steps.</p></li> 1.7 + <li><p>Let <var title>viewport width</var> be the width of the <span>viewport</span> excluding the width of the scroll bar, if any, or zero if there is no 1.8 + <span>viewport</span>. 1.9 <li><p>If the element is the root element and the 1.10 <code data-anolis-spec=dom>Document</code> is not in 1.11 <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span> 1.12 - return max(<span>document content</span> width, value of <code title=dom-Window-innerWidth>innerWidth</code>).</p></li> 1.13 + return max(<span>document content</span> width, <var title>viewport width</var>).</p></li> 1.14 <li><p>If the element is <span>the HTML <code>body</code> element</span> 1.15 and the <code data-anolis-spec=dom>Document</code> is in 1.16 <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span> 1.17 - return max(<span>document content</span> width, value of <code title=dom-Window-innerWidth>innerWidth</code>).</p></li> 1.18 + return max(<span>document content</span> width, <var title>viewport width</var>).</p></li> 1.19 <li><p>Return the width of the element's <span>scrolling area</span>.</p></li> 1.20 </ol> 1.21 1.22 @@ -769,14 +771,16 @@ 1.23 <ol> 1.24 <li><p>If the element does not have any associated <span>CSS layout box</span> return 1.25 zero and terminate these steps.</p></li> 1.26 + <li><p>Let <var title>viewport height</var> be the height of the <span>viewport</span> excluding the height of the scroll bar, if any, or zero if there is no 1.27 + <span>viewport</span>. 1.28 <li><p>If the element is the root element and the 1.29 <code data-anolis-spec=dom>Document</code> is not in 1.30 <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span> 1.31 - return max(<span>document content</span> height, value of <code title=dom-Window-innerHeight>innerHeight</code>).</p></li> 1.32 + return max(<span>document content</span> height, <var title>viewport height</var>).</p></li> 1.33 <li><p>If the element is <span>the HTML <code>body</code> element</span> 1.34 and the <code data-anolis-spec=dom>Document</code> is in 1.35 <span data-anolis-spec=dom title=concept-document-quirks>quirks mode</span> 1.36 - return max(<span>document content</span> height, value of <code title=dom-Window-innerHeight>innerHeight</code>).</p></li> 1.37 + return max(<span>document content</span> height, <var title>viewport height</var>).</p></li> 1.38 <li><p>Return the height of the element's <span>scrolling area</span>.</p></li> 1.39 </ol> 1.40