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 15680 - perspective-origin doesn't specify handling for a single value
Summary: perspective-origin doesn't specify handling for a single value
Status: RESOLVED DUPLICATE of bug 16064
Alias: None
Product: CSS
Classification: Unclassified
Component: Transforms (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Dean Jackson
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-23 19:01 UTC by Aryeh Gregor
Modified: 2012-02-29 17:00 UTC (History)
6 users (show)

See Also:


Attachments

Description Aryeh Gregor 2012-01-23 19:01:58 UTC
"""
The ‘perspective-origin’ property establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.

. . .

Value:	 [ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | [ [ left | center | right ] || [ top | center | bottom ] ]
"""
http://dev.w3.org/csswg/css3-3d-transforms/#perspective-origin-property

This allows syntax like "perspective-origin: 10px", but doesn't say what it means.  Looking at implementations, it should be the same as "10px center", just like transform-origin.  This needs to be specified explicitly.
Comment 1 Simon Fraser 2012-02-21 22:25:44 UTC
perspective-origin syntax should match transform-origin, and be like background-position.
Comment 2 Simon Fraser 2012-02-29 17:00:22 UTC
Forward-duping this to 16064.

*** This bug has been marked as a duplicate of bug 16064 ***