W3C home > Mailing lists > Public > www-svg@w3.org > October 2016

Whitespacing for <tspan>s

From: Tyler Denniston <denniston.t@gmail.com>
Date: Tue, 18 Oct 2016 11:48:32 -0400
Message-ID: <CAM8KWD5Q6uqA0QAPXNyMnAbOPwKjt15PFyibuCcd2Tqp+QBfoQ@mail.gmail.com>
To: www-svg@w3.org

I am confused about the required handling of whitespace for <tspan>
elements that are in the middle of a <text> element. In the test
'text-tspan-01-b', the first test is:

      <text x="74" y="63.75" fill="blue">
        You are<tspan font-weight="bold" fill="green"> not </tspan>a banana.

Because no "xml:space" attribute is declared on the tspan or any
parent, shouldn't the leading and trailing spaces be removed around
the word "not", as is specified in the "default" value for "xml:space"

Also, for future reference, is this mailing list the correct place to
direct questions such as these?


Received on Tuesday, 18 October 2016 15:49:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:06 UTC