-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another v1.0.x regression: inlineStyles causing style loss for foreignObject #823
Comments
@zmwangx: The conversion of styles into attributes (like |
Okay, then why does disabling |
@zmwangx: Good point - Because the |
Thanks for the explanation. Sure, |
@zmwangx: Btw, disabling convertStyleToAttrs fixes the problem, too. :) |
Is there already data about what properties are supported by what tags? |
What about |
Made in so in v1.0.2. |
Take the same sample image as in #820:
v0.7.2:
v1.0.1:
v1.0.1
--disable=inlineStyles
(same as v0.7.2):Apparently,
inlineStyles
is inlining the CSScolor
property into acolor
attribute, but HTMLdiv
does not support thecolor
attribute.This is just a simple case;
inlineStyles
is causing a lot of very confusing destruction to my more complexforeignObject
s with more complex styling.--disable=inlineStyles
fixes those cases. MaybeinlineStyles
should be disabled altogether forforeignObject
s?The text was updated successfully, but these errors were encountered: