Carlos E. R. schrieb:
On 2017-04-15 02:45, Felix Miata wrote:
Robert Kaiser composed on 2017-04-15 01:18 (UTC+0200):
Felix Miata composed:
One particular functionality I have in mind is to display an object in the browser window with predictably accurate stated physical dimensions. IOW, one inch always measures one inch; one cm always measures one cm; 12pt always measures 12/72", etc. Note that is not how they are defined in CSS officially. Actually, 1cm = 96px/2.54according to official web standards, Whether what any CSS "web standard" says, official or otherwise, depends on context. The issue here is virtually the same usurpation that occurred with well established decimal multiples being hijacked by the binary computing world, trying to redefine units with previously uncontroverted meanings. (kilo, mega, giga, etc.) At least those eventually got a reasonable fix.[1]
A centimeter isn't a centimeter unless it measures an ISO standard centimeter. When I open a web page that says something measures a centimeter, if my ruler doesn't measure it a centimeter, it isn't a centimeter, regardless what is contained in CSS standards. That's what I would expect, yes. One centimetre measured with a plastic rule right on the screen. Not an apparent size.
For one thing, I was just referring to a standard that web browser manufacturers under the roof of the W3C decided on after a long discussions, and they surely had good reasons. All that said, if you expect 1cm in CSS to be an actual centimeter on whatever surface it's shown on, I hope you never project a website onto a wall (where the browser probably doesn't even know the actual size of the projection) or display it on a giant screen for presentation etc. as anything using your definition of CSS units would probably become invisibly small for the normal viewer. KaiRo -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org