зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1335876 - Part 4. Reftest. r=jwatt
MozReview-Commit-ID: HMrMTTxgga4 --HG-- extra : rebase_source : c309b88b2e2e2b97f50f1a180706ff7e5db29817
This commit is contained in:
Родитель
ec28242557
Коммит
4611d72d2b
|
@ -0,0 +1,8 @@
|
|||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<title>Testcase reference file for generic pass condition</title>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 297 B |
|
@ -129,6 +129,7 @@ pref(svg.transform-box.enabled,true) == transform-box-svg-1a.svg transform-box-s
|
|||
pref(svg.transform-box.enabled,true) == transform-box-svg-1b.svg transform-box-svg-1-ref.svg
|
||||
pref(svg.transform-box.enabled,true) == transform-box-svg-2a.svg transform-box-svg-2-ref.svg
|
||||
pref(svg.transform-box.enabled,true) == transform-box-svg-2b.svg transform-box-svg-2-ref.svg
|
||||
pref(svg.transform-box.enabled,true) == transform-box-svg-3a.svg pass.svg
|
||||
== transform-origin-svg-1a.svg transform-origin-svg-1-ref.svg
|
||||
== transform-origin-svg-1b.svg transform-origin-svg-1-ref.svg
|
||||
== transform-origin-svg-2a.svg transform-origin-svg-2-ref.svg
|
||||
|
|
|
@ -0,0 +1,64 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="none">
|
||||
<style>
|
||||
/* <![CDATA[ */
|
||||
.ref {
|
||||
fill: red;
|
||||
}
|
||||
.test {
|
||||
fill: lime;
|
||||
}
|
||||
/* ]]> */
|
||||
</style>
|
||||
<rect width="100%" height="100%" fill="lime"/>
|
||||
<!-- all rect.test rects should be covered by the corresponded rest.ref rect-->
|
||||
<!-- 1st row: transform-box only. -->
|
||||
<rect class="ref"
|
||||
x="11" y="11" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: view-box"
|
||||
x="10" y="10" width="10" height="10"/>
|
||||
<rect class="ref"
|
||||
x="26" y="11" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: fill-box"
|
||||
x="25" y="10" width="10" height="10"/>
|
||||
<rect class="ref"
|
||||
x="41" y="11" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: border-box"
|
||||
x="40" y="10" width="10" height="10"/>
|
||||
|
||||
<!-- 2nd row: transform-box plus transform-origin. -->
|
||||
<rect class="ref"
|
||||
x="11" y="26" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: view-box; tansform-origin: 40% 60%"
|
||||
x="10" y="25" width="10" height="10"/>
|
||||
<rect class="ref"
|
||||
x="26" y="26" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: fill-box; tansform-origin: 20px 10px"
|
||||
x="25" y="25" width="10" height="10"/>
|
||||
<rect class="ref"
|
||||
x="41" y="26" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: border-box; tansform-origin: 40% 60%"
|
||||
x="40" y="25" width="10" height="10"/>
|
||||
|
||||
<!-- 2nd row: transform-box, transform-origin and transform. -->
|
||||
<rect class="ref"
|
||||
x="11" y="46" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: fill-box; tansform-origin: 0% 0%; transform: scale(2);"
|
||||
x="10" y="45" width="5" height="5"/>
|
||||
<rect class="ref"
|
||||
x="26" y="46" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: fill-box; transform-origin: 50% 50%; transform:rotate(45deg);"
|
||||
x="24" y="44" width="12" height="12"/>
|
||||
<rect class="ref"
|
||||
x="41" y="46" width="8" height="8"/>
|
||||
<rect class="test"
|
||||
style="transform-box: border-box; tansform-origin: 100% 100%; transform: scale(1);"
|
||||
x="40" y="45" width="10" height="10"/>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 2.3 KiB |
Загрузка…
Ссылка в новой задаче