This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15521 - Add 'transform-origin' value 'baseline'
Summary: Add 'transform-origin' value 'baseline'
Status: RESOLVED LATER
Alias: None
Product: CSS
Classification: Unclassified
Component: Transforms (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: Simon Fraser
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-11 14:26 UTC by Jon Rimmer
Modified: 2012-02-21 22:23 UTC (History)
6 users (show)

See Also:


Attachments

Description Jon Rimmer 2012-01-11 14:26:27 UTC
When transforming text, it may often be desirable to have the origin of the transform in the block-flow dimension to be the dominant baseline of some line of text. Such transforms are particularly used within Kinetic Typography to scale the size of letters or words in an attractive way.

At present CSS has no easy way to perform transformations from the baseline. I propose that the 'transform-origin' property be extended with a new 'baseline' keyword to support this use-case. My original proposal, containing more detail, can be found in this post to the www-style mailing list:

http://lists.w3.org/Archives/Public/www-style/2011Feb/0582.html
Comment 1 Simon Fraser 2012-02-21 22:23:45 UTC
We'll consider this for CSS4 Transforms.