Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only
authorJoel Maher <jmaher@mozilla.com>
Fri, 18 Mar 2011 11:54:13 -0400
changeset 63440 378591d78e00
parent 63439 af5988b2e2ca
child 63441 61bb16eb15db
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewersdbaron, test-only
bugs636753
milestone2.0b13pre
Bug 636753 - annotate reftest manifests to note tests that fail on Android (1 of 2). r=dbaron a=test-only
layout/reftests/editor/reftest.list
layout/reftests/editor/xul/reftest.list
layout/reftests/first-letter/reftest.list
layout/reftests/font-face/reftest.list
layout/reftests/font-features/reftest.list
layout/reftests/font-matching/reftest.list
layout/reftests/forms/reftest.list
layout/reftests/image-element/reftest.list
layout/reftests/image/reftest.list
layout/reftests/native-theme/reftest.list
layout/reftests/object/reftest.list
layout/reftests/ogg-video/reftest.list
layout/reftests/selection/reftest.list
layout/reftests/svg/as-image/reftest.list
layout/reftests/svg/moz-only/reftest.list
layout/reftests/svg/reftest.list
layout/reftests/svg/sizing/reftest.list
layout/reftests/svg/smil/event/reftest.list
layout/reftests/svg/svg-integration/reftest.list
layout/reftests/text-decoration/reftest.list
layout/reftests/text-shadow/reftest.list
layout/reftests/text/reftest.list
layout/reftests/transform/reftest.list
modules/plugin/test/reftest/reftest.list
--- a/layout/reftests/editor/reftest.list
+++ b/layout/reftests/editor/reftest.list
@@ -12,48 +12,48 @@ include xul/reftest.list
 == dynamic-type-4.html dynamic-ref.html
 == passwd-1.html passwd-ref.html
 != passwd-2.html passwd-ref.html
 == passwd-3.html passwd-ref.html
 needs-focus == passwd-4.html passwd-ref.html
 == emptypasswd-1.html emptypasswd-ref.html
 == emptypasswd-2.html emptypasswd-ref.html
 == caret_on_positioned.html caret_on_positioned-ref.html
-!= spellcheck-input-disabled.html spellcheck-input-ref.html
+fails-if(Android) != spellcheck-input-disabled.html spellcheck-input-ref.html
 == spellcheck-input-attr-before.html spellcheck-input-ref.html
 == spellcheck-input-attr-after.html spellcheck-input-ref.html
 == spellcheck-input-attr-inherit.html spellcheck-input-ref.html
 == spellcheck-input-attr-dynamic.html spellcheck-input-ref.html
 == spellcheck-input-attr-dynamic-inherit.html spellcheck-input-ref.html
 == spellcheck-input-property-dynamic.html spellcheck-input-ref.html
 == spellcheck-input-property-dynamic-inherit.html spellcheck-input-ref.html
 == spellcheck-input-attr-dynamic-override.html spellcheck-input-ref.html
 == spellcheck-input-attr-dynamic-override-inherit.html spellcheck-input-ref.html
 == spellcheck-input-property-dynamic-override.html spellcheck-input-ref.html
 == spellcheck-input-property-dynamic-override-inherit.html spellcheck-input-ref.html
 == spellcheck-textarea-attr.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-disabled.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-attr-inherit.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-attr-dynamic.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-attr-dynamic-inherit.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-property-dynamic.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-property-dynamic-inherit.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-attr-dynamic-override.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-attr-dynamic-override-inherit.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-property-dynamic-override.html spellcheck-textarea-ref.html
-!= spellcheck-textarea-property-dynamic-override-inherit.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-disabled.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-attr-inherit.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-attr-dynamic.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-attr-dynamic-inherit.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-property-dynamic.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-property-dynamic-inherit.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-attr-dynamic-override.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-attr-dynamic-override-inherit.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-property-dynamic-override.html spellcheck-textarea-ref.html
+fails-if(Android) != spellcheck-textarea-property-dynamic-override-inherit.html spellcheck-textarea-ref.html
 == caret_on_focus.html caret_on_focus-ref.html
 needs-focus != caret_on_textarea_lastline.html caret_on_textarea_lastline-ref.html
 needs-focus == input-text-onfocus-reframe.html input-text-onfocus-reframe-ref.html
 needs-focus == input-text-notheme-onfocus-reframe.html input-text-notheme-onfocus-reframe-ref.html
 needs-focus == caret_after_reframe.html caret_after_reframe-ref.html
 == nobogusnode-1.html nobogusnode-ref.html
 == nobogusnode-2.html nobogusnode-ref.html
-fails == spellcheck-hyphen-valid.html spellcheck-hyphen-valid-ref.html
-!= spellcheck-hyphen-invalid.html spellcheck-hyphen-invalid-ref.html
+fails-if(!Android) == spellcheck-hyphen-valid.html spellcheck-hyphen-valid-ref.html
+fails-if(Android) != spellcheck-hyphen-invalid.html spellcheck-hyphen-invalid-ref.html
 == spellcheck-slash-valid.html spellcheck-slash-valid-ref.html
 == spellcheck-period-valid.html spellcheck-period-valid-ref.html
 == spellcheck-space-valid.html spellcheck-space-valid-ref.html
 == spellcheck-comma-valid.html spellcheck-comma-valid-ref.html
 == spellcheck-hyphen-multiple-valid.html spellcheck-hyphen-multiple-valid-ref.html
-!= spellcheck-hyphen-multiple-invalid.html spellcheck-hyphen-multiple-invalid-ref.html
+fails-if(Android) != spellcheck-hyphen-multiple-invalid.html spellcheck-hyphen-multiple-invalid-ref.html
 == spellcheck-dotafterquote-valid.html spellcheck-dotafterquote-valid-ref.html
 == unneeded_scroll.html unneeded_scroll-ref.html
--- a/layout/reftests/editor/xul/reftest.list
+++ b/layout/reftests/editor/xul/reftest.list
@@ -1,29 +1,29 @@
-== empty-1.xul empty-ref.xul
+fails-if(Android) == empty-1.xul empty-ref.xul
 != empty-2.xul empty-ref.xul
 # There is no way to simulate an autocomplete textbox in windows XP/Vista/7 default theme using CSS.
 # Therefore, the equlity tests below should be marked as failing.
-fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == autocomplete-1.xul autocomplete-ref.xul
-fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == emptyautocomplete-1.xul emptyautocomplete-ref.xul
+fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == autocomplete-1.xul autocomplete-ref.xul
+fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == emptyautocomplete-1.xul emptyautocomplete-ref.xul
 != emptymultiline-1.xul emptymultiline-ref.xul
-== emptymultiline-2.xul emptymultiline-ref.xul
-== emptytextbox-1.xul emptytextbox-ref.xul
-== emptytextbox-2.xul emptytextbox-ref.xul
+fails-if(Android) == emptymultiline-2.xul emptymultiline-ref.xul
+fails-if(Android) == emptytextbox-1.xul emptytextbox-ref.xul
+fails-if(Android) == emptytextbox-2.xul emptytextbox-ref.xul
 != emptytextbox-3.xul emptytextbox-ref.xul
 != emptytextbox-4.xul emptytextbox-ref.xul
