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
Most of the elements in src/types/style.rs support arbitrary attributes, but they aren't being included in an attrs field HashMap like other elements.
We need to add support for that based on the specification here, and support writing out a combination of attributes stored in their own fields as well as an attrs field. There's an example of this in src/writer.rs in the write_simple_data method
The text was updated successfully, but these errors were encountered:
pjsier
changed the title
Add attrs to style elements`
Add attrs to style elements
Dec 8, 2022
Most of the elements in
src/types/style.rs
support arbitrary attributes, but they aren't being included in anattrs
fieldHashMap
like other elements.We need to add support for that based on the specification here, and support writing out a combination of attributes stored in their own fields as well as an
attrs
field. There's an example of this insrc/writer.rs
in thewrite_simple_data
methodThe text was updated successfully, but these errors were encountered: