mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-22 20:25:49 +00:00
style parsing fix
code style should be ok this time
This commit is contained in:
parent
facdec1225
commit
049259cc09
1 changed files with 3 additions and 1 deletions
|
|
@ -354,7 +354,9 @@
|
|||
|
||||
if (ruleMatchesElement) {
|
||||
for (var property in fabric.cssRules[rule]) {
|
||||
styles[property] = fabric.cssRules[rule][property];
|
||||
var attr = normalizeAttr(property);
|
||||
var value = normalizeValue(attr, fabric.cssRules[rule][property]);
|
||||
styles[attr] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue