Bug 140589 - svg/W3C-SVG-1.1/text-text-06-t.svg fails
Summary: svg/W3C-SVG-1.1/text-text-06-t.svg fails
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-17 20:45 PST by Myles C. Maxfield
Modified: 2015-03-08 15:02 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.