Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <!-- |
michael@0 | 3 | Any copyright is dedicated to the Public Domain. |
michael@0 | 4 | http://creativecommons.org/licenses/publicdomain/ |
michael@0 | 5 | --> |
michael@0 | 6 | <html> |
michael@0 | 7 | <head> |
michael@0 | 8 | <title>Testcases: -moz-image-rect() [bug 113577]</title> |
michael@0 | 9 | <style> |
michael@0 | 10 | div.wrapper { |
michael@0 | 11 | width: 32px; |
michael@0 | 12 | height: 32px; |
michael@0 | 13 | margin: 10px; |
michael@0 | 14 | background-color: red; |
michael@0 | 15 | } |
michael@0 | 16 | div.wrapper div { |
michael@0 | 17 | background-repeat: no-repeat; |
michael@0 | 18 | } |
michael@0 | 19 | #test1 { |
michael@0 | 20 | width: 32px; |
michael@0 | 21 | height: 32px; |
michael@0 | 22 | background-position: 0px 0px; |
michael@0 | 23 | background-image: url('green-16x16-in-blue-32x32.png'); |
michael@0 | 24 | } |
michael@0 | 25 | #test2 { |
michael@0 | 26 | width: 32px; |
michael@0 | 27 | height: 16px; |
michael@0 | 28 | background-position: 0px 0px; |
michael@0 | 29 | background-image: url('transparent-16x16-in-blue-32x32.png'); |
michael@0 | 30 | } |
michael@0 | 31 | #test3 { |
michael@0 | 32 | width: 16px; |
michael@0 | 33 | height: 16px; |
michael@0 | 34 | background-position: 0px 0px; |
michael@0 | 35 | background-image: url('green-16x16-in-blue-32x32.png'); |
michael@0 | 36 | } |
michael@0 | 37 | #test4 { |
michael@0 | 38 | width: 32px; |
michael@0 | 39 | height: 32px; |
michael@0 | 40 | background-color: yellow; |
michael@0 | 41 | background-position: -16px -16px; |
michael@0 | 42 | background-image: url('transparent-16x16-in-blue-32x32.png'); |
michael@0 | 43 | } |
michael@0 | 44 | </style> |
michael@0 | 45 | </head> |
michael@0 | 46 | <body> |
michael@0 | 47 | <div class="wrapper"><div id="test1"></div></div> |
michael@0 | 48 | <div class="wrapper"><div id="test2"></div></div> |
michael@0 | 49 | <div class="wrapper"><div id="test3"></div></div> |
michael@0 | 50 | <div class="wrapper"><div id="test4"></div></div> |
michael@0 | 51 | </body> |
michael@0 | 52 | </html> |