diff options
Diffstat (limited to 'layout/reftests/bugs/272646-1.xul')
-rw-r--r-- | layout/reftests/bugs/272646-1.xul | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/bugs/272646-1.xul b/layout/reftests/bugs/272646-1.xul new file mode 100644 index 000000000..db570f497 --- /dev/null +++ b/layout/reftests/bugs/272646-1.xul @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:nc="http://home.netscape.com/NC-rdf#" + title="insertBefore - Weirdness" + onload="var atab = document.createElement('tab'); atab.setAttribute('label','new'); document.getElementById('tabs-id').insertBefore(atab,document.getElementById('tabs-id').lastChild);" > +<tabbox> + <tabs id="tabs-id"> + <tab label="foo" /> + <tab label="bar" /> + </tabs> + <tabpanels> + <tabpanel> + <vbox> + <label value="foo"/> + </vbox> + </tabpanel> + <tabpanel> + <vbox> + <label value="bar"/> + </vbox> + </tabpanel> + </tabpanels> +</tabbox> +</window> |