-== emptytextbox-5.xul emptytextbox-ref.xul
+fails-if(Android) == emptytextbox-5.xul emptytextbox-ref.xul
 # There is no way to simulate a number textbox in windows XP/Vista/7 default theme using CSS.
 # Therefore, the equlity tests below should be marked as failing.
 != number-1.xul number-ref.xul
 != number-2.xul number-ref.xul
-fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == number-3.xul number-ref.xul
+fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == number-3.xul number-ref.xul
 != number-4.xul number-ref.xul
-fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == number-5.xul number-ref.xul
-fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == numberwithvalue-1.xul numberwithvalue-ref.xul
-== passwd-1.xul passwd-ref.xul
-== passwd-2.xul passwd-ref.xul
+fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == number-5.xul number-ref.xul
+fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[01])/.test(http.oscpu)) == numberwithvalue-1.xul numberwithvalue-ref.xul
+fails-if(Android) == passwd-1.xul passwd-ref.xul
+fails-if(Android) == passwd-2.xul passwd-ref.xul
 != passwd-3.xul passwd-ref.xul
-== plain-1.xul plain-ref.xul
-== textbox-1.xul textbox-ref.xul
+fails-if(Android) == plain-1.xul plain-ref.xul
+fails-if(Android) == textbox-1.xul textbox-ref.xul
 != textbox-disabled.xul textbox-ref.xul
 # Read-only textboxes look like normal textboxes in windows Vista/7 default theme
 fails-if(windowsDefaultTheme&&/^Windows\x20NT\x206\.[01]/.test(http.oscpu)) != textbox-readonly.xul textbox-ref.xul
--- a/layout/reftests/first-letter/reftest.list
+++ b/layout/reftests/first-letter/reftest.list
@@ -18,17 +18,17 @@ fails == quote-1b.html quote-1-ref.html 
 fails == quote-1c.html quote-1-ref.html # bug 509685
 == quote-1c.html quote-1b.html
 fails == quote-1d.html quote-1-ref.html
 == quote-1d.html quote-1b.html
 fails == quote-1e.html quote-1-ref.html # bug 509685
 == quote-1e.html quote-1b.html
 == quote-1f.html quote-1-ref.html
 fails == dynamic-1.html dynamic-1-ref.html # bug 8253
-random-if(d2d) == dynamic-2.html dynamic-2-ref.html
+fails-if(Android) random-if(d2d) == dynamic-2.html dynamic-2-ref.html
 == dynamic-3a.html dynamic-3-ref.html
 == dynamic-3b.html dynamic-3-ref.html
 == 23605-1.html 23605-1-ref.html
 == 23605-2.html 23605-2-ref.html
 == 23605-3.html 23605-3-ref.html
 == 23605-4.html 23605-4-ref.html
 == 23605-5.html 23605-5-ref.html
 == 23605-6.html 23605-6-ref.html
@@ -54,9 +54,9 @@ fails-if(!cocoaWidget) == 329069-5.html 
 == 429968-1b.html 429968-1-ref.html
 == 429968-2a.html 429968-2-ref.html
 == 429968-2b.html 429968-2-ref.html
 == 429968-2c.html 429968-2-ref.html
 == 441418-1.html 441418-1-ref.html
 == 469227-1.html 469227-1-ref.html
 == 484400-1.html 484400-1-ref.html
 == 594303-1.html 594303-1-ref.html
-fails-if(!gtk2Widget) == 617869-1.html 617869-1-ref.html 
+fails-if(!gtk2Widget&&!Android) == 617869-1.html 617869-1-ref.html 
--- a/layout/reftests/font-face/reftest.list
+++ b/layout/reftests/font-face/reftest.list
@@ -22,25 +22,25 @@ HTTP(..) == src-list-format-1.html src-l
 HTTP(..) == src-list-format-2.html src-list-format-2-ref.html
 HTTP(..) == src-list-format-3.html src-list-format-3-ref.html
 HTTP(..) == src-list-format-4.html src-list-format-1-ref.html
 HTTP(..) == src-list-format-5.html src-list-format-2-ref.html
 HTTP(..) == src-list-format-6.html src-list-format-3-ref.html
 # assumes AAT fonts are only supported on MacOS
 random-if(cocoaWidget) HTTP(..) == src-list-format-7.html src-list-format-2-ref.html
 random-if(!cocoaWidget) HTTP(..) == src-list-format-7.html src-list-format-3-ref.html
-== src-list-local-full.html src-list-local-full-ref.html
-== src-list-local-full-quotes.html src-list-local-full-ref.html
+fails-if(Android) == src-list-local-full.html src-list-local-full-ref.html
+fails-if(Android) == src-list-local-full-quotes.html src-list-local-full-ref.html
 HTTP(..) == src-list-local-fallback.html src-list-local-fallback-ref.html
 
 # localized full fontnames should *not* match, only English ones (need locale-invariant key)
 skip HTTP(..) == src-list-local-localized.html src-list-local-localized-ref.html # 486787, 486497
 
 # Postscript name lookup only supported on MacOS/Windows currently
-random-if(gtk2Widget) == src-list-local-ps.html src-list-local-full-ref.html
+fails-if(Android) random-if(gtk2Widget) == src-list-local-ps.html src-list-local-full-ref.html
 # Mac-specific test of 100 weight faces
 random-if(!cocoaWidget) == helveticaneue-ultra.html helveticaneue-ultra-ref.html
 
 # FIXME: The behavior here is neither mandated nor specified by the spec, but
 # it really ought to be.
 HTTP(..) == order-1.html order-1-ref.html
 fails HTTP(..) == order-2.html order-2-ref.html # bug 465414
 fails HTTP(..) == order-3.html order-3-ref.html # bug 465414
@@ -80,17 +80,17 @@ HTTP(..) == ahem-metrics-1.html ahem-met
 HTTP(..) == ex-unit-1.html ex-unit-1-ref.html
 HTTP(..) == ex-unit-1-dynamic.html ex-unit-1-ref.html
 
 # bug 493976 - for some reason the Arabic tests below cause Tinderbox timeouts
 # Arabic support requires AAT fonts under Mac OS, OpenType otherwise
 # random-if(!cocoaWidget) HTTP(..) == src-format-arabic.html src-format-arabic-aat-ref.html
 # random-if(cocoaWidget) HTTP(..) == src-format-arabic.html src-format-arabic-ot-ref.html
 
-== local-1.html local-1-ref.html
+fails-if(Android) == local-1.html local-1-ref.html
 HTTP(..) == synthetic-weight-style.html synthetic-weight-style-ref.html
 HTTP(..) == synthetic-variations.html synthetic-variations-ref.html
 
 # Leak test
 HTTP(..) load 486974-1.html
 
 # compare fonts with and without bad head checksum
 HTTP(..) == load-badchecksum.html load-badchecksum-ref.html
@@ -99,17 +99,17 @@ HTTP(..) == load-badchecksum.html load-b
 HTTP(..) == load-badfullname.html load-badfullname-ref.html
 
 # 507960-1-* : a collection of tests using DeLarge from openfontlibrary.org
 # check that the original DeLarge face (ttf) loads; if this fails,
 # none of the following tests are meaningful
 HTTP(..) != 507960-1-nofont.html 507960-1-ref.html
 # check that the WOFF version loads, with and without a format hint
 HTTP(..) == 507960-1-woff.html 507960-1-ref.html
-HTTP(..) == 507960-1-woff-hint.html 507960-1-ref.html
+fails-if(Android) HTTP(..) == 507960-1-woff-hint.html 507960-1-ref.html
 # try damaged fonts that should still load (bad checksums)
 HTTP(..) == 507960-1-bad-checksums-ttf.html 507960-1-ref.html
 HTTP(..) == 507960-1-bad-checksums-woff.html 507960-1-ref.html
 # try versions that should NOT load (bad offsets, signatures, hint)
 HTTP(..) != 507960-1-bad-sfnt-version-ttf.html 507960-1-ref.html
 HTTP(..) != 507960-1-bad-sfnt-version-woff.html 507960-1-ref.html
 HTTP(..) != 507960-1-bad-woff-sig.html 507960-1-ref.html
 HTTP(..) != 507960-1-bad-offset-woff.html 507960-1-ref.html
@@ -118,11 +118,11 @@ HTTP(..) != 507960-1-woff-bad-hint.html 
 # Tests for bug 523717
 HTTP(..) == underline-offset-change-1.html underline-offset-change-1-ref.html
 HTTP(..) == underline-offset-change-2.html underline-offset-change-2-ref.html
 fails-if(cocoaWidget) fails-if(winWidget) HTTP(..) != underline-offset-change-1-ref.html underline-offset-change-2-ref.html # Bug 534132
 
 HTTP(..) != 534352-1-extra-cmap-sentinel.html 534352-1-extra-cmap-sentinel-ref.html
 HTTP(..) == bug533251.html bug533251-ref.html
 
-HTTP(..) == ivs-1.html ivs-1-ref.html
+fails-if(Android) HTTP(..) == ivs-1.html ivs-1-ref.html
 
 HTTP(..) == missing-names.html missing-names-ref.html
--- a/layout/reftests/font-features/reftest.list
+++ b/layout/reftests/font-features/reftest.list
@@ -2,23 +2,23 @@
 #
 # These rely on the Linux Libertine font (loaded via @font-face)
 # to ensure that features are present.
 
 # Feature support is currently enabled only on Mac OS X by default
 
 # check that Turkish language causes a change in rendering (no fi ligature)
 # (also works via Pango)
-HTTP(..) != font-features-turkish.html font-features-ref.html
+fails-if(Android) HTTP(..) != font-features-turkish.html font-features-ref.html
 
 # check that disabling ligatures causes a change
-HTTP(..) != font-features-noliga.html font-features-ref.html
+fails-if(Android) HTTP(..) != font-features-noliga.html font-features-ref.html
 
 # check that enabling optional ligatures causes a change
-HTTP(..) != font-features-hlig.html font-features-ref.html
+fails-if(Android) HTTP(..) != font-features-hlig.html font-features-ref.html
 
 # compare Turkish rendering with reference using ZWNJ to break the ligature
 # (also works via Pango)
 fails-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) HTTP(..) == font-features-turkish.html font-features-turkish-ref.html
 
 # compare Turkish rendering with explicitly disabled ligatures
 HTTP(..) == font-features-turkish.html font-features-noliga.html
 
--- a/layout/reftests/font-matching/reftest.list
+++ b/layout/reftests/font-matching/reftest.list
@@ -6,17 +6,17 @@
 
 # synthetic bold/italic tests
 != defaultfont-bold.html defaultfont.html
 != defaultfont-italic.html defaultfont.html 
 != defaultfont-oblique.html defaultfont.html 
 != defaultfont-bolditalic.html defaultfont.html 
 != defaultfont-bolditalic.html defaultfont-bold.html
 
-!= defaultjapanese-bold.html defaultjapanese.html
+fails-if(Android) != defaultjapanese-bold.html defaultjapanese.html
 != defaultjapanese-italic.html defaultjapanese.html
 != defaultjapanese-oblique.html defaultjapanese.html
 != defaultjapanese-bolditalic.html defaultjapanese.html
 != defaultjapanese-bolditalic.html defaultjapanese-bold.html
 
 random-if(cocoaWidget) != impact-bold.html impact.html # bug 539418
 != impact-italic.html impact.html
 != impact-oblique.html impact.html
--- a/layout/reftests/forms/reftest.list
+++ b/layout/reftests/forms/reftest.list
@@ -1,30 +1,30 @@
 
 == checkbox-label-dynamic.html checkbox-label-dynamic-ref.html
-== checkbox-radio-stretched.html checkbox-radio-stretched-ref.html # test for bug 464589
+fails-if(Android) == checkbox-radio-stretched.html checkbox-radio-stretched-ref.html # test for bug 464589
 
 == input-file-width-clip-1.html input-file-width-clip-ref.html # test for bug 409587
 == input-hidden-border.html about:blank
 == input-text-size-1.html input-text-size-1-ref.html
-== input-text-size-2.html input-text-size-2-ref.html
+fails-if(Android) == input-text-size-2.html input-text-size-2-ref.html
 HTTP(..) == input-text-baseline-1.html input-text-baseline-1-ref.html
 HTTP(..) == input-text-centering-1.xul input-text-centering-1-ref.xul
-HTTP(..) == text-control-baseline-1.html text-control-baseline-1-ref.html
+fails-if(Android) HTTP(..) == text-control-baseline-1.html text-control-baseline-1-ref.html
 == input-text-dynamic-height-1.xul input-text-dynamic-height-1-ref.xul
 == textbox-align-baseline-1.xul textbox-align-baseline-1-ref.xul # test for bug 494901
-== textbox-setsize.xul textbox-setsize-ref.xul
-== textarea-resize.html textarea-resize-ref.html
+fails-if(Android) == textbox-setsize.xul textbox-setsize-ref.xul
+fails-if(Android) == textarea-resize.html textarea-resize-ref.html
 # an offset seems to apply to the native resizer on windows so skip this test for now
-skip-if(winWidget) == textarea-resize-background.html textarea-resize-background-ref.html
-!= textarea-ltr.html textarea-rtl.html
-!= textarea-ltr-scrollbar.html textarea-rtl-scrollbar.html
-!= textarea-in-ltr-doc-scrollbar.html textarea-in-rtl-doc-scrollbar.html
-!= textarea-ltr.html textarea-no-resize.html
-!= textarea-rtl.html textarea-no-resize.html
+fails-if(Android) skip-if(winWidget) == textarea-resize-background.html textarea-resize-background-ref.html
+fails-if(Android) != textarea-ltr.html textarea-rtl.html
+fails-if(Android) != textarea-ltr-scrollbar.html textarea-rtl-scrollbar.html
+fails-if(Android) != textarea-in-ltr-doc-scrollbar.html textarea-in-rtl-doc-scrollbar.html
+fails-if(Android) != textarea-ltr.html textarea-no-resize.html
+fails-if(Android) != textarea-rtl.html textarea-no-resize.html
 == textarea-rtl.html textarea-rtl-dynamic-attr.html
 == textarea-rtl.html textarea-rtl-dynamic-style.html
 == textarea-rtl.html textarea-in-dynamic-rtl-doc.html
 == textarea-setvalue-framereconstruction-1.html textarea-setvalue-framereconstruction-ref.html
 
 == radio-label-dynamic.html radio-label-dynamic-ref.html
 == out-of-bounds-selectedindex.html out-of-bounds-selectedindex-ref.html # test for bug 471741
 != indeterminate-checked.html indeterminate-checked-notref.html
--- a/layout/reftests/image-element/reftest.list
+++ b/layout/reftests/image-element/reftest.list
@@ -1,11 +1,11 @@
 == bug-364968.html bug-364968-ref.html
 == bug-463204.html bug-463204-ref.html
-== canvas-outside-document.html canvas-inside-document.html
+fails-if(Android) == canvas-outside-document.html canvas-inside-document.html
 == mozsetimageelement-01.html mozsetimageelement-01-ref.html
 == mozsetimageelement-02.html about:blank
 == image-outside-document-invalidate.html about:blank
 == canvas-outside-document-invalidate-01.html about:blank
 == canvas-outside-document-invalidate-02.html about:blank
 == element-paint-simple.html element-paint-simple-ref.html
 == element-paint-repeated.html element-paint-repeated-ref.html
 == element-paint-recursion.html element-paint-recursion-ref.html
@@ -15,20 +15,20 @@ random-if(d2d) == element-paint-transfor
 == element-paint-background-size-01.html element-paint-background-size-01-ref.html
 == element-paint-background-size-02.html element-paint-background-size-02-ref.html
 == element-paint-transform-repeated.html element-paint-transform-repeated-ref.html
 == element-paint-transform-03.html element-paint-transform-03-ref.html
 == element-paint-native-widget.html element-paint-native-widget-ref.html
 == element-paint-subimage-sampling-restriction.html about:blank
 == element-paint-clippath.html element-paint-clippath-ref.html
 == element-paint-sharpness-01a.html element-paint-sharpness-01b.html
-== element-paint-sharpness-01b.html element-paint-sharpness-01c.html
+fails-if(Android) == element-paint-sharpness-01b.html element-paint-sharpness-01c.html
 == element-paint-sharpness-01c.html element-paint-sharpness-01d.html
 == element-paint-sharpness-02a.html element-paint-sharpness-02b.html
-== element-paint-sharpness-02b.html element-paint-sharpness-02c.html
+fails-if(Android) == element-paint-sharpness-02b.html element-paint-sharpness-02c.html
 == element-paint-paintserversize-rounding-01.html element-paint-paintserversize-rounding-01-ref.html
 == element-paint-paintserversize-rounding-02.html element-paint-paintserversize-rounding-02-ref.html
 == element-paint-multiple-backgrounds-01a.html element-paint-multiple-backgrounds-01-ref.html
 == element-paint-multiple-backgrounds-01b.html element-paint-multiple-backgrounds-01-ref.html
 == element-paint-multiple-backgrounds-01c.html element-paint-multiple-backgrounds-01-ref.html
 == gradient-html-01.html gradient-html-01-ref.svg
 == gradient-html-02.html gradient-html-02-ref.svg
 random-if(!cocoaWidget) == gradient-html-03.html gradient-html-03-ref.svg
--- a/layout/reftests/image/reftest.list
+++ b/layout/reftests/image/reftest.list
@@ -1,3 +1,3 @@
-== background-image-zoom-1.html background-image-zoom-1-ref.html
-== image-zoom-1.html image-zoom-1-ref.html
+fails-if(Android) == background-image-zoom-1.html background-image-zoom-1-ref.html
+fails-if(Android) == image-zoom-1.html image-zoom-1-ref.html
 == invalid-url-image-1.html invalid-url-image-1-ref.html
--- a/layout/reftests/native-theme/reftest.list
+++ b/layout/reftests/native-theme/reftest.list
@@ -20,31 +20,31 @@ fails-if(!nativeThemePref) != button-nat
 fails-if(!nativeThemePref) != combobox-native.html combobox-nonnative.html
 == combobox-nonnative-when-styled.html combobox-nonnative-when-styled-ref.html
 fails-if(!nativeThemePref) != listbox-native.html listbox-nonnative.html
 == listbox-nonnative-when-styled.html listbox-nonnative-when-styled-ref.html
 fails-if(!nativeThemePref) != radio-native.html radio-nonnative.html
 == radio-still-native-when-styled.html radio-still-native-when-styled-ref.html
 fails-if(!nativeThemePref) != checkbox-native.html checkbox-nonnative.html
 == checkbox-still-native-when-styled.html checkbox-still-native-when-styled-ref.html
-== native-theme-disabled-cascade-levels.html native-theme-disabled-cascade-levels-ref.html
+fails-if(Android) == native-theme-disabled-cascade-levels.html native-theme-disabled-cascade-levels-ref.html
 
 != 427122-1.html 427122-1-ref.html
 
 # 403458 is a Windows-only bug
 skip-if(!winWidget) != 403458-winmenu-ltr.xul 403458-winmenu-rtl.xul
 
 == 470711-1.xul 470711-1-ref.xul
 
 == 482955-1.xul 482955-1-ref.xul
 
 == 492155-1.html about:blank
 == 492155-2.html about:blank
 == 492155-3.html about:blank
-!= 492155-4.html about:blank
+fails-if(Android) != 492155-4.html about:blank
 
 != box-shadow-input.html box-shadow-input-ref.html
 != box-shadow-button.html box-shadow-button-ref.html
 != box-shadow-listbox.html box-shadow-listbox-ref.html
 != box-shadow-combobox.html box-shadow-combobox-ref.html
 
 # RTL mirroring tests
 == checkbox-not-mirrored-when-rtl.html checkbox-not-mirrored-when-rtl-ref.html
--- a/layout/reftests/object/reftest.list
+++ b/layout/reftests/object/reftest.list
@@ -1,17 +1,17 @@
 == no-attrs.html no-attrs-ref.html
 HTTP == 404-data.html 404-data-ref.html
 HTTP == 404-data-with-type.html 404-data-with-type-ref.html
 == page-as-data.html page-as-data-ref.html
 == page-as-data-with-type.html page-as-data-with-type-ref.html
 == connection-refused.html connection-refused-ref.html
 == image.html image-ref.html
 == image-with-type.html image-with-type-ref.html
-== image-no-useful-extension-typesniff.html image-no-useful-extension-typesniff-ref.html
+fails-if(Android) == image-no-useful-extension-typesniff.html image-no-useful-extension-typesniff-ref.html
 == image-no-useful-extension-with-type.html image-no-useful-extension-with-type-ref.html
 #
 # This test must be run on an HTTP server because it relies on the HTTP
 # Content-Type overriding the type specified by the attribute on the object,
 # but when run from a local file the type attribute will override the
 # content-sniffed assumed type (text/html based entirely on the extension).
 #
 HTTP == type-overridden-by-server.html type-overridden-by-server-ref.html
