[Webkit-unassigned] [Bug 111675] New: When we set word-wrap: break-word and xml:space="preserve" to svg text element, the text is collapsed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 6 20:59:07 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=111675

           Summary: When we set word-wrap: break-word and
                    xml:space="preserve" to svg text element, the text is
                    collapsed.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yuki.sekiguchi at access-company.com
                CC: zimmermann at kde.org


Created an attachment (id=191909)
 --> (https://bugs.webkit.org/attachment.cgi?id=191909&action=review)
reproduced html content

In the attached content, the text "abc" is SVG text and it have xml:space="preserve" attribute and is specified word-wrap: break-word.
The text is collapsed.

In the following spec, SVG don't perform automatic line break or word wrapping.
http://www.w3.org/TR/SVG/text.html#Introduction
> SVG performs no automatic line breaking or word wrapping.

Therefore, I think the collapsing is illegal.
Firefox don't collapse the text.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list