From db228b8c69cb09f05a810fd0060d2115dfd828c1 Mon Sep 17 00:00:00 2001 From: cku Date: Wed, 30 Aug 2017 11:22:43 +0800 Subject: [PATCH] Bug 1361639 - Part 2. Add test cases of calling getBBox on use element in test_bbox.xhtml. r=longsonr+218550 MozReview-Commit-ID: B2DetAVcQM6 --HG-- extra : rebase_source : 04d0eb757f22334def4389af5ffd9908af04d9d1 --- dom/svg/test/bbox-helper.svg | 3 +++ dom/svg/test/test_bbox.xhtml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dom/svg/test/bbox-helper.svg b/dom/svg/test/bbox-helper.svg index cf085b4fd735..9459149b05f2 100644 --- a/dom/svg/test/bbox-helper.svg +++ b/dom/svg/test/bbox-helper.svg @@ -35,4 +35,7 @@ + + + diff --git a/dom/svg/test/test_bbox.xhtml b/dom/svg/test/test_bbox.xhtml index ae0dcf1649cf..6ab2183a97e7 100644 --- a/dom/svg/test/test_bbox.xhtml +++ b/dom/svg/test/test_bbox.xhtml @@ -62,7 +62,9 @@ function run() checkBBox("v", 95, 45, 10, 155, 0.001); checkBBox("h", 195, 45, 105, 55, 0.001); checkBBox("e", 95, 95, 10, 10, 0.001); - + checkBBox("use_v", 195, 145, 10, 155, 0.001); + checkBBox("use_h", 295, 145, 105, 55, 0.001); + checkBBox("use_e", 195, 195, 10, 10, 0.001); SimpleTest.finish(); }