Testing the LayoutNode.height property. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
Checking default value | |
PASS node.height is 0 | |
PASS node.element.style.height is "" | |
node.height = 10 | |
PASS node.height is 10 | |
PASS node.element.style.height is "" | |
node.height = 20 | |
Layout was performed | |
PASS node.height is 20 | |
PASS node.element.style.height is "20px" | |
node.height = 20 | |
PASS scheduler.hasScheduledLayoutCallbacks is false | |
PASS successfullyParsed is true | |
TEST COMPLETE | |