Bug 140589

Summary: svg/W3C-SVG-1.1/text-text-06-t.svg fails
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Myles C. Maxfield 2015-01-17 20:45:41 PST
This test uses x and y glyph positioning.
Comment 1 Myles C. Maxfield 2015-01-17 21:09:38 PST
svg/text/text-text-06-t.svg is almost the exact same test and fails in the same way.
Comment 2 Myles C. Maxfield 2015-03-08 15:01:56 PDT
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.
Comment 3 Myles C. Maxfield 2015-03-08 15:02:33 PDT
Not a regression.