Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: LayoutTests/fast/frames/frame-programmatic-noresize-expected.txt

Issue 427563002: Remove HTMLFrameElement.width/height (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix tests Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 2
3 -------- 3 --------
4 Frame: 'testFrame' 4 Frame: 'testFrame'
5 -------- 5 --------
6 6
7 7
8 -------- 8 --------
9 Frame: 'results' 9 Frame: 'results'
10 -------- 10 --------
11 This tests that frame resizing is allowed and disallowed when programmatically r emoving and adding the noresize attribute, respectively. 11 This tests that frame resizing is allowed and disallowed when programmatically r emoving and adding the noresize attribute, respectively.
12 12
13 Test disallow frame resize via noResize IDL attribute: 13 Test disallow frame resize via noResize IDL attribute:
14 PASS document.getElementById("testFrame").width is 200 14 PASS document.getElementById("testFrame").getBoundingClientRect().width is 200
15 15
16 Test allow frame resize when noResize IDL attribute has value undefined: 16 Test allow frame resize when noResize IDL attribute has value undefined:
17 PASS document.getElementById("testFrame").width is 210 17 PASS document.getElementById("testFrame").getBoundingClientRect().width is 210
18 18
19 Test allow frame resize when noResize IDL attribute has value null: 19 Test allow frame resize when noResize IDL attribute has value null:
20 PASS document.getElementById("testFrame").width is 220 20 PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
21 21
22 Test disallow frame resize via noresize content attribute: 22 Test disallow frame resize via noresize content attribute:
23 PASS document.getElementById("testFrame").width is 220 23 PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
24 PASS document.getElementById("testFrame").width is 220 24 PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
25 PASS document.getElementById("testFrame").width is 220 25 PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
26 PASS document.getElementById("testFrame").width is 220 26 PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
27 27
28 Test disallow then allow frame resize via noResize IDL attribute (i.e. increase frame width by 10 pixels): 28 Test disallow then allow frame resize via noResize IDL attribute (i.e. increase frame width by 10 pixels):
29 PASS document.getElementById("testFrame").width is 220 29 PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
30 PASS document.getElementById("testFrame").width is 230 30 PASS document.getElementById("testFrame").getBoundingClientRect().width is 230
31 31
32 Test disallow then allow frame resize via noresize content attribute (i.e. incre ase frame width by 10 pixels): 32 Test disallow then allow frame resize via noresize content attribute (i.e. incre ase frame width by 10 pixels):
33 PASS document.getElementById("testFrame").width is 230 33 PASS document.getElementById("testFrame").getBoundingClientRect().width is 230
34 PASS document.getElementById("testFrame").width is 240 34 PASS document.getElementById("testFrame").getBoundingClientRect().width is 240
35 35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698