W3C home > Mailing lists > Public > public-css-commits@w3.org > July 2011

csswg/cssom-view Overview.html,1.110,1.111 Overview.src.html,1.111,1.112

From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 14 Jul 2011 08:09:04 +0000
To: public-css-commits@w3.org
Message-Id: <E1QhGym-0004oT-46@lionel-hutz.w3.org>
Update of /sources/public/csswg/cssom-view
In directory hutz:/tmp/cvs-serv18474

Modified Files:
	Overview.html Overview.src.html 
Log Message:
align scrollHeight/scrollWidth with Gecko

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.html,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- Overview.html	6 Jul 2011 15:29:05 -0000	1.110
+++ Overview.html	14 Jul 2011 08:09:01 -0000	1.111
@@ -27,7 +27,7 @@
 
    <h1 id="cssom-view-module">CSSOM View Module</h1>
 
-   <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 6 July 2011</h2>
+   <h2 class="no-num no-toc" id="w3c-doctype">Editor's Draft 14 July 2011</h2>
 
    <dl>
 
@@ -917,11 +917,6 @@
    <var title="">x</var>,<code title="dom-Element-scrollTop"><a href="#dom-element-scrolltop">scrollTop</a></code>.
   </ol>
 
-  <!--
-    XXX CORE-13162 CORE-1342
-    http://lists.w3.org/Archives/Public/www-style/2011May/0103.html
-  -->
-
   <p>The <dfn id="dom-element-scrollwidth" title="dom-Element-scrollWidth"><code>scrollWidth</code></dfn>
   attribute must return the result of running these
   steps:</p>
@@ -930,13 +925,17 @@
    <li><p>If the element does not have any associated CSS layout box return
    zero and terminate these steps.</li>
 
-   <li><p>If the element is the root element and the <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code>
-   is not in <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a> return the value of
-   <code title="dom-Window-innerWidth"><a href="#dom-window-innerwidth">innerWidth</a></code>.</li>
+   <li><p>If the element is the root element and the
+   <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> is not in
+   <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a>
+   return
+   max(<a href="#document-content">document content</a> width, value of <code title="dom-Window-innerWidth"><a href="#dom-window-innerwidth">innerWidth</a></code>).</li>
 
    <li><p>If the element is <a href="#the-html-body-element">the HTML <code>body</code> element</a>
-   and the <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> is in <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a> return the
-   value of <code title="dom-Window-innerWidth"><a href="#dom-window-innerwidth">innerWidth</a></code>.</li>
+   and the <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> is in
+   <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a>
+   return
+   max(<a href="#document-content">document content</a> width, value of <code title="dom-Window-innerWidth"><a href="#dom-window-innerwidth">innerWidth</a></code>).</li>
 
    <li><p>Return the computed value of the '<code>padding-left</code>'
    property, plus the computed value of the '<code>padding-right</code>',
@@ -951,13 +950,17 @@
    <li><p>If the element does not have any associated CSS layout box return
    zero and terminate these steps.</li>
 
-   <li><p>If the element is the root element and the <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code>
-   is not in <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a> return the value of
-   <code title="dom-Window-innerHeight"><a href="#dom-window-innerheight">innerHeight</a></code>.</li>
+   <li><p>If the element is the root element and the
+   <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> is not in
+   <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a>
+   return
+   max(<a href="#document-content">document content</a> height, value of <code title="dom-Window-innerHeight"><a href="#dom-window-innerheight">innerHeight</a></code>).</li>
 
    <li><p>If the element is <a href="#the-html-body-element">the HTML <code>body</code> element</a>
-   and the <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> is in <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a> return the
-   value of <code title="dom-Window-innerHeight"><a href="#dom-window-innerheight">innerHeight</a></code>.</li>
+   and the <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> is in
+   <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-quirks-mode" title="concept-quirks-mode">quirks mode</a>
+   return
+   max(<a href="#document-content">document content</a> height, value of <code title="dom-Window-innerHeight"><a href="#dom-window-innerheight">innerHeight</a></code>).</li>
 
    <li><p>Return the computed value of the '<code>padding-top</code>'
    property, plus the computed value of the '<code>padding-bottom</code>',

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/cssom-view/Overview.src.html,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- Overview.src.html	6 Jul 2011 15:29:05 -0000	1.111
+++ Overview.src.html	14 Jul 2011 08:09:01 -0000	1.112
@@ -888,11 +888,6 @@
    <var title>x</var>,<code title=dom-Element-scrollTop>scrollTop</code>.
   </ol>
 
-  <!--
-    XXX CORE-13162 CORE-1342
-    http://lists.w3.org/Archives/Public/www-style/2011May/0103.html
-  -->
-
   <p>The <dfn title=dom-Element-scrollWidth><code>scrollWidth</code></dfn>
   attribute must return the result of running these
   steps:</p>
@@ -901,13 +896,17 @@
    <li><p>If the element does not have any associated CSS layout box return
    zero and terminate these steps.</p></li>
 
-   <li><p>If the element is the root element and the <code data-anolis-spec=domcore>Document</code>
-   is not in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the value of
-   <code title=dom-Window-innerWidth>innerWidth</code>.</p></li>
+   <li><p>If the element is the root element and the
+   <code data-anolis-spec=domcore>Document</code> is not in
+   <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>
+   return
+   max(<span>document content</span> width, value of <code title=dom-Window-innerWidth>innerWidth</code>).</p></li>
 
    <li><p>If the element is <span>the HTML <code>body</code> element</span>
-   and the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the
-   value of <code title=dom-Window-innerWidth>innerWidth</code>.</p></li>
+   and the <code data-anolis-spec=domcore>Document</code> is in
+   <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>
+   return
+   max(<span>document content</span> width, value of <code title=dom-Window-innerWidth>innerWidth</code>).</p></li>
 
    <li><p>Return the computed value of the '<code>padding-left</code>'
    property, plus the computed value of the '<code>padding-right</code>',
@@ -922,13 +921,17 @@
    <li><p>If the element does not have any associated CSS layout box return
    zero and terminate these steps.</p></li>
 
-   <li><p>If the element is the root element and the <code data-anolis-spec=domcore>Document</code>
-   is not in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the value of
-   <code title=dom-Window-innerHeight>innerHeight</code>.</p></li>
+   <li><p>If the element is the root element and the
+   <code data-anolis-spec=domcore>Document</code> is not in
+   <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>
+   return
+   max(<span>document content</span> height, value of <code title=dom-Window-innerHeight>innerHeight</code>).</p></li>
 
    <li><p>If the element is <span>the HTML <code>body</code> element</span>
-   and the <code data-anolis-spec=domcore>Document</code> is in <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span> return the
-   value of <code title=dom-Window-innerHeight>innerHeight</code>.</p></li>
+   and the <code data-anolis-spec=domcore>Document</code> is in
+   <span data-anolis-spec=domcore title=concept-quirks-mode>quirks mode</span>
+   return
+   max(<span>document content</span> height, value of <code title=dom-Window-innerHeight>innerHeight</code>).</p></li>
 
    <li><p>Return the computed value of the '<code>padding-top</code>'
    property, plus the computed value of the '<code>padding-bottom</code>',
Received on Thursday, 14 July 2011 08:09:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 July 2011 08:09:06 GMT