https://bugzilla.wikimedia.org/show_bug.cgi?id=37025

--- Comment #3 from Pau Giner <[email protected]> 2012-06-28 13:20:22 UTC ---
Yes, the implementation should be based on em. 
The specific em values should be the ones that achieve the indicated size at
the 100% zoom level, which may be different em values depending on the specific
element.

Why ems are not used at the design level?

The problem of specifying the changes with em, is that it is a relative unit
that it is affected by containment. So if I have a one HTML element with a size
of 2em that contains another element with 0.5em, the resulting size is
equivalent to 1em. Thus, knowing the final size requires you to know the
structure of the HTML code.

Considering that with the current code several containment elements have
applied different em values (e.g., body has 0.8em that affects any other em
value in the page by reducing it to the 80%), there is no guarantee that using
the same em value in child elements represents the same final sizes.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to