11Test for https://bugs.webkit.org/show_bug.cgi?id=109956 -webkit-margin-collapse: separate doesn't work correctly for before margins. The test basically creates an empty block inside a container with a margin that collapses with children. The empty block has the margins set to separate so its height should be 0px. The container is not selfcollapsing so it should have a height of 10px+10px+2px=22px.
22
33On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
44
55
66PASS document.getElementById("zero_height").offsetHeight is 0
7PASS document.getElementById("22px_height").offsetHeight is 22
7FAIL document.getElementById("22px_height").offsetHeight should be 22. Was 12.
88PASS successfullyParsed is true
99
1010TEST COMPLETE
1111