<!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 freedo