RESOLVED CONFIGURATION CHANGED 117680
rem unit does not scale well
https://bugs.webkit.org/show_bug.cgi?id=117680
Summary rem unit does not scale well
Zbychu
Reported 2013-06-16 03:38:56 PDT
Created attachment 204787 [details] html and css example Hi, When I want to replace the old unit the size of a new, and when I prescaling the window size, rem is not precise. Examle below. 1px when converting to rem is invisible. Firefox and IE10 scaling pretty good. body { font-size:62.5% /* ==> 10px */ } div { border: .1rem solid red /* ==> 1px */ } screenshot: chrome 27 default site (100% view) http://d.pr/i/FmOe chrome 27 (Ctrl+ + [90% view]) http://d.pr/i/bhHS firefox resizing http://d.pr/i/nS43
Attachments
html and css example (3.49 KB, text/html)
2013-06-16 03:38 PDT, Zbychu
no flags
Shows 2 HTML elements with their pre calculated height, run time calculated height and actual height. This works as intended in Gecko but fails in all webkit based browsers. (2.89 KB, text/html)
2013-10-17 01:49 PDT, jon.ronnenberg
no flags
jon.ronnenberg
Comment 1 2013-10-17 01:49:04 PDT
Created attachment 214434 [details] Shows 2 HTML elements with their pre calculated height, run time calculated height and actual height. This works as intended in Gecko but fails in all webkit based browsers. Shows 2 HTML elements with their pre calculated height, run time calculated height and actual height. This works as intended in Gecko but fails in all webkit based browsers. In this particular test-case and bug materialize itself when the font size is scaled below 57%.
jon.ronnenberg
Comment 2 2013-10-17 01:50:59 PDT
@Zychu It's unclear what you mean by "prescaling the window size". Do you mean resizing the window or resizing the text by Command/CTRL +/-? But I can confirm that this is indeed a bug. It seems to affect all webkit based browsers, Safari, iOS, Chrome, Opera, Android ect. See the attached test-case: https://bugs.webkit.org/attachment.cgi?id=214434
jon.ronnenberg
Comment 3 2013-10-18 01:34:35 PDT
This bug report seems unattended, meaning that no one is paying attention to comments. I therefore have created a new bug report #123012 to regain attention.
Brent Fulgham
Comment 4 2022-07-13 14:53:19 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note You need to log in before you can comment on or make changes to this bug.