layout/reftests/flexbox/flexbox-basic-textarea-horiz-2.xhtml

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 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <!--
     7      This test checks that a textarea element with "min-width: min-content"
     8      and a huge specified "width" ends up being shrinkable. (In particular,
     9      the large "width" value shouldn't influence the min-content width).
    10 -->
    11 <html xmlns="http://www.w3.org/1999/xhtml">
    12   <head>
    13     <style>
    14       div.flexbox {
    15         height: 50px;
    16         width: 50px;
    17         border: 2px dotted black;
    18         display: flex;
    19       }
    20       textarea {
    21         width: 1000px;
    22         height: 50px;
    23         background: purple;
    24         border: 1px dotted green;
    25         min-width: -moz-min-content;
    26       }
    27     </style>
    28   </head>
    29   <body>
    30     <div class="flexbox">
    31       <textarea/>
    32     </div>
    33   </body>
    34 </html>

mercurial