mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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:
parent
f41592eb4a
commit
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.
|
||||
|
8
layout/reftests/transform/translate-3-ref.html
Normal file
8
layout/reftests/transform/translate-3-ref.html
Normal file
@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
width: 100px; height: 100px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
18
layout/reftests/transform/translate-3.html
Normal file
18
layout/reftests/transform/translate-3.html
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user