SMIL:CSS Animation: Difference between revisions

Line 1: Line 1:
= Current status =
= Current status =
There's an existing [http://hg.mozilla.org/users/dholbert_mozilla.com/index.cgi/smil-patches/file/e40748053af3/smil_css smil_css patch] in the [http://hg.mozilla.org/users/dholbert_mozilla.com/index.cgi/smil-patches smil-patches patch-queue].  This patch...
There's an existing [http://hg.mozilla.org/users/dholbert_mozilla.com/smil-patches/file/tip/smil_css smil_css patch] in dholbert's [http://hg.mozilla.org/users/dholbert_mozilla.com/index.cgi/smil-patches smil-patches patch-queue].  This patch applies on top of the other patches in the queue, and it makes use of a simple [http://hg.mozilla.org/users/dholbert_mozilla.com/smil-patches/file/tip/getoverridestyle.patch "GetOverrideStyle" implementation] in order to set styles.
* applies on top of the other patches in the queue, and makes use of a basic GetOverrideStyle implementation.
 
* can only currently animate CSS properties of type nsCSSValue. (not nsCSSValuePair / nsCSSValueRect / etc)
The smil_css patch is not complete yet -- it currently has these limitations:
* can only currently interpolate between fixed-length units. (inch, mm, pt, etc).  (Need to tie in with PresContext / font-metrics to interpolate/interconvert between display-pixels / em-units / ex-units.)
* It can only animate CSS properties of type nsCSSValue. (not nsCSSValuePair / nsCSSValueRect / etc)
* It can only currently interpolate between fixed-length units. (inch, mm, pt, etc).  (unit-conversion code needs a reference to the PresContext & font-metrics to interpolate/interconvert between fixed-length units / display pixels / em-units / ex-units.)


= Overview of Proposed Strategy =
= Overview of Proposed Strategy =
Confirmed users
490

edits