1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/343293-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<title>Testcase bug 343293 - Crash [@ nsLayoutUtils::GetFloatFromPlaceholder] using ::first-line, floats, caption and generated content</title> 1.6 +<style> 1.7 +*::first-line { } 1.8 +*::before { content:"--"; } 1.9 +</style> 1.10 +<script> 1.11 +function doe() { 1.12 +document.getElementsByTagName('caption')[0].removeAttribute('style'); 1.13 +document.documentElement.offsetHeight; 1.14 +document.getElementsByTagName('span')[0].removeAttribute('style'); 1.15 +} 1.16 +window.onload=doe; 1.17 +</script> 1.18 + 1.19 +<caption style="float: left;"></caption> 1.20 +<span style="float: right;"></span> 1.21 +This should not crash Mozilla 1.22 +</html> 1.23 \ No newline at end of file