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

RESOLVED FIXED

Status

()

RESOLVED FIXED
12 years ago
12 years ago

People

(Reporter: longsonr, Assigned: longsonr)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

12 years ago
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.
(Assignee)

Comment 1

12 years ago
Created attachment 257674 [details]
testcase
Assignee: general → longsonr
Status: NEW → ASSIGNED
Attachment #257682 - Flags: superreview+
Attachment #257682 - Flags: review?(roc)
Attachment #257682 - Flags: review+
(Assignee)

Comment 3

12 years ago
checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.