Created attachment 45732 [details]
Testcase and workaround
Safari: FAIL (version 4.0.4, help box reports WebKit version 531.21.10)
Google Chrome: FAIL (version 184.108.40.206)
Firefox: OK (version 3.5.6)
Opera: OK (version 10.10 build 4742)
What steps will reproduce the problem?
Open attachment in a WebKit browser.
What is the expected result?
The second box should display the text 'li'.
Notice that the height of the li element is set to 0, but it should still display the content of the element because overflow is set to visible (style attribute on li element is "height: 0; overflow: visible;").
What happens instead?
Second box doesn't display the text 'li'.
Posted a patch at bug 78726 without realizing this was here.
*** This bug has been marked as a duplicate of bug 78726 ***