-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rather than always starting from the computed style value, transition.style now favors the inline value, if present, and only falls back to the computed value if an inline value is not present. By not computing the style value in the common case where an inline style is present, this is faster, but more importantly it is more predictable since a computed value can be surprisingly different from an inline value, such as when the inline value is specified as a percentage. Related d3/d3-selection#120. Fixes #47.
- Loading branch information
Showing
2 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters