layout/reftests/native-theme/textarea-nonnative-when-styled-ref.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <!-- these should make the textarea non-native -->
michael@0 3 <textarea style="-moz-appearance: none; border-width: 0; resize: none;">Textarea</textarea>
michael@0 4 <textarea style="-moz-appearance: none; border-width: 1px; resize: none;">Textarea</textarea>
michael@0 5 <textarea style="-moz-appearance: none; border-width: 2px; resize: none;">Textarea</textarea>
michael@0 6 <textarea style="-moz-appearance: none; border-width: 3px; resize: none;">Textarea</textarea>
michael@0 7 <textarea style="-moz-appearance: none; border-width: 4px; resize: none;">Textarea</textarea>
michael@0 8 <textarea style="-moz-appearance: none; border-width: 5px; resize: none;">Textarea</textarea>
michael@0 9 <textarea style="-moz-appearance: none; border-width: 6px; resize: none;">Textarea</textarea>
michael@0 10 <textarea style="-moz-appearance: none; border-style: dotted; resize: none;">Textarea</textarea>
michael@0 11 <textarea style="-moz-appearance: none; border-color: green; resize: none;">Textarea</textarea>
michael@0 12 <textarea style="-moz-appearance: none; background-color: transparent; resize: none;">Textarea</textarea>
michael@0 13 <textarea style="-moz-appearance: none; background-color: white; resize: none;">Textarea</textarea>
michael@0 14
michael@0 15 <!-- these should let it stay native -->
michael@0 16 <textarea></textarea>
michael@0 17 <textarea></textarea>

mercurial