Enable screen.availHeight/availWidth/Height/Width

This commit is contained in:
Shing Lyu 2017-09-27 10:32:51 +02:00
parent 657b2339a1
commit c120234f0e
16 changed files with 138 additions and 84 deletions

View file

@ -1,26 +0,0 @@
[cssom-view-window-screen-interface.html]
type: testharness
[Screen.availWidth is readonly]
expected: FAIL
[Screen.availHeight is readonly]
expected: FAIL
[Screen.width is readonly]
expected: FAIL
[Screen.height is readonly]
expected: FAIL
[window.screen.width >= 0 && window.screen.width < 6000000]
expected: FAIL
[window.screen.height >= 0 && window.screen.height < 6000000]
expected: FAIL
[window.screen.availWidth >= 0 && window.screen.availWidth <= window.screen.width]
expected: FAIL
[window.screen.availHeight >= 0 && window.screen.availHeight <= window.screen.height]
expected: FAIL

View file

@ -465,30 +465,6 @@
[Range interface: new Range() must inherit property "getBoundingClientRect()" with the proper type]
expected: FAIL
[Screen interface: attribute availWidth]
expected: FAIL
[Screen interface: attribute availHeight]
expected: FAIL
[Screen interface: attribute width]
expected: FAIL
[Screen interface: attribute height]
expected: FAIL
[Screen interface: screen must inherit property "availWidth" with the proper type]
expected: FAIL
[Screen interface: screen must inherit property "availHeight" with the proper type]
expected: FAIL
[Screen interface: screen must inherit property "width" with the proper type]
expected: FAIL
[Screen interface: screen must inherit property "height" with the proper type]
expected: FAIL
[CaretPosition interface: existence and properties of interface object]
expected: FAIL

View file

@ -1,5 +0,0 @@
[window-screen-height-immutable.html]
type: testharness
[immutability test]
expected: FAIL

View file

@ -1,8 +0,0 @@
[window-screen-height.html]
type: testharness
[positive check]
expected: FAIL
[upper bound check]
expected: FAIL

View file

@ -1,5 +0,0 @@
[window-screen-width-immutable.html]
type: testharness
[immutability test]
expected: FAIL

View file

@ -1,8 +0,0 @@
[window-screen-width.html]
type: testharness
[positive check]
expected: FAIL
[upper bound check]
expected: FAIL