Bug 6007
| Summary: | WebKit+SVG should have common code to validate uri references | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | SVG | Assignee: | Rob Buis <rwlbuis> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cigitia, ian |
| Priority: | P4 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| URL: | http://www.w3.org/TR/SVG11/struct.html#Head | ||
| Bug Depends on: | |||
| Bug Blocks: | 91791 | ||
Eric Seidel (no email)
WebKit+SVG should have common code to validate uri references
The SVG spec defines exactly what sort of elements can reference other elements in the SVG spec.
Although we do some checking, we don't have a nice consistant model. I think finding a nice way to
implement this (with a virtual function on SVGElement?) could be a win for both code clarity and spec
conformance.
For a list of which elements are allowed to map to which others:
http://www.w3.org/TR/SVG11/struct.html#Head
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |