Reputation: 8741
Try zooming in (using the page zoom feature, e.g. cmd+) this piece of HTML/CSS in Firefox:
Now, try the same thing in Chrome.
For some reason, Chrome does not scale up the width/height of the content box, but at the same time scales up the border. I would almost consider this a bug.
Does anyone know of any workarounds?
Edit:
I have filed an issue here, we'll see what the responses are.
Upvotes: 4
Views: 2330
Reputation: 4696
Maybe it has to do something with the "em" property. It acts differently for both Firefox and Chrome.
I've taken 20px instead of 1em and then ran it on both the browsers. The effect was same.
Fiddle it: http://jsfiddle.net/W68eL/5/
Upvotes: 1