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> |
michael@0 | 3 | <!-- |
michael@0 | 4 | This test checks that a few allowed CSS properties have an effect when |
michael@0 | 5 | applied to ::-moz-placeholder. |
michael@0 | 6 | --> |
michael@0 | 7 | <style> |
michael@0 | 8 | /* |
michael@0 | 9 | * We need to set some properties on the <input> because its size will |
michael@0 | 10 | * depend on its font. |
michael@0 | 11 | */ |
michael@0 | 12 | input, textarea { |
michael@0 | 13 | font: -moz-list; |
michael@0 | 14 | font-family: mono; |
michael@0 | 15 | font-style: italic; |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | :-moz-any(input, textarea)::-moz-placeholder { |
michael@0 | 19 | opacity: 1.0; |
michael@0 | 20 | font: -moz-list; |
michael@0 | 21 | font-family: mono; |
michael@0 | 22 | font-style: italic; |
michael@0 | 23 | color: blue; |
michael@0 | 24 | word-spacing: 5px; |
michael@0 | 25 | text-shadow: 1px 1px 1px red; |
michael@0 | 26 | } |
michael@0 | 27 | </style> |
michael@0 | 28 | <body> |
michael@0 | 29 | <input placeholder='foo bar'> |
michael@0 | 30 | <textarea placeholder='foo bar'></textarea> |
michael@0 | 31 | </body> |
michael@0 | 32 | </html> |