Support Style Attribute

Registered by codedread

Carve should support the style attribute which is used extensively in Inkscape and other programs so that Carve can properly display and roundtrip files. Thus, we should parse the style attribute and override those values on that element. Note that the 'style' attribute is not part of SVGT 1.2, but it is part of SVGF 1.1.

For instance:

<rect fill="red" style="fill:green" /> should produce a green rectangle in Design mode.

NOTE: Should definitely add the 'style' attribute to the Properties pane for all visible element types so that the user can edit both style/fill values simultaneously.

Blueprint information

Status:
Complete
Approver:
codedread
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
codedread
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.04
Started by
codedread
Completed by
codedread

Related branches

Sprints

Whiteboard

Available now in Build 26

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.