mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1301500 - Add reftest. r=heycam
Test by bzbarsky; reference by dbaron. The test passes with the patch. With the changes to RestyleManagerBase::ProcessRestyledFrames reverted, the test shows the expected mispositioning resulting from not applying the transform. MozReview-Commit-ID: 7oIQFD8QKUn --HG-- extra : transplant_source : %A3%A6%A0X%C2%1B%CE%E1-%1F%5Ci%A9%06%10%29h%E8/%B7
This commit is contained in:
parent
13bc05d1b6
commit
6c8e907ee2
@ -0,0 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
The green square below should be centered.
|
||||
<div style="width: 400px; height: 400px; position: absolute;
|
||||
perspective: 600px; left: calc(50% - 200px);
|
||||
top: calc(50% - 200px); background: green;">
|
||||
</div>
|
||||
</html>
|
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
The green square below should be centered.
|
||||
<div style="width: 400px; height: 400px; position: absolute;
|
||||
perspective: 600px; left: 50%; top: 50%; background: green;">
|
||||
</div>
|
||||
<script>
|
||||
document.body.offsetWidth;
|
||||
document.querySelector("div").style.transform = "translate(-50%, -50%)";
|
||||
</script>
|
||||
</html>
|
@ -137,3 +137,5 @@ pref(svg.transform-box.enabled,true) == transform-box-svg-2b.svg transform-box-s
|
||||
== animate-layer-scale-inherit-1.html animate-layer-scale-inherit-1-ref.html
|
||||
== animate-layer-scale-inherit-2.html animate-layer-scale-inherit-2-ref.html
|
||||
== animate-layer-scale-inherit-3.html animate-layer-scale-inherit-1-ref.html
|
||||
# Bug 1301500
|
||||
== dynamic-add-without-change-cb-1.html dynamic-add-without-change-cb-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user