--- a/layout/reftests/ogg-video/reftest.list
+++ b/layout/reftests/ogg-video/reftest.list
@@ -1,33 +1,34 @@
-HTTP(..) == aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
-HTTP(..) == aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
-skip-if(gtk2Widget) HTTP(..) == aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
-skip-if(gtk2Widget) HTTP(..) == aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
+fails-if(Android) HTTP(..) == aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
+fails-if(Android) HTTP(..) == aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
+fails-if(Android) skip-if(gtk2Widget) HTTP(..) == aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
+fails-if(Android) skip-if(gtk2Widget) HTTP(..) == aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
 HTTP(..) == aspect-ratio-3a.xhtml aspect-ratio-3-ref.xhtml
 HTTP(..) == aspect-ratio-3b.xhtml aspect-ratio-3-ref.xhtml
-random-if(layersGPUAccelerated) fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu))  == encoded-aspect-ratio-1.html encoded-aspect-ratio-1-ref.html # bug 623460 for WinXP
-HTTP(..) == basic-1.xhtml basic-1-ref.html
-HTTP(..) == canvas-1a.xhtml basic-1-ref.html
-HTTP(..) == canvas-1b.xhtml basic-1-ref.html
+fails-if(Android) random-if(layersGPUAccelerated) fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu))  == encoded-aspect-ratio-1.html encoded-aspect-ratio-1-ref.html # bug 623460 for WinXP
+fails-if(Android) HTTP(..) == basic-1.xhtml basic-1-ref.html
+skip-if(Android) HTTP(..) == canvas-1a.xhtml basic-1-ref.html
+fails-if(Android) HTTP(..) == canvas-1b.xhtml basic-1-ref.html
 == clipping-1a.html clipping-1-ref.html
 == empty-1a.html empty-1-ref.html
 == empty-1b.html empty-1-ref.html
-random HTTP(..) == object-aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
-random HTTP(..) == object-aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
-HTTP(..) == offset-1.xhtml offset-1-ref.html
-random HTTP(..) == object-aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
-random HTTP(..) == object-aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
-skip-if(gtk2Widget) HTTP(..) == zoomed-1.xhtml zoomed-1-ref.html
-== poster-1.html poster-ref-blue250x200.html
-== poster-2.html poster-ref-black140x100.html
-== poster-3.html poster-ref-black140x100.html
-== poster-4.html poster-ref-black140x100.html
-== poster-5.html poster-ref-black140x100.html
-== poster-6.html poster-ref-black140x100.html
-== poster-7.html poster-ref-red160x120.html
-== poster-8.html poster-ref-black140x100.html
-== poster-10.html poster-ref-blue250x200.html
-== poster-11.html poster-ref-blue250x200.html
-== poster-12.html poster-ref-blue250x200.html
-== poster-13.html poster-ref-blue400x300.html
-== poster-14.html poster-ref-blue250x200.html
-== poster-15.html poster-ref-green70x30.html
+#these is skipped because we hang on the htmlparser tests when this is ran
+random skip-if(Android) HTTP(..) == object-aspect-ratio-1a.xhtml aspect-ratio-1-ref.html
+random skip-if(Android) HTTP(..) == object-aspect-ratio-1b.xhtml aspect-ratio-1-ref.html
+skip-if(Android) HTTP(..) == offset-1.xhtml offset-1-ref.html
+random skip-if(Android) HTTP(..) == object-aspect-ratio-2a.xhtml aspect-ratio-2-ref.html
+random skip-if(Android) HTTP(..) == object-aspect-ratio-2b.xhtml aspect-ratio-2-ref.html
+skip-if(Android) skip-if(gtk2Widget) HTTP(..) == zoomed-1.xhtml zoomed-1-ref.html
+skip-if(Android) == poster-1.html poster-ref-blue250x200.html
+skip-if(Android) == poster-2.html poster-ref-black140x100.html
+skip-if(Android) == poster-3.html poster-ref-black140x100.html
+skip-if(Android) == poster-4.html poster-ref-black140x100.html
+skip-if(Android) == poster-5.html poster-ref-black140x100.html
+skip-if(Android) == poster-6.html poster-ref-black140x100.html
+skip-if(Android) == poster-7.html poster-ref-red160x120.html
+skip-if(Android) == poster-8.html poster-ref-black140x100.html
+skip-if(Android) == poster-10.html poster-ref-blue250x200.html
+skip-if(Android) == poster-11.html poster-ref-blue250x200.html
+skip-if(Android) == poster-12.html poster-ref-blue250x200.html
+skip-if(Android) == poster-13.html poster-ref-blue400x300.html
+skip-if(Android) == poster-14.html poster-ref-blue250x200.html
+skip-if(Android) == poster-15.html poster-ref-green70x30.html
--- a/layout/reftests/selection/reftest.list
+++ b/layout/reftests/selection/reftest.list
@@ -21,12 +21,12 @@
 == extend-3f.html extend-3-ref.html
 == extend-3g.html extend-3-ref.html
 == extend-3h.html extend-3-ref.html
 == extend-3i.html extend-3-ref.html
 == extend-4a.html extend-4-ref.html
 == extend-4b.html extend-4-ref.html
 != pseudo-element-of-native-anonymous.html pseudo-element-of-native-anonymous-ref.html
 # These tests uses Highlight and HighlightText color keywords, they are not same as text selection color on Mac.
-fails-if(cocoaWidget) == non-themed-widget.html non-themed-widget-ref.html
-fails-if(cocoaWidget) == themed-widget.html themed-widget-ref.html
+fails-if(Android) fails-if(cocoaWidget) == non-themed-widget.html non-themed-widget-ref.html
+fails-if(Android) fails-if(cocoaWidget) == themed-widget.html themed-widget-ref.html
 == addrange-1.html addrange-ref.html
 == addrange-2.html addrange-ref.html
--- a/layout/reftests/svg/as-image/reftest.list
+++ b/layout/reftests/svg/as-image/reftest.list
@@ -26,19 +26,19 @@ include zoom/reftest.list
 == border-image-simple-2.html       lime100x100-ref.html
 
 # Test for canvas "drawImage" method
 # NOTE: The canvas reftests that involve scaling currently fail with fuzziness
 # on various edges, as noted below. These will be fixed in followup bugs.
 == canvas-drawImage-simple-1a.html lime100x100-ref.html
 == canvas-drawImage-simple-1b.html lime100x100-ref.html
 
-fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1a.html lime100x100-ref.html # XXX top & left edges fuzzy
-fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1b.html lime100x100-ref.html # XXX top & left edges fuzzy
-fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1c.html lime100x100-ref.html # XXX all edges fuzzy
+fails-if(Android) fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1a.html lime100x100-ref.html # XXX top & left edges fuzzy
+fails-if(Android) fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1b.html lime100x100-ref.html # XXX top & left edges fuzzy
+fails-if(Android) fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1c.html lime100x100-ref.html # XXX all edges fuzzy
 
 fails == canvas-drawImage-scale-2a.html canvas-drawImage-scale-2-ref.html # XXX all edges fuzzy
 fails == canvas-drawImage-scale-2b.html canvas-drawImage-scale-2-ref.html # XXX all edges fuzzy
 
 == canvas-drawImage-slice-1a.html lime100x100-ref.html
 fails == canvas-drawImage-slice-1b.html lime100x100-ref.html # XXX all edges fuzzy
 
 # Simple <img> tests
