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

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <!-- these should make the textarea non-native and hide resizers since we can't control
michael@0 3 their native vs. non-native appearance -->
michael@0 4 <textarea style="border-width: 0; resize: none;">Textarea</textarea>
michael@0 5 <textarea style="border-width: 1px; resize: none;">Textarea</textarea>
michael@0 6 <textarea style="border-width: 2px; resize: none;">Textarea</textarea>
michael@0 7 <textarea style="border-width: 3px; resize: none;">Textarea</textarea>
michael@0 8 <textarea style="border-width: 4px; resize: none;">Textarea</textarea>
michael@0 9 <textarea style="border-width: 5px; resize: none;">Textarea</textarea>
michael@0 10 <textarea style="border-width: 6px; resize: none;">Textarea</textarea>
michael@0 11 <textarea style="border-style: dotted; resize: none;">Textarea</textarea>
michael@0 12 <textarea style="border-color: green; resize: none;">Textarea</textarea>
michael@0 13 <textarea style="background-color: transparent; resize: none;">Textarea</textarea>
michael@0 14 <textarea style="background-color: white; resize: none;">Textarea</textarea>
michael@0 15
michael@0 16 <!-- these should let it stay native -->
michael@0 17 <textarea style="color: black"></textarea>
michael@0 18 <textarea style="font-weight: normal"></textarea>

mercurial