зеркало из https://github.com/mozilla/pjs.git
Add crashtest for bug 306911 (and include dbaron's additional testcases)
This commit is contained in:
Родитель
ba8c38f1c2
Коммит
402d574d61
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<listbox id="thelist" flex="1">
<listitem label="Item1" value="item1">
|
||||
<listitem label="Item2" value="item2"/>
|
||||
</listitem>
</listbox>
|
||||
</window>
|
|
@ -0,0 +1,99 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE window>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab label="full grid" />
|
||||
<tab label="grid alone" />
|
||||
<tab label="columns alone" />
|
||||
<tab label="rows alone" />
|
||||
<tab label="column alone" />
|
||||
<tab label="row alone" />
|
||||
<tab label="wacky" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<rows style="color: blue">
|
||||
<row>
|
||||
<label value="row 1,1" />
|
||||
<label value="row 1,2" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="row 2,1" />
|
||||
<label value="row 2,2" />
|
||||
</row>
|
||||
</rows>
|
||||
<columns style="color: fuchsia; opacity: 0.7">
|
||||
<column>
|
||||
<label value="column 1,1" />
|
||||
<label value="column 1,2" />
|
||||
</column>
|
||||
<column>
|
||||
<label value="column 2,1" />
|
||||
<label value="column 2,2" />
|
||||
</column>
|
||||
</columns>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<label value="Text inside grid" />
|
||||
</grid>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<columns>
|
||||
<label value="Text inside columns" />
|
||||
</columns>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<rows>
|
||||
<label value="Text inside rows" />
|
||||
</rows>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<column>
|
||||
<label value="Text inside column" />
|
||||
</column>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<row>
|
||||
<label value="Text inside row" />
|
||||
</row>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<label value="Text inside grid one" />
|
||||
<rows style="color: blue">
|
||||
<label value="Text inside rows #1" />
|
||||
<row>
|
||||
<label value="row 1,1" />
|
||||
<label value="row 1,2" />
|
||||
</row>
|
||||
<label value="Text inside rows #2" />
|
||||
<row>
|
||||
<label value="row 2,1" />
|
||||
<label value="row 2,2" />
|
||||
</row>
|
||||
<label value="Text inside rows #3" />
|
||||
</rows>
|
||||
<label value="Text inside grid two" style="opacity: 0.7" />
|
||||
<columns style="color: fuchsia; opacity: 0.7">
|
||||
<label value="Text inside columns #1" />
|
||||
<column>
|
||||
<label value="column 1,1" />
|
||||
<label value="column 1,2" />
|
||||
</column>
|
||||
<label value="Text inside columns #2" />
|
||||
<column>
|
||||
<label value="column 2,1" />
|
||||
<label value="column 2,2" />
|
||||
</column>
|
||||
<label value="Text inside columns #3" />
|
||||
</columns>
|
||||
<label value="Text inside grid three" style="opacity: 0.4" />
|
||||
</grid>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</window>
|
|
@ -0,0 +1,98 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- vim:sw=4:ts=4:noet:
|
||||
-->
|
||||
<!DOCTYPE window>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab label="no group" />
|
||||
<tab label="wacky orientations" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<row>
|
||||
<label value="row 1,1" />
|
||||
<label value="row 1,2" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="row 2,1" />
|
||||
<label value="row 2,2" />
|
||||
</row>
|
||||
<column>
|
||||
<label value="column 1,1" />
|
||||
<label value="column 1,2" />
|
||||
</column>
|
||||
<column>
|
||||
<label value="column 2,1" />
|
||||
<label value="column 2,2" />
|
||||
</column>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<grid>
|
||||
<rows style="color: green">
|
||||
<row>
|
||||
<label value="rows+row 1" />
|
||||
<label value="rows+row 2" />
|
||||
</row>
|
||||
<column>
|
||||
<label value="rows+column 1" />
|
||||
<label value="rows+column 2" />
|
||||
</column>
|
||||
<rows style="color: purple">
|
||||
<row>
|
||||
<label value="rows+rows+row 1" />
|
||||
<label value="rows+rows+row 2" />
|
||||
</row>
|
||||
<column>
|
||||
<label value="rows+rows+column 1" />
|
||||
<label value="rows+rows+column 2" />
|
||||
</column>
|
||||
</rows>
|
||||
<columns style="color: blue">
|
||||
<row>
|
||||
<label value="rows+columns+row 1" />
|
||||
<label value="rows+columns+row 2" />
|
||||
</row>
|
||||
<column>
|
||||
<label value="rows+columns+column 1" />
|
||||
<label value="rows+columns+column 2" />
|
||||
</column>
|
||||
</columns>
|
||||
</rows>
|
||||
<columns style="opacity: 0.7; color: lime">
|
||||
<row>
|
||||
<label value="columns+row 1" />
|
||||
<label value="columns+row 2" />
|
||||
</row>
|
||||
<column>
|
||||
<label value="columns+column 1" />
|
||||
<label value="columns+column 2" />
|
||||
</column>
|
||||
<rows style="color: fuchsia">
|
||||
<row>
|
||||
<label value="columns+rows+row 1" />
|
||||
<label value="columns+rows+row 2" />
|
||||
</row>
|
||||
<column>
|
||||
<label value="columns+rows+column 1" />
|
||||
<label value="columns+rows+column 2" />
|
||||
</column>
|
||||
</rows>
|
||||
<columns style="color: aqua">
|
||||
<row>
|
||||
<label value="columns+columns+row 1" />
|
||||
<label value="columns+columns+row 2" />
|
||||
</row>
|
||||
<column>
|
||||
<label value="columns+columns+column 1" />
|
||||
<label value="columns+columns+column 2" />
|
||||
</column>
|
||||
</columns>
|
||||
</columns>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</window>
|
|
@ -0,0 +1,3 @@
|
|||
load 306911-crash.xul
|
||||
load 306911-grid-testcases.xul
|
||||
load 306911-grid-testcases2.xul
|
|
@ -3,3 +3,4 @@
|
|||
|
||||
include ../../testing/crashtest/sanity/crashtests.list
|
||||
include ../../gfx/src/mac/crashtests/crashtests.list
|
||||
include ../../layout/xul/base/src/grid/crashtests/crashtests.list
|
||||
|
|
Загрузка…
Ссылка в новой задаче