CSS/text-size-adjust: Difference between revisions
< CSS
Jump to navigation
Jump to search
(→property definition: draft) |
(Opera has no implementation (per Florian of Opera on CSSWG telcon 2012-088), but sites are using -o-text-size-adjust in the wild expecting one.) |
||
| Line 1: | Line 1: | ||
This page is for tracking the development of a standard 'text-size-adjust' property. There are | This page is for tracking the development of a standard '<code>text-size-adjust</code>' property. There are three known vendor prefixed implementations of it: <code>[http://dbaron.org/log/20111126-font-inflation -moz-], [http://msdn.microsoft.com/en-us/library/ff462082%28v=vs.92%29.aspx#sectionToggle2 -ms-], [https://developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/AdjustingtheTextSize/AdjustingtheTextSize.html -webkit-]</code>. - [[User:Tantek|Tantek]] | ||
Web developers are using at least 4 prefixed implementations in the wild, including <code>[https://www.google.com/search?q=site%3Agithub.com+%22-o-text-size-adjust%22 -o-text-size-adjust]</code> which Opera does not implement (as of 2012-088 per Florian of Opera on the CSSWG telcon that morning). | |||
== property definition == | == property definition == | ||
| Line 19: | Line 19: | ||
;<percentage> | ;<percentage> | ||
: inflate text size by the <percentage> given | : inflate text size by the <percentage> given | ||
Text inflation ... (needs to be defined). | |||
== see also == | == see also == | ||
Revision as of 19:09, 28 March 2012
This page is for tracking the development of a standard 'text-size-adjust' property. There are three known vendor prefixed implementations of it: -moz-, -ms-, -webkit-. - Tantek
Web developers are using at least 4 prefixed implementations in the wild, including -o-text-size-adjust which Opera does not implement (as of 2012-088 per Florian of Opera on the CSSWG telcon that morning).
property definition
- values: auto | none | <percentage>
- Initial value : auto for smartphone browsers supporting inflation, none in other cases (and then not modifiable)
- Applies to: all elements
- Inherited :yes
- <percentage> :yes, refer to the corresponding size of the text font
- Media: visual
- Computed value : the keyword or the percentage value
- Animatable: no
- auto
- mobile browsers may implement a text inflation algorithm
- none
- browser must not do any automatic text inflation
- <percentage>
- inflate text size by the <percentage> given
Text inflation ... (needs to be defined).