@@ -48,40 +48,40 @@ fails-if(d2d) == img-simple-3.html  img-
 == img-simple-4.html  lime100x100-ref.html
 fails-if(d2d) == img-simple-5.html  img-simple-5-ref.html # bug 633072
 == img-simple-6.html  lime100x100-ref.html
 fails-if(d2d) == img-simple-7.html  img-simple-7-ref.html # bug 633072
 
 # Test with mix of <html:img> and <svg:image> referring to the same images,
 # with a variety of preserveAspectRatio values in play.
 # NOTE: The reference cases in this test triggers 72 assertions (bug 563481)
-asserts(72) == img-and-image-1.html img-and-image-1-ref.svg
+fails-if(Android) asserts(72) == img-and-image-1.html img-and-image-1-ref.svg
 
 # More complex <img> tests
 random-if(gtk2Widget) == img-anim-1.html  lime100x100-ref.html # bug 612214
 == img-content-outside-viewBox-1.html img-content-outside-viewBox-1-ref.html
 == img-dyn-1.html img-dyn-1-ref.html
 == img-foreignObject-1.html lime100x100-ref.html
 == img-foreignObject-embed-1.html lime100x100-ref.html
 == img-foreignObject-embed-2.html lime100x100-ref.html
 
-fails-if(d2d) == img-widthAndHeight-meet-1.html  img-widthAndHeight-meet-1-ref.html # bug 633072
-== img-widthAndHeight-meet-2.html  img-widthAndHeight-meet-2-ref.html
-fails-if(d2d) == img-widthAndHeight-slice-1.html img-widthAndHeight-slice-1-ref.html # bug 633072
-fails-if(d2d) == img-widthAndHeight-slice-2.html img-widthAndHeight-slice-2-ref.html # bug 633072
+fails-if(Android) fails-if(d2d) == img-widthAndHeight-meet-1.html  img-widthAndHeight-meet-1-ref.html # bug 633072
+fails-if(Android) == img-widthAndHeight-meet-2.html  img-widthAndHeight-meet-2-ref.html
+fails-if(Android) fails-if(d2d) == img-widthAndHeight-slice-1.html img-widthAndHeight-slice-1-ref.html # bug 633072
+fails-if(Android) fails-if(d2d) == img-widthAndHeight-slice-2.html img-widthAndHeight-slice-2-ref.html # bug 633072
 
 fails-if(d2d) == img-height-meet-1.html   img-height-meet-1-ref.html # bug 633072
-== img-height-meet-2.html   img-height-meet-2-ref.html
+fails-if(Android) == img-height-meet-2.html   img-height-meet-2-ref.html
 fails-if(d2d) == img-height-slice-1.html  img-height-slice-1-ref.html # bug 633072
-== img-height-slice-2.html  img-height-slice-2-ref.html
+fails-if(Android) == img-height-slice-2.html  img-height-slice-2-ref.html
 
 fails-if(d2d) == img-width-meet-1.html   img-width-meet-1-ref.html # bug 633072
-== img-width-meet-2.html   img-width-meet-2-ref.html
+fails-if(Android) == img-width-meet-2.html   img-width-meet-2-ref.html
 fails-if(d2d) == img-width-slice-1.html  img-width-slice-1-ref.html # bug 633072
-== img-width-slice-2.html  img-width-slice-2-ref.html
+fails-if(Android) == img-width-slice-2.html  img-width-slice-2-ref.html
 
 # Alternate version of "width & height both non-%-valued" tests, but now
 # with no explicit viewBox, to trigger "synthesize-viewBox" behavior
 fails-if(d2d) == img-novb-widthAndHeight-meet-1-em.html  img-novb-widthAndHeight-all-1-ref.html # bug 633072
 fails-if(d2d) == img-novb-widthAndHeight-meet-1-px.html  img-novb-widthAndHeight-all-1-ref.html # bug 633072
 fails-if(d2d) == img-novb-widthAndHeight-slice-1-em.html img-novb-widthAndHeight-all-1-ref.html # bug 633072
 fails-if(d2d) == img-novb-widthAndHeight-slice-1-px.html img-novb-widthAndHeight-all-1-ref.html # bug 633072
 
@@ -102,14 +102,14 @@ fails-if(d2d) == img-novb-width-slice-1.
 == svg-image-recursive-1a.svg  svg-image-recursive-1-ref.svg
 == svg-image-recursive-1b.svg  svg-image-recursive-1-ref.svg
 == svg-image-recursive-2a.svg  svg-image-recursive-2-ref.svg
 == svg-image-recursive-2b.html svg-image-recursive-2-ref.svg
 
 # tests for external resources vs. data URIs in SVG as an image
 == svg-image-datauri-1.html            lime100x100.svg
 HTTP == svg-image-datauri-1.html       lime100x100.svg
-== svg-image-external-1.html           lime100x100.svg
+fails-if(Android) == svg-image-external-1.html           lime100x100.svg
 HTTP == svg-image-external-1.html      blue100x100.svg
 == svg-stylesheet-datauri-1.html       lime100x100.svg
 HTTP == svg-stylesheet-datauri-1.html  lime100x100.svg
 random == svg-stylesheet-external-1.html      lime100x100.svg # see bug 629885 comment 9
 HTTP == svg-stylesheet-external-1.html blue100x100.svg
--- a/layout/reftests/svg/moz-only/reftest.list
+++ b/layout/reftests/svg/moz-only/reftest.list
@@ -10,12 +10,12 @@ fails == xbl-grad-ref--grad-in-bound-02.
 fails == xbl-grad-ref--grad-in-resources-01.svg pass.svg
 fails == xbl-grad-ref--grad-in-resources-02.svg pass.svg
 == xbl-grad-ref--grad-in-binding-03.svg         pass.svg
 == xbl-grad-ref--grad-in-bound-03.svg           pass.svg
 == xbl-grad-ref--grad-in-binding-04.svg         pass.svg
 == xbl-grad-ref--grad-in-bound-04.svg           pass.svg
 
 # Tests for zooming with the full page zoom UI
