michael@0: /* michael@0: Tests for the OpenGL ES 2.0 HTML Canvas context michael@0: michael@0: Copyright (C) 2009 Ilmari Heikkinen michael@0: michael@0: Permission is hereby granted, free of charge, to any person michael@0: obtaining a copy of this software and associated documentation michael@0: files (the "Software"), to deal in the Software without michael@0: restriction, including without limitation the rights to use, michael@0: copy, modify, merge, publish, distribute, sublicense, and/or sell michael@0: copies of the Software, and to permit persons to whom the michael@0: Software is furnished to do so, subject to the following michael@0: conditions: michael@0: michael@0: The above copyright notice and this permission notice shall be michael@0: included in all copies or substantial portions of the Software. michael@0: michael@0: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, michael@0: EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES michael@0: OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND michael@0: NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT michael@0: HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, michael@0: WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING michael@0: FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR michael@0: OTHER DEALINGS IN THE SOFTWARE. michael@0: michael@0: */ michael@0: .ok { michael@0: color: green; michael@0: } michael@0: .fail { michael@0: color: red; michael@0: } michael@0: canvas { michael@0: display: none; michael@0: } michael@0: #test-status { michael@0: font-size: large; michael@0: } michael@0: michael@0: #test-log { michael@0: padding-left: 0.5em; michael@0: padding-right: 0.5em; michael@0: background: white; michael@0: color: black; michael@0: } michael@0: #test-log > div { michael@0: padding-bottom: 0.5em; michael@0: } michael@0: #test-log h2 { michael@0: font-size: 1em; michael@0: margin-bottom: 0em; michael@0: padding-top: 0.5em; michael@0: } michael@0: #test-log h3 { michael@0: font-size: small; michael@0: margin-left: 1.5em; michael@0: margin-bottom: 0em; michael@0: margin-top: 0.5em; michael@0: } michael@0: #test-log p { michael@0: margin-left: 4em; michael@0: font-size: small; michael@0: margin-top: 0em; michael@0: margin-bottom: 0.2em; michael@0: }