Add scrollWidth/Height to element interface

Add the scrollWidth and scrollHeight extensions to the element
interface.
This commit is contained in:
Daniel Robertson 2016-03-01 16:45:16 +00:00
parent 5fbed88248
commit 16d2778ece
10 changed files with 234 additions and 39 deletions

View file

@ -1,17 +0,0 @@
[scrollWidthHeight.htm]
type: testharness
[elemSimple.scrollHeight is its clientHeight]
expected: FAIL
[elemSimple.scrollWidth is its clientWidth]
expected: FAIL
[elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL

View file

@ -1,20 +0,0 @@
[scrollWidthHeightWhenNotScrollable.htm]
type: testharness
[elemSimple.scrollHeight is its clientHeight]
expected: FAIL
[elemSimple.scrollWidth is its clientWidth]
expected: FAIL
[elemOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemOverflow.scrollHeight is the width of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemNestedOverflow.scrollHeight is the height of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL
[elemNestedOverflow.scrollWidth is the width of its scrolled contents (ignoring padding, since we overflowed)]
expected: FAIL