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 | <html reftest-zoom="2"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>background-size: 64px 40px; repeat, zoom</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | html |
michael@0 | 7 | { |
michael@0 | 8 | margin: 0; |
michael@0 | 9 | padding: 0; |
michael@0 | 10 | } |
michael@0 | 11 | body |
michael@0 | 12 | { |
michael@0 | 13 | margin: 0; |
michael@0 | 14 | padding: 10px; |
michael@0 | 15 | } |
michael@0 | 16 | #outer |
michael@0 | 17 | { |
michael@0 | 18 | /* |
michael@0 | 19 | * PRE-ZOOM: |
michael@0 | 20 | * 2x size the image, then tile it 4x4 across the div; sampling artifacts at |
michael@0 | 21 | * 32px horizontal offset, then every 64px for the full height of the div. |
michael@0 | 22 | * POST-ZOOM: |
michael@0 | 23 | * 4x size the image, then tile it 4x4 across the div; sampling artifacts at |
michael@0 | 24 | * 64px horizontal offset, then every 128px for the full height of the div. |
michael@0 | 25 | */ |
michael@0 | 26 | width: 256px; |
michael@0 | 27 | height: 160px; |
michael@0 | 28 | background-image: url(blue-16x20-green-16x20.png); |
michael@0 | 29 | background-repeat: repeat; |
michael@0 | 30 | background-size: 64px 40px; |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | /* Aargh, sampling artifacts, we hates them, precioussss. */ |
michael@0 | 34 | #outer > div |
michael@0 | 35 | { |
michael@0 | 36 | display: inline-block; |
michael@0 | 37 | width: 28px; |
michael@0 | 38 | height: 160px; |
michael@0 | 39 | } |
michael@0 | 40 | .blue |
michael@0 | 41 | { |
michael@0 | 42 | border-right: 4px solid black; |
michael@0 | 43 | } |
michael@0 | 44 | .green |
michael@0 | 45 | { |
michael@0 | 46 | border-left: 4px solid black; |
michael@0 | 47 | } |
michael@0 | 48 | </style> |
michael@0 | 49 | </head> |
michael@0 | 50 | <body> |
michael@0 | 51 | <div id="outer"><div |
michael@0 | 52 | class="blue"></div><div |
michael@0 | 53 | class="green"></div><div |
michael@0 | 54 | class="blue"></div><div |
michael@0 | 55 | class="green"></div><div |
michael@0 | 56 | class="blue"></div><div |
michael@0 | 57 | class="green"></div><div |
michael@0 | 58 | class="blue"></div><div |
michael@0 | 59 | class="green"></div></div> |
michael@0 | 60 | </body> |
michael@0 | 61 | </html> |