зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1386848 - stylo: Add a reftest for `transform: translate()` r=xidorn
MozReview-Commit-ID: F2XSsSc7w5n --HG-- extra : rebase_source : f04340ee5b363424f0860fce8d0618ee99049312
This commit is contained in:
Родитель
f41592eb4a
Коммит
d755c48944
|
@ -33,6 +33,7 @@ fuzzy-if(webrender,1,27) == compound-1a.html compound-1-ref.html
|
|||
== translate-1d.html translate-1-ref.html
|
||||
== translate-1e.html translate-1-ref.html
|
||||
== translate-2a.html translate-2-ref.html
|
||||
== translate-3.html translate-3-ref.html
|
||||
# rotate: Several rotations of the same object should be idempotent. These
|
||||
# tests are currently disabled because of subpixel (< 0.00001 gfx units)
|
||||
# rounding errors.
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
width: 100px; height: 100px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
width: 100px; height: 100px;
|
||||
}
|
||||
#outer {
|
||||
background: green;
|
||||
overflow: hidden;
|
||||
}
|
||||
#inner {
|
||||
background: red;
|
||||
transform: translateX(calc(100px));
|
||||
}
|
||||
</style>
|
||||
<div id="outer">
|
||||
<div id="inner">
|
||||
</div>
|
||||
</div>
|
Загрузка…
Ссылка в новой задаче