CSS/text-size-adjust: Difference between revisions

From MozillaWiki
< CSS
Jump to navigation Jump to search
(added editor next actions)
Line 39: Line 39:
A somewhat reasonable guess might be that it sets a maximum inflation level, but relative to what?  Is '0%' equivalent to 'none', or is '100%', or are they both different from 'none' in some way?  If it actually just specifies the inflation that would be pretty bad.
A somewhat reasonable guess might be that it sets a maximum inflation level, but relative to what?  Is '0%' equivalent to 'none', or is '100%', or are they both different from 'none' in some way?  If it actually just specifies the inflation that would be pretty bad.


* Create some test cases to figure out what iOS is doing for %s and test them on an iOS device touch.
* Create some test cases to figure out what iOS is doing for %s and test them on an iOS device (iPhone / iPod touch / iTouch).
* write-up percentage details accordingly
* write-up percentage details accordingly



Revision as of 19:50, 28 March 2012

CSS text-size-adjust

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-.

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).

- Tantek

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).

editor next actions

must for editor draft

  • define text inflation (as requested by CSSWG 2012-088 telcon before checking in as editor's draft)

should for FPWD

define percentage values

The definition of <percentage> is not particularly clear.

  • Need to figure out what iOS Safari actually *does* for percentages.

A somewhat reasonable guess might be that it sets a maximum inflation level, but relative to what? Is '0%' equivalent to 'none', or is '100%', or are they both different from 'none' in some way? If it actually just specifies the inflation that would be pretty bad.

  • Create some test cases to figure out what iOS is doing for %s and test them on an iOS device (iPhone / iPod touch / iTouch).
  • write-up percentage details accordingly

see also