# HG changeset patch
# User Simon Pieters If the element does not have any associated CSS layout box return
zero and terminate these steps. Let viewport width be the width of the viewport excluding the width of the scroll bar, if any, or zero if there is no
+ viewport.
If the element is the root element and the
If the element is the HTML Return the width of the element's scrolling area. If the element does not have any associated CSS layout box return
zero and terminate these steps. Let viewport height be the height of the viewport excluding the height of the scroll bar, if any, or zero if there is no
+ viewport.
If the element is the root element and the
If the element is the HTML Return the height of the element's scrolling area. If the element does not have any associated CSS layout box return
zero and terminate these steps. Let viewport width be the width of the viewport excluding the width of the scroll bar, if any, or zero if there is no
+ viewport.
If the element is the root element and the
@@ -801,14 +803,16 @@
Document
is not in
quirks mode
- return max(document content width, value of innerWidth
).body
element
and the Document
is in
quirks mode
- return max(document content width, value of innerWidth
).
diff -r 1398c808e617 -r 3e45009199b6 cssom-view/Overview.src.html
--- a/cssom-view/Overview.src.html Mon May 27 15:23:55 2013 +0200
+++ b/cssom-view/Overview.src.html Mon May 27 15:47:02 2013 +0200
@@ -754,14 +754,16 @@
Document
is not in
quirks mode
- return max(document content height, value of innerHeight
).body
element
and the Document
is in
quirks mode
- return max(document content height, value of innerHeight
).
Document
is not in
quirks mode
- return max(document content width, value of innerWidth
).
If the element is the HTML body
element
and the Document
is in
quirks mode
- return max(document content width, value of innerWidth
).
Return the width of the element's scrolling area.
If the element does not have any associated CSS layout box return zero and terminate these steps.
Let viewport height be the height of the viewport excluding the height of the scroll bar, if any, or zero if there is no + viewport.
If the element is the root element and the
Document
is not in
quirks mode
- return max(document content height, value of innerHeight
).
If the element is the HTML body
element
and the Document
is in
quirks mode
- return max(document content height, value of innerHeight
).
Return the height of the element's scrolling area.