https://issues.apache.org/bugzilla/show_bug.cgi?id=47359

           Summary: nested baseline-shift are not additive
           Product: Batik
           Version: 1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Bridge
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=23803)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23803)
testcase for baseline-shift property

According to the spec
(http://www.w3.org/TR/SVG11/text.html#BaselineShiftProperty),
baseline-shift properties can nest and are additive but not inheritable.

the following example is expected to render text on the same line though the
tspan is back on the baseline:

<text baseline-shift="10pt">the quick <tspan fill="brown">brown</tspan>
fox</text>

the following example is expected to render the tspan within another tspan
higher up compared to the baseline:

<text> using <tspan baseline-shift="super">super <tspan
baseline-shift="5pt">super!</tspan> script</tspan></text>

Attached are testcases for the baseline-shift property

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to