36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
|
|
|
|
--------
|
|
Frame: 'testFrame'
|
|
--------
|
|
|
|
|
|
--------
|
|
Frame: 'results'
|
|
--------
|
|
This tests that frame resizing is allowed and disallowed when programmatically removing and adding the noresize attribute, respectively.
|
|
|
|
Test disallow frame resize via noResize IDL attribute:
|
|
PASS document.getElementById("testFrame").width is 200
|
|
|
|
Test allow frame resize when noResize IDL attribute has value undefined:
|
|
PASS document.getElementById("testFrame").width is 210
|
|
|
|
Test allow frame resize when noResize IDL attribute has value null:
|
|
PASS document.getElementById("testFrame").width is 220
|
|
|
|
Test disallow frame resize via noresize content attribute:
|
|
PASS document.getElementById("testFrame").width is 220
|
|
PASS document.getElementById("testFrame").width is 220
|
|
PASS document.getElementById("testFrame").width is 220
|
|
PASS document.getElementById("testFrame").width is 220
|
|
|
|
Test disallow then allow frame resize via noResize IDL attribute (i.e. increase frame width by 10 pixels):
|
|
PASS document.getElementById("testFrame").width is 220
|
|
PASS document.getElementById("testFrame").width is 230
|
|
|
|
Test disallow then allow frame resize via noresize content attribute (i.e. increase frame width by 10 pixels):
|
|
PASS document.getElementById("testFrame").width is 230
|
|
PASS document.getElementById("testFrame").width is 240
|
|
|