Bug 105432 - transition-delay and transition-duration return incorrect values when querying using the computed style.
: transition-delay and transition-duration return incorrect values when queryin...
Status: RESOLVED FIXED
: WebKit
CSS
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
: WebExposed
:
: 93136
  Show dependency treegraph
 
Reported: 2012-12-19 06:30 PST by
Modified: 2013-01-08 10:09 PST (History)


Attachments
Patch (9.11 KB, patch)
2013-01-08 04:37 PST, Alexis Menard (darktears)
no flags Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-12-19 06:30:49 PST
style.transitionDelay = "10ms";

returns correctly 10ms when using style.transitionDelay to get the value but when querying the transition-delay value using the computed style the following value is returned : 0.009999999776482582s. It is inaccurate and goes against the spec and what other UAs do, it should be 0.01s.
------- Comment #1 From 2013-01-08 04:37:58 PST -------
Created an attachment (id=181684) [details]
Patch
------- Comment #2 From 2013-01-08 10:09:24 PST -------
(From update of attachment 181684 [details])
Clearing flags on attachment: 181684

Committed r139070: <http://trac.webkit.org/changeset/139070>
------- Comment #3 From 2013-01-08 10:09:27 PST -------
All reviewed patches have been landed.  Closing bug.