зеркало из https://github.com/mozilla/gecko-dev.git
Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel
webgl-color-alpha-test fails to render the image correctly since switching on 24-bit rendering, presumably due to async image decoding. Instead, just replace the pure black 256^2 image with a page that renders the same using a div.
This commit is contained in:
Родитель
6ce3ea6b45
Коммит
d2ab412202
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<div style="width: 256px; height: 256px; background-color: black"></div>
|
||||
</body>
|
||||
</html>
|
Двоичные данные
content/canvas/test/reftest/black.png
Двоичные данные
content/canvas/test/reftest/black.png
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 1.0 KiB |
|
@ -137,8 +137,9 @@ pref(webgl.force-layers-readback,true) random-if(B2G) == webgl-color-test.html?r
|
|||
# Check alpha behavior:
|
||||
fuzzy-if(B2G,256,83) == webgl-color-alpha-test.html?colorVal=1.0&alphaVal=1.0&nogl wrapper.html?colors.png
|
||||
fuzzy-if(B2G,256,83) == webgl-color-alpha-test.html?colorVal=1.0&alphaVal=1.0 wrapper.html?colors.png
|
||||
fails-if(B2G) == webgl-color-alpha-test.html?colorVal=0.0&alphaVal=1.0&nogl wrapper.html?black.png
|
||||
fails-if(B2G) == webgl-color-alpha-test.html?colorVal=0.0&alphaVal=1.0 wrapper.html?black.png
|
||||
# These tests don't use wrapper.html, as there appear to be invalidation issues with black.png and async image decoding - Bug 803299
|
||||
== webgl-color-alpha-test.html?colorVal=0.0&alphaVal=1.0&nogl black.html
|
||||
== webgl-color-alpha-test.html?colorVal=0.0&alphaVal=1.0 black.html
|
||||
|
||||
fuzzy-if(B2G,256,83) == webgl-color-alpha-test.html?colorVal=1.0&alphaVal=0.0&nogl wrapper.html?colors.png
|
||||
fuzzy-if(B2G,256,83) == webgl-color-alpha-test.html?colorVal=1.0&alphaVal=0.0 wrapper.html?colors.png
|
||||
|
|
Загрузка…
Ссылка в новой задаче