-== feImage-zoom-01a.svg                         feImage-zoom-01-ref.svg
-== feImage-zoom-01b.svg                         feImage-zoom-01-ref.svg
+fails-if(Android) == feImage-zoom-01a.svg                         feImage-zoom-01-ref.svg
+fails-if(Android) == feImage-zoom-01b.svg                         feImage-zoom-01-ref.svg
 == foreignObject-zoom-01.svg                    pass.svg
 skip == zoomed-svg-with-viewBox-01.svg          zoomed-svg-with-viewBox-01-ref.svg
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -183,18 +183,18 @@ random-if(gtk2Widget) == text-font-weigh
 asserts(3) == symbol-01.svg symbol-01-ref.svg # see bug 563481
 == text-gradient-01.svg text-gradient-01-ref.svg
 random-if(winWidget) == text-gradient-02.svg text-gradient-02-ref.svg # see bug 590101
 == text-gradient-03.svg pass.svg
 == text-in-link-01.svg text-in-link-01-ref.svg
 == text-in-link-02.svg text-in-link-02-ref.svg
 == text-in-link-03.svg text-in-link-03-ref.svg
 # Tests for bug 546813: sanity-check using HTML text, then test SVG behavior.
-!= text-language-00.xhtml text-language-00-ref.xhtml
-random-if(gtk2Widget) != text-language-01.xhtml text-language-01-ref.xhtml # Fails on Linux tryserver due to lack of CJK fonts.
+fails-if(Android) != text-language-00.xhtml text-language-00-ref.xhtml
+fails-if(Android) random-if(gtk2Widget) != text-language-01.xhtml text-language-01-ref.xhtml # Fails on Linux tryserver due to lack of CJK fonts.
 == text-layout-01.svg text-layout-01-ref.svg
 == text-layout-02.svg text-layout-02-ref.svg
 == text-layout-03.svg text-layout-03-ref.svg
 == text-scale-01.svg text-scale-01-ref.svg
 == text-stroke-scaling-01.svg text-stroke-scaling-01-ref.svg
 == text-style-01a.svg text-style-01-ref.svg
 == text-style-01b.svg text-style-01-ref.svg
 == text-style-01c.svg text-style-01-ref.svg
--- a/layout/reftests/svg/sizing/reftest.list
+++ b/layout/reftests/svg/sizing/reftest.list
@@ -286,17 +286,17 @@ HTTP(../..) == inline--position-relative
 == object--auto-auto--0-pct.html        object--auto-auto--0-pct--ref.html
 == object--auto-auto--0-px.html         object--auto-auto--0-px--ref.html
 == object--auto-auto--pct-0.html        object--auto-auto--pct-0--ref.html
 # The following four commented out tests fail post bug 428023:
 #== object--auto-auto--pct-pct.html      object--auto-auto--pct-pct--ref.html
 #== object--auto-auto--pct-px.html       object--auto-auto--pct-px--ref.html
 == object--auto-auto--px-0.html         object--auto-auto--px-0--ref.html
 #== object--auto-auto--px-pct.html       object--auto-auto--px-pct--ref.html
-== object--auto-auto--px-px.html        object--auto-auto--px-px--ref.html
+random-if(Android) == object--auto-auto--px-px.html        object--auto-auto--px-px--ref.html
 #== object--pct-pct--0-0.html            pass.svg
 
 
 # Assorted tests to check that dynamic changes work correctly
 #
 # Here we have an assortment of different tests to check that updates occur
 # correctly when changes are made that should result in a change in the size
 # or position of the SVG.
--- a/layout/reftests/svg/smil/event/reftest.list
+++ b/layout/reftests/svg/smil/event/reftest.list
@@ -1,16 +1,16 @@
 # Tests related to SVG Animation (using SMIL) that use event timing.
 
 == event-begin-1.svg green-box-ref.svg
 == event-begin-offset-1.svg green-box-ref.svg
 == event-begin-offset-2.svg green-box-ref.svg
 == event-begin-timeevent-1.svg green-box-ref.svg
 == event-begin-timeevent-2.svg green-box-ref.svg
-== event-begin-timeevent-3.svg green-box-ref.svg
+random-if(Android) == event-begin-timeevent-3.svg green-box-ref.svg
 == event-begin-load-1.svg green-box-ref.svg
 == event-bubble-1.svg green-box-ref.svg
 == event-custom-1.svg green-box-ref.svg
 == event-end-1.svg green-box-ref.svg
 == event-end-2.svg green-box-ref.svg
 == event-end-open-1.svg green-box-ref.svg
 == event-end-trimmed-1.svg green-box-ref.svg
 == event-preventDefault-1.svg green-box-ref.svg
--- a/layout/reftests/svg/svg-integration/reftest.list
+++ b/layout/reftests/svg/svg-integration/reftest.list
@@ -18,10 +18,10 @@
 == dynamic-conditions-outer-svg-03.xhtml ../pass.svg
 == dynamic-conditions-outer-svg-04.xhtml ../pass.svg
 == filter-html-01.xhtml filter-html-01-ref.svg
 == filter-html-01-extref.xhtml filter-html-01-ref.svg
 == filter-html-zoomed-01.xhtml filter-html-01-ref.svg
 == mask-html-01.xhtml mask-html-01-ref.svg
 == mask-html-01-extref-01.xhtml mask-html-01-ref.svg
 == mask-html-01-extref-02.xhtml mask-html-01-ref.svg
-== mask-html-zoomed-01.xhtml mask-html-01-ref.svg
+fails-if(Android) == mask-html-zoomed-01.xhtml mask-html-01-ref.svg
 == mask-html-xbl-bound-01.html mask-html-01-ref.svg
--- a/layout/reftests/text-decoration/reftest.list
+++ b/layout/reftests/text-decoration/reftest.list
@@ -12,15 +12,15 @@ fails == underline-block-propagation-2-q
 != underline-block-standards.html underline-block-standards-notref.html
 == underline-inline-block-standards.html underline-inline-block-standards-ref.html
 != underline-inline-block-standards.html underline-inline-block-standards-notref.html
 == underline-table-caption-standards.html underline-table-caption-standards-ref.html
 != underline-table-caption-standards.html underline-table-caption-standards-notref.html
 == underline-table-cell-standards.html underline-table-cell-standards-ref.html
 != underline-table-cell-standards.html underline-table-cell-standards-notref.html
 fails == underline-block-propagation-standards.html underline-block-propagation-standards-ref.html # bug that decoration is drawn through non-text child (bug 428599)
-fails-if(d2d) == underline-block-propagation-2-standards.html underline-block-propagation-2-standards-ref.html # bug 585684
+fails-if(Android) fails-if(d2d) == underline-block-propagation-2-standards.html underline-block-propagation-2-standards-ref.html # bug 585684
 == text-decoration-zorder-1-standards.html text-decoration-zorder-1-ref.html
 fails == text-decoration-zorder-1-quirks.html text-decoration-zorder-1-ref.html # bug 403524
 == table-quirk-1.html table-quirk-1-ref.html
 == table-quirk-2.html table-quirk-2-ref.html
 == text-decoration-propagation-1-quirks.html text-decoration-propagation-1-quirks-ref.html
 fails == text-decoration-propagation-1-standards.html text-decoration-propagation-1-standards-ref.html
--- a/layout/reftests/text-shadow/reftest.list
+++ b/layout/reftests/text-shadow/reftest.list
@@ -1,10 +1,10 @@
 == basic.xul basic-ref.xul
-== basic-negcoord.xul basic-negcoord-ref.xul
+random-if(Android) == basic-negcoord.xul basic-negcoord-ref.xul
 != blur.xul blur-notref.xul
 == color-inherit.xul color-inherit-ref.xul
 == multiple-noblur.xul multiple-noblur-ref.xul
 
 == basic.html basic-ref.html
 == basic-negcoord.html basic-negcoord-ref.html
 != blur.html blur-notref.html
 == color-inherit.html color-inherit-ref.html
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -1,12 +1,12 @@
-== fallback-01.xhtml fallback-01-ref.xhtml
+fails-if(Android) == fallback-01.xhtml fallback-01-ref.xhtml
 == font-selection-by-lang-01.html font-selection-by-lang-01-ref.html
 fails-if(gtk2Widget) HTTP(..) == font-selection-generic-1.html font-selection-generic-1-ref.html # reviewed patch in bug 546315
-!= font-size-adjust-01.html font-size-adjust-01-ref.html
+fails-if(Android) != font-size-adjust-01.html font-size-adjust-01-ref.html
 # The following test passes consistently only on Mac OS X;
 # both Windows and Linux give results that vary depending on the font size/zoom factor used,
 # because hinting affects the metrics used to compute the font size adjustment. See bug 429605.
 random-if(!cocoaWidget) == font-size-adjust-02.html font-size-adjust-02-ref.html
 # This currently fails because line spacing does not respect font-size-adjust
 # in the "obvious" way, but it is unclear what the behavior should really be;
 # see bug #366138 for some (inconclusive) discussion
 # == font-size-adjust-03.html font-size-adjust-03-ref.html
@@ -27,27 +27,27 @@ load ligature-with-space-1.html
 == pre-line-3.html pre-line-3-ref.html
 == pre-line-4.html pre-line-4-ref.html
 == soft-hyphens-1a.html soft-hyphens-1-ref.html
 == soft-hyphens-1b.html soft-hyphens-1-ref.html
 == soft-hyphens-1c.html soft-hyphens-1-ref.html
 # Cairo's FreeType and GDI backends snap glyphs to pixels, while Mac (usually)
 # and D2D have subpixel positioning.  The tests for pixel-snapping assume that
 # 1 CSS pixel == 1 device pixel
-skip-if(d2d||cocoaWidget) == subpixel-glyphs-x-1a.html subpixel-glyphs-x-1b.html
+fails-if(Android) skip-if(d2d||cocoaWidget) == subpixel-glyphs-x-1a.html subpixel-glyphs-x-1b.html
 # Platforms with subpixel positioning already have inconsistent glyphs by
 # design, but that is considered more tolerable because they are subpixel
 # inconsistencies.  On those platforms we just test that glyph positions are
 # subpixel.
 skip-if(!(d2d||cocoaWidget)) != subpixel-glyphs-x-2a.html subpixel-glyphs-x-2b.html
 # No platforms do subpixel positioning vertically
 == subpixel-glyphs-y-1a.html subpixel-glyphs-y-1b.html
 == subpixel-lineheight-1a.html subpixel-lineheight-1b.html
 == swash-1.html swash-1-ref.html
-HTTP(..) != synthetic-bold-metrics-01.html synthetic-bold-metrics-01-notref.html
+fails-if(Android) HTTP(..) != synthetic-bold-metrics-01.html synthetic-bold-metrics-01-notref.html
 == variation-selector-unsupported-1.html variation-selector-unsupported-1-ref.html
 == white-space-1a.html white-space-1-ref.html
 == white-space-1b.html white-space-1-ref.html
 == white-space-2.html white-space-2-ref.html
 == wordwrap-01.html wordwrap-01-ref.html
 HTTP(..) == wordwrap-02.html wordwrap-02-ref.html
 HTTP(..) == wordwrap-03.html wordwrap-03-ref.html
 == wordwrap-04.html wordwrap-04-ref.html
--- a/layout/reftests/transform/reftest.list
+++ b/layout/reftests/transform/reftest.list
@@ -88,17 +88,17 @@ random == rotate-1e.html rotate-1-ref.ht
 == matrix-3a.html matrix-3-ref.html
 == matrix-4a.html matrix-4-ref.html
 == matrix-5a.html matrix-5-ref.html
 == matrix-6a.html matrix-6-ref.html
 == matrix-7a.html matrix-7-ref.html
 # ensure matrix 3d does not break us - should do nothing
 == matrix3d-1.html matrix3d-1-ref.html
 # Test that complex transform can be reversed
-== stresstest-1.html stresstest-1-ref.html
+fails-if(Android) == stresstest-1.html stresstest-1-ref.html
 # Test scale transforms
 == scalex-1.html scalex-1-ref.html
 == scaley-1.html scaley-1-ref.html
 == scale-1a.html scale-1-ref.html
 == scale-1b.html scale-1-ref.html
 == scale-percent-1.html scale-percent-1-ref.html
 # Some simple checks that it obeys selector operations
 == descendant-1.html descendant-1-ref.html
--- a/modules/plugin/test/reftest/reftest.list
+++ b/modules/plugin/test/reftest/reftest.list
@@ -1,19 +1,19 @@
 # basic sanity checking
 random-if(!haveTestPlugin) != plugin-sanity.html about:blank
 fails-if(!haveTestPlugin) == plugin-sanity.html div-sanity.html
 fails-if(!haveTestPlugin) == plugin-alpha-zindex.html div-alpha-zindex.html
 fails-if(!haveTestPlugin) == plugin-alpha-opacity.html div-alpha-opacity.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == windowless-clipping-1.html windowless-clipping-1-ref.html # bug 631832
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == border-padding-1.html border-padding-1-ref.html # bug 629430
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == border-padding-2.html border-padding-2-ref.html # bug 629430
-random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == border-padding-3.html border-padding-3-ref.html # bug 629430
-random-if(cocoaWidget||d2d) fails-if(!haveTestPlugin) skip-if(!testPluginIsOOP()) == pluginproblemui-direction-1.html pluginproblemui-direction-1-ref.html
-fails-if(!haveTestPlugin) skip-if(!testPluginIsOOP()) == pluginproblemui-direction-2.html pluginproblemui-direction-2-ref.html
+random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) skip-if(Android) == border-padding-3.html border-padding-3-ref.html # bug 629430
+random-if(cocoaWidget||d2d) fails-if(!haveTestPlugin&&!Android) skip-if(!testPluginIsOOP()) == pluginproblemui-direction-1.html pluginproblemui-direction-1-ref.html
+fails-if(!haveTestPlugin&&!Android) skip-if(!testPluginIsOOP()) == pluginproblemui-direction-2.html pluginproblemui-direction-2-ref.html
 fails-if(!haveTestPlugin) == plugin-canvas-alpha-zindex.html div-alpha-zindex.html
 fails-if(!haveTestPlugin) == plugin-transform-alpha-zindex.html div-alpha-zindex.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == plugin-busy-alpha-zindex.html div-alpha-zindex.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == plugin-background.html plugin-background-ref.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == plugin-background-1-step.html plugin-background-ref.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == plugin-background-2-step.html plugin-background-ref.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == plugin-background-5-step.html plugin-background-ref.html
 random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == plugin-background-10-step.html plugin-background-ref.html