Bug 140589
| Summary: | svg/W3C-SVG-1.1/text-text-06-t.svg fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Myles C. Maxfield
This test uses x and y glyph positioning.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Myles C. Maxfield
svg/text/text-text-06-t.svg is almost the exact same test and fails in the same way.
Myles C. Maxfield
BreakingContext::handleText():
if (isSVGText && m_current.offset()) {
// Force creation of new InlineBoxes for each absolute positioned character (those that start new text chunks).
if (downcast<RenderSVGInlineText>(renderText).characterStartsNewTextChunk(m_current.offset()))
ensureCharacterGetsLineBox(m_lineMidpointState, m_current);
}
If the y="" attribute is a list, then each character gets its own line box, which means that ligatures don't work across them.
Myles C. Maxfield
Not a regression.