<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - `em` or `rem` based padding on elements stop scaling at certain point when zooming in"
   href="https://bugs.webkit.org/show_bug.cgi?id=166355">166355</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>`em` or `rem` based padding on elements stop scaling at certain point when zooming in
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>macOS 10.12
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Layout and Rendering
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vendivel&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>simon.fraser&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=297607" name="attach_297607" title="Webkit render">attachment 297607</a> <a href="attachment.cgi?id=297607&amp;action=edit" title="Webkit render">[details]</a></span>
Webkit render

Here's a link to test; try to zoom out (CMD and -)
<a href="https://jsfiddle.net/mven/1q5yqw4x/">https://jsfiddle.net/mven/1q5yqw4x/</a>

`px` based padding relatively sizes down correctly, while the `em` and `rem` based ones stop scaling down at a certain point.

This happens on Both Chrome and Safari, including Webkit Nightly Build.

Firefox sizes all elements down correctly.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>