summaryrefslogtreecommitdiff
path: root/test/html/render/max-width-nested-div.html
blob: fe2c38283c1725e5ff0abb9910e1415024037060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html>
  <head>
    <title>Test max-width in a nested div</title>
    <style>
      body {margin: 20px}
      .test {max-width: 400px; background: lightgray}
    </style>
  </head>
  <body>
    <div style="background:lightblue">
      <div class="test">
        <p>The licenses for most software and other practical works are
        designed to take away your freedom to share and change the
        works. By contrast, the GNU General Public License is intended
        to guarantee your freedom to share and change all versions of a
        program--to make sure it remains free software for all its
        users. We, the Free Software Foundation, use the GNU General
        Public License for most of our software; it applies also to any
        other work released this way by its authors. You can apply it to
        your programs, too.</p>
      </div>
    </div>
  </body>
</html>