Closed
Bug 1012781
Opened 10 years ago
Closed 10 years ago
SVG implementation not correct for textLength in tspan children of text elements
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 890692
People
(Reporter: thomas.smailus, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20140131092626 Steps to reproduce: create SVG <text /> element, create a <tspan /> element as a child of it, where the tspan has a defined textLength. When rendered the length of the tspan should be the length specified. Actual results: text is rendered as if no textLength is specified on the tspan Expected results: The fiddle illustrates the issue an how it should render (via a raster content of a proper implementation of this case) http://jsfiddle.net/pUavF/5/ The text in the second boxes with text string "textLength in tspan" illustrate the example SVG, with the correct behavior shown in the IE raster image where the tspan text "textLength" fully fills the extents of the olive green rectangle.
Reporter | ||
Updated•10 years ago
|
Version: 24 Branch → 28 Branch
Updated•10 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•