blob: a74447a3f53bb6774c88f36c3c75ecd26a947ed8 [file] [log] [blame]
This test checks that a replaced element with percentage width (and no height specified) within a table cell is squeezed to the dimensions of the table cell.
See bug #29447.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS successfullyParsed is true
TEST COMPLETE
PASS getWidth('img-1') is '105px'
PASS getHeight('img-1') is '105px'
PASS getWidth('img-2') is '98px'
PASS getHeight('img-2') is '98px'
PASS getWidth('img-3') is '40px'
PASS getHeight('img-3') is '40px'
FAIL getWidth('img-4') should be 36px. Was 98px.
FAIL getHeight('img-4') should be 36px. Was 98px.
PASS getWidth('img-5') is '40px'
FAIL getHeight('img-5') should be 36px. Was 98px.
PASS successfullyParsed is true
TEST COMPLETE