-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the helper function
style.getStylePropertyValue()
, return a proc…
…essed (generated) string only if the request for the value was in rendered units. Otherwise, just return the existing string representation in `ele.pstyle(propName).strValue`. - For the rendered case, make sure that a space-separated string is returned for `multiple:true` properties. - Also for the rendered case, make sure that units are handled more strictly. - This affects `ele.style()` and `ele.renderedStyle()` getters. Ref : Cannot query style value when it supports string array #2221
- Loading branch information
Showing
2 changed files
with
43 additions
and
8 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