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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial