W3C home > Mailing lists > Public > www-style@w3.org > November 2009

updates to CSS transforms (2d/3d) and transitions

From: Dean Jackson <dino@apple.com>
Date: Tue, 3 Nov 2009 08:19:28 +1100
Message-Id: <7B28B436-18FB-4917-9174-97548ED8BD56@apple.com>
To: "www-style@w3.org CSS" <www-style@w3.org>
Based on feedback here, I updated the specs in:
http://dev.w3.org/csswg/css3-transitions/
http://dev.w3.org/csswg/css3-2d-transforms/
http://dev.w3.org/csswg/css3-3d-transforms/


2D Transforms

- noted that CSSValue is deprecated, so CSSTransformList will need  
updating
- added a multiplyLeft function to CSSMatrix
- noted that when animations produce singular matrices they are not  
rendered
- noted that the convert* methods really should be in CSSOM View
- removed mention that transforms act like position: relative
- added the text from CSS 2.1 background-position into transform- 
origin, in relation to the number of attributes and default values
- removed "none" from the list of accepted transform functions
- fixed error where translateZ was present and skew was missing in the  
animations section
- s/functions/methods in DOM section
- added DOMException to exceptions, and fixed s/ERROR/ERR/ typo
- removed mention of Z component from scale definition
- added missing skew() method to CSSMatrix

3D Transforms

- perspective now takes a Length value
- described what the reverse face of a transformed element should look  
like


Transitions

- made it clear that shorthand accepts duration before delay
  but also noted the request for 1s/2s type syntax
- space-separated lists of animatable property values are only
  interpolated if the lists have the same number of elements
- noted that the TransitionEvent is for notification, and thus
  has no default action (ie. cancelling the event doesn't really
  do anything)
- added elapsedTime to the context info of the TransitionEvent
- made it clear that transition events do not fire if the transition
  is cancelled (say if the transition-property is changed)
- described that shorthand properties can be animated
- referenced the SVG specification for the list of SVG properties that
  can be animated
- changed transition properties from "visual" media to "interactive",
  which means they do not apply to print
- noted that lists in transition properties repeat as a whole in order
  to provide necessary values
- added apostrophes into the property definitions (as reported by  
Řyvind)
- noted that shadow lists only interpolate when there are the same  
number
  of elements in the list
- Changes properties applying to "block-level and inline-level  
elements" to
  "all elements".
- Transitions also apply to :before and :after pseudo elements
Received on Monday, 2 November 2009 21:20:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT