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

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

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

mercurial