Closed Bug 371256 Opened 16 years ago Closed 16 years ago

combining <a> and <text> leads to validation problems

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: longsonr, Assigned: longsonr)

Details

Attachments

(2 files)

Various things allowed that should not be and not that should:

<svg><a><tspan></tspan></a></svg> 
currently allowed but should not be as <tspan> parentage must eventually lead to <text> similar for <textPath>. Curr

<svg><text><a><textPath></textPath></a></text>
Currently not allowed but should be as textPath only created if parent is text.

Basically we need to loop getting parents till we find a non <a> element then see what that is.
Attached image testcase
Assignee: general → longsonr
Status: NEW → ASSIGNED
checked in.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.