26 lines
698 B
Plaintext
26 lines
698 B
Plaintext
|
|
|
|
|
|
|
|
|
|
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 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
|
|
|