mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
webgl: Add tests for canvas texturing
This commit is contained in:
parent
e2b7a01055
commit
5d7d745ab4
4 changed files with 235 additions and 0 deletions
11
tests/ref/webgl-context/tex_image_2d_canvas_ref.html
Normal file
11
tests/ref/webgl-context/tex_image_2d_canvas_ref.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>WebGL texture test</title>
|
||||
<!--
|
||||
This test should show a 256x256 red square
|
||||
-->
|
||||
<style>
|
||||
html, body { margin: 0 }
|
||||
div { width: 256px; height: 256px; background: red; }
|
||||
</style>
|
||||
<div></div>
|
Loading…
Add table
Add a link
Reference in a new issue