From 583052d03c6c643acdc15a1cadb23ed2a8878e42 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Wed, 28 Oct 2015 08:49:08 -0700 Subject: [PATCH] Bug 1218041, part 2: add reftests for SVG-image rendering. (no review) The tests are marked as random for now, per bug 1218954. --- layout/reftests/xul/reftest.list | 8 ++++++++ .../reftests/xul/treecell-image-svg-1-ref.xul | 17 +++++++++++++++++ layout/reftests/xul/treecell-image-svg-1a.xul | 17 +++++++++++++++++ layout/reftests/xul/treecell-image-svg-1b.xul | 17 +++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 layout/reftests/xul/treecell-image-svg-1-ref.xul create mode 100644 layout/reftests/xul/treecell-image-svg-1a.xul create mode 100644 layout/reftests/xul/treecell-image-svg-1b.xul diff --git a/layout/reftests/xul/reftest.list b/layout/reftests/xul/reftest.list index e6c2a7e24a65..605375b8f9a8 100644 --- a/layout/reftests/xul/reftest.list +++ b/layout/reftests/xul/reftest.list @@ -63,3 +63,11 @@ skip-if((B2G&&browserIsRemote)||Mulet) == object-fit-scale-down-svg-005.xul obje skip-if((B2G&&browserIsRemote)||Mulet) == object-fit-scale-down-svg-006.xul object-fit-scale-down-svg-006-ref.html skip-if((B2G&&browserIsRemote)||Mulet) == object-position-png-001.xul object-position-png-001-ref.html skip-if((B2G&&browserIsRemote)||Mulet) == object-position-png-002.xul object-position-png-002-ref.html + +# Tests for rendering SVG images in a XUL : +# XXXdholbert: These are marked as "random" right now, since they might not +# render the images they trying to test in time for the reftest snapshot, per +# bug 1218954. Once that bug is fixed, we should replace the "random" +# annotation with "skip-if((B2G&&browserIsRemote)||Mulet)", like above tests. +skip == treecell-image-svg-1a.xul treecell-image-svg-1-ref.xul # bug 1218954 +skip == treecell-image-svg-1b.xul treecell-image-svg-1-ref.xul # bug 1218954 diff --git a/layout/reftests/xul/treecell-image-svg-1-ref.xul b/layout/reftests/xul/treecell-image-svg-1-ref.xul new file mode 100644 index 000000000000..029b140f01c4 --- /dev/null +++ b/layout/reftests/xul/treecell-image-svg-1-ref.xul @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/xul/treecell-image-svg-1a.xul b/layout/reftests/xul/treecell-image-svg-1a.xul new file mode 100644 index 000000000000..d481190345dd --- /dev/null +++ b/layout/reftests/xul/treecell-image-svg-1a.xul @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/xul/treecell-image-svg-1b.xul b/layout/reftests/xul/treecell-image-svg-1b.xul new file mode 100644 index 000000000000..f13c138fda66 --- /dev/null +++ b/layout/reftests/xul/treecell-image-svg-1b.xul @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + +