- From: John Hax <johnhax@gmail.com>
- Date: Wed, 8 Feb 2012 00:58:02 +0800
- To: Ambrose LI <ambrose.li@gmail.com>
- Cc: (wrong string) 興趣小組 <public-html-ig-zh@w3.org>
- Message-ID: <CAEeYXHUjr09xy9XzWncnH1A1vo5A4+0iUZA8knPr+1N7VdrOXg@mail.gmail.com>
我是坚决反对这种做法的。 这也令得cm、pt等单位跟着px变成了相对长度。那么CSS里就没有绝对长度了!! 本来,在移动设备上做某些设计时,使用绝对长度是非常方便的。例如对于触摸屏来说,确保按钮的最小size在某个阈值以上(假设是1cm见方),是无障碍性的要求。我们可以很简单的写成 button { min-width: 1cm; min-height: 1cm } 即可。如果绝对长度失准,则根本无法有简便的方式达成这样基本的需求。 我可以想到的workaround是针对不同的设备dpi进行media query,然后手动计算出每个dpi下的像素。 更糟糕的情况是,在某些平台如Android还支持将px直接对应设备像素,这导致样式表更加复杂。 2012/2/8 Ambrose LI <ambrose.li@gmail.com> > > 答案是「是」的。事實上每次提出「但@是錯誤的行為呀」時都會吵一段時間,然後他們就拿出什麼「投影出來你怎樣計算絶對長度,PowerPoint你怎樣計算絶對長度」等的「理據」。 > > 如果你想再次反對一下也好(至少告訴他們一般人是會反對@個的),但反對應該會是無效的…… > > > 2012/2/6 John Hax <johnhax@gmail.com> > >> 此draft里提到“the 1:96 fixed ratio of CSS ‘in’ to CSS ‘px’”。我知道现在移动浏览器都是如此,导致绝对长度如in/cm等都不绝对了。但是这不是一个错误的行为吗?难道CSS >> WG打算把这个错误行为标准化吗?我怎么想都觉得这样无法自圆其说啊。 >> >> >> On Tue, Feb 7, 2012 at 4:48 AM, Kang-Hao (Kenny) Lu <kennyluck@w3.org>wrote: >> >>> ** >>> css3-images 的最後草案(Last Call)會在大約 36 個小時候(禮拜三中午,不過時間也不會計較的那麼細)截止,在@段時間內寄到 >>> www-style 的任何意見,原則上 CSS >>> 工作組*都會有回應*。@份規範有的新功能都列在下面了,其中漸層的語法好像吵了非常久了,所以要在最後送點意見的不妨試試。 >>> >>> 我到昨天為止都還沒認真讀過@份規範,今天看了一下,目前看到兩個有疑問的地方,今天下午再跟大家分享一下,歡迎大家在@ 36 >>> 小時內多看看、想想@份規範。 >>> >>> >>> 此致 >>> >>> Kenny >>> >>> -------- Original Message -------- Subject: [css3-images] Last Call >>> Working Draft of CSS Images Values and Replaced Content Level 3 Resent-Date: >>> Fri, 13 Jan 2012 22:47:17 +0000 Resent-From: www-style@w3.org Date: Fri, >>> 13 Jan 2012 14:46:38 -0800 From: fantasai >>> <fantasai.lists@inkedblade.net> <fantasai.lists@inkedblade.net> To: >>> www-style@w3.org <www-style@w3.org> <www-style@w3.org> >>> >>> The CSS WG published a Last Call Working Draft of the CSS3 Images module: >>> >>> http://www.w3.org/TR/2012/WD-css3-images-20120112/ >>> >>> This module covers: >>> - CSS gradients >>> - using media fragments (image slices) in CSS >>> - ltr/rtl annotations to images for automatic flipping >>> - fallback URLs for images, for gracefully handling unsupported image types >>> - element() notation for using an elements' graphical representation as an image >>> - CSS <-> image size negotiation >>> - 'object-fit' and 'object-position' for controlling aspect ratio preservation >>> - 'image-resolution' for using custom or intrinsic image resolutions >>> - 'image-orientation' to correct misoriented images >>> >>> There are no significant changes since the last Working Draft (published in December). >>> A summary of major changes to gradients over the past year is available here: >>> http://www.w3.org/blog/CSS/2011/12/28/css3-images-pre-lc/ >>> >>> If you have comments on any part of the draft, please, send them here, to the<www-style@w3.org> <www-style@w3.org> mailing list. Please *start a new thread for each issue* >>> and include [css3-images] in the subject line, as I did on this message. >>> >>> The deadline for comments is 7 February 2012. Please let us know if you need >>> an extension so that we don't miss your comments. >>> >>> Thanks~ >>> >>> ~fantasai >>> >>> >>> >>> >> > > > -- > cheers, > -ambrose <http://gniw.ca> >
Received on Tuesday, 7 February 2012 17:04:34 UTC