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
This commit is contained in:
cku 2017-08-30 11:22:43 +08:00
Родитель c13c8d4e5e
Коммит db228b8c69
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -35,4 +35,7 @@
<circle cx="100" cy="100" r="5"/>
<g/>
</g>
<use x="100" y="100" id="use_v" href="#v"/>
<use x="100" y="100" id="use_h" href="#h"/>
<use x="100" y="100" id="use_e" href="#e"/>
</svg>

До

Ширина:  |  Высота:  |  Размер: 1.1 KiB

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB

Просмотреть файл

@ -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();
}