Skip to content

style attributes were not taken into account with innerHTML#21

Open
dmcinnes wants to merge 5 commits intothatcher:masterfrom
dmcinnes:master
Open

style attributes were not taken into account with innerHTML#21
dmcinnes wants to merge 5 commits intothatcher:masterfrom
dmcinnes:master

Conversation

@dmcinnes
Copy link

Hi Guys,
It appears CSS2Properties was only looking at cssText of the element passed in, which was only the case with style nodes. I've extended CSS2Properties to also check the style attribute of the passed in node (but default to cssText if available).

Thanks,
Doug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants