SMIL:CSS Animation: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: = 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 smil-patches [http://hg.mo...)
 
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 smil-patches [http://hg.mozilla.org/users/dholbert_mozilla.com/index.cgi/smil-patches patch-queue].  This patch...
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...
* applies on top of the other patches in the queue, and makes use of a basic GetOverrideStyle implementation.
* 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)
* can only currently animate CSS properties of type nsCSSValue. (not nsCSSValuePair / nsCSSValueRect / etc)

Revision as of 18:00, 22 July 2008

Current status

There's an existing smil_css patch in the smil-patches patch-queue. This patch...

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

Overview of Strategy

(dholbert) I'll fill this in soon with a summary of the strategy used in the above patch.