Bug 166355 - `em` or `rem` based padding on elements stop scaling at certain point when zooming out
Summary: `em` or `rem` based padding on elements stop scaling at certain point when zo...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.12
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-21 11:16 PST by Michael Vendivel
Modified: 2016-12-21 11:29 PST (History)
4 users (show)

See Also:


Attachments
Webkit render (10.89 KB, image/png)
2016-12-21 11:16 PST, Michael Vendivel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Vendivel 2016-12-21 11:16:38 PST
Created attachment 297607 [details]
Webkit render

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

`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.