You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This differs from my expectations. It also means that the provided serializeHtml() function doesn't include inline styles without modification.
Update: also, elem.style.cssText returns an object when a string is expected. Is this level of DOM compliance out-of-scope for undom or is this a reasonable expectation?
The text was updated successfully, but these errors were encountered:
Currently,
elem.attributes
does not include thestyle
attribute since that's stored as a separate object. See: https://github.com/developit/undom/blob/master/src/undom.js#L93-L95This differs from my expectations. It also means that the provided
serializeHtml()
function doesn't include inline styles without modification.Update: also,
elem.style.cssText
returns an object when a string is expected. Is this level of DOM compliance out-of-scope forundom
or is this a reasonable expectation?The text was updated successfully, but these errors were encountered: