[Webkit-unassigned] [Bug 112032] New: SVG rendering ignores xml:space="preserve" attribute for text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 11 08:36:36 PDT 2013


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

           Summary: SVG rendering ignores xml:space="preserve" attribute
                    for text
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pbos at chromium.org
                CC: zimmermann at kde.org


Rendering a SVG file which contains multiple spaces inside text, and the xml:space="preserve" attribute will will still compact space characters. (Acting like xml:space="default".)

I think the offending line is in RenderSVGInlineText::RenderSVGInlineText on line 69 in chromium/src/third_party/WebKit/Source/WebCore/rendering/svg/RenderSVGInlineText.cpp, but I am overall unfamiliar with the WebRTC code base. The constructor for RenderSVGInlineText strips additional whitespace regardless of this tag.

Attaching screenshot of this bug in Chromium, using WebKit 537.32 (trunk at 143310), and expected result as rendered inside Firefox.

-- 
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