Open
Bug 1058645
Opened 10 years ago
Updated 2 years ago
::first-line and ::first-letter maybe should apply to foreignObject
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
NEW
People
(Reporter: heycam, Unassigned)
References
Details
Attachments
(1 file)
252 bytes,
text/html
|
Details |
It's not clear whether it should, but maybe!
Comment 1•10 years ago
|
||
http://www.w3.org/TR/SVG/styling.html suggests not. CSS2's dynamic pseudo-classes :hover, :active and :focus and pseudo-classes :first-child, :visited, :link and :lang ([CSS2], section 5.11). The remaining CSS2 pseudo-classes, including those having to do with generated content ([CSS2], chapter 12), are not part of the SVG language definition. An SVG element gains focus when it is selected. See Text selection.
Reporter | ||
Comment 2•10 years ago
|
||
In SVG 2 ::first-line and ::first-letter will be applying to <text>; the corresponding section in the SVG 2 draft will need to be updated. Given that, does it make sense for them to apply to <foreignObject>, if that has HTML content inside it?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•