Bug 1157984 - Part 5: Test,r=vlad

- Implemented a reftest to verify that the transformed element is clipped
  against the w=0 plane without disappearing

--HG--
extra : rebase_source : 26ad8c58b95c0af384a14b2c70fffe80190b8a17
This commit is contained in:
Kearwood (Kip) Gilbert 2015-08-26 16:39:52 -07:00
Родитель fb03e30b9f
Коммит 0d5944c188
2 изменённых файлов: 33 добавлений и 0 удалений

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

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en-US" reftest-zoom="1.0">
<head>
<title>Testcase, bug 1157984</title>
<meta charset=UTF-8>
<style type="text/css">
#outer {
position:absolute;
width: 60px;
height: 60px;
perspective-origin: 300px 300px;
perspective: 300px;
overflow: hidden;
}
#inner {
position:absolute;
background-color: green;
width: 600px;
height: 600px;
transform-origin: 300px 300px 0px;
transform: translateZ(300px) rotateY(-2rad) translateZ(300px);
}
</style>
</head>
<body>
<div id="outer">
<div id="inner"></div>
</div>
</body>
</html>

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

@ -57,6 +57,7 @@ pref(layout.css.will-change.enabled,true) != willchange-containing-block.html?wi
fuzzy-if(winWidget&&!layersGPUAccelerated,1,606) == scroll-perspective-1.html scroll-perspective-1-ref.html
# Bugs
fails-if(!layersGPUAccelerated) == 1035611-1.html 1035611-1-ref.html # Bug 1072898 for !layersGPUAccelerated failures
!= 1157984-1.html about:blank # Bug 1157984
fuzzy(3,99) == animate-cube-radians.html animate-cube-radians-ref.html # subpixel AA
fuzzy(3,99) fuzzy-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)&&!layersGPUAccelerated,16,6) fuzzy-if(Mulet,16,9) == animate-cube-radians-zoom.html animate-cube-radians-zoom-ref.html
!= animate-cube-radians-ref.html animate-cube-radians-zoom-ref.html