Bug 363729 - crashtests.

This commit is contained in:
Mats Palmgren 2013-01-26 14:15:29 +01:00
parent 691c1096c9
commit a9c5830d30
4 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<html class="reftest-print">
<body>
<b onfocus="event.target.setAttribute('tabindex', Math.floor(Math.random()*5)-9)"display: inline-table;position: fixed;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: always;page-break-inside: inherit; style="display: inline-table;position: fixed;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: always;page-break-inside: inherit;"><sup rowspan="12"display: table-caption;position: static;overflow: -moz-hidden-unscrollable;float: auto;direction: ltr;page-break-before: avoid;page-break-after: right;page-break-inside: inherit; style="display: table-caption;position: static;overflow: -moz-hidden-unscrollable;float: auto;direction: ltr;page-break-before: avoid;page-break-after: right;page-break-inside: inherit;"><bdo onfocus="event.target.parentNode.removeChild(event.target)"display: table-footer-group;position: absolute;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: right;page-break-inside: auto; style="display: table-footer-group;position: absolute;overflow: hidden;float: left;direction: ltr;page-break-before: right;page-break-after: right;page-break-inside: auto;"><dir tabindex="12"display: -moz-grid;position: static;overflow: auto;float: left;direction: ltr;page-break-before: avoid;page-break-after: inherit;page-break-inside: inherit; style="display: -moz-grid;position: static;overflow: auto;float: left;direction: ltr;page-break-before: avoid;page-break-after: inherit;page-break-inside: inherit;"><i rowspan="1"display: -moz-stack;position: fixed;overflow: visible;float: right;direction: rtl;page-break-before: right;page-break-after: always;page-break-inside: avoid; style="display: -moz-stack;position: fixed;overflow: visible;float: right;direction: rtl;page-break-before: right;page-break-after: always;page-break-inside: avoid;"><select colspan="1"display: block;position: absolute;overflow: hidden;float: right;direction: auto;page-break-before: auto;page-break-after: avoid;page-break-inside: auto; style="display: block;position: absolute;overflow: hidden;float: right;direction: auto;page-break-before: auto;page-break-after: avoid;page-break-inside: auto;"></abbr></var></u></base></em></button></optgroup></menu></body>

View File

@ -0,0 +1,18 @@
<html class="reftest-print">
<head>
<title>Testcase Bug 363729 Crash [@ nsIFrame::GetPositionIgnoringScrolling] on print preview that uses position: fixed</title>
</head>
<body>
This page should not crash on print preview
<span style="position: fixed; page-break-after: always;"></span>
<dir>
<span style="display: inline-table; position: fixed; page-break-after: always;">
<span style="position: absolute;">
<span style=" position: fixed;"></span>
</span>
</span>
</dir>
</body>
</html>

View File

@ -0,0 +1,20 @@
<html class="reftest-print">
<head>
<title>Testcase Bug 363729 Crash [@ nsIFrame::GetPositionIgnoringScrolling] on print preview that uses position: fixed (Branch version)</title>
</head>
<body>
This page should not crash on print preview
<span style="page-break-after: always;"></span>
<dir>
<table style="position: fixed; page-break-after: always;">
<tr><td>
<span style="position: absolute;">
<span style=" position: fixed;"></span>
</span>
</td></tr>
</table>
</dir>
</body>
</html>

View File

@ -122,6 +122,9 @@ load 356325-1.xul
load 358729-1.xhtml
load 360339-1.xul
load 360339-2.xul
load 363729-1.html
load 363729-2.html
load 363729-3.html
load 364427-1.html
load 365909-1.xhtml
load 365909-2.xhtml