reset-no-gce-1.html (1169B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <head> 4 <title>gif no graphics control extension</title> 5 <link rel="help" href="https://www.w3.org/Graphics/GIF/spec-gif89a.txt"> 6 <meta charset="utf-8"/> 7 <link rel="match" href="reset-no-gce-ref.html"/> 8 <script src="/common/reftest-wait.js"></script> 9 <script> 10 function doTest() 11 { 12 takeScreenshotDelayed(1000); 13 } 14 15 document.documentElement.addEventListener("TestRendered",doTest); 16 </script> 17 </head> 18 <body> 19 20 <!-- 21 reset-no-gce.gif is a non-looping 2x2 gif with 4 colors. It has 3 frames 22 and 200 ms for each frame. There is a global color table with 4 colors: 23 0=black, 1=red, 2=green, 3=blue. The first frame is all red, the gce says 24 the transparent index is 0 (black), so there is no transparency. The second 25 frame is all green, the gce says the transparent index is green (2), so the 26 whole frame is transparent. The third frame is all green, there is no gce 27 preceeding it, so there is no transparent index. 28 --> 29 <img src="reset-no-gce.gif" style="width: 400px; height: 400px; image-rendering: pixelated;"> 30 31 </body> 32 </html>