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
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To: Alexis Menard (darktears)
: WebExposed
Depends on:
Blocks: 93136
  Show dependency treegraph
 
Reported: 2012-12-19 06:30 PST by Alexis Menard (darktears)
Modified: 2013-01-08 10:09 PST (History)
6 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Menard (darktears) 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 Alexis Menard (darktears) 2013-01-08 04:37:58 PST
Created attachment 181684 [details]
Patch
Comment 2 WebKit Review Bot 2013-01-08 10:09:24 PST
Comment on attachment 181684 [details]
Patch

Clearing flags on attachment: 181684

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