W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2011

Re: text-area-208-t.svg change

From: Alex Danilo <alex@abbra.com>
Date: Tue, 10 May 2011 21:48:03 +1000
Message-Id: <34AZKL.51Z8EYV44GK@abbra.com>
To: "Erik Dahlstrom" <ed@opera.com>
Cc: public-svg-wg@w3.org, "www-svg@w3.org" <www-svg@w3.org>

Hi Erik,

	Looks like you posted this to www-svg instead of the
group list, but anyway...

--Original Message--:
>Hi svg-wg,
>
>In text-area-208 [1] there are two lines (one horizontal and one vertical)  
>that act as a kind of guide for where the textArea element is placed. This  
>is how it looks:
>
>   <line x1="15" y1="63" x2="465" y2="63" stroke="black"  
>stroke-width="0.25"/>
>   <line x1="15" y1="63" x2="15" y2="290" stroke="black"  
>stroke-width="0.25"/>
>   <textArea x="15" y="60" width="auto" height="auto" font-size="13"  
>xml:space="default"> ...
>
>Now, I wonder why the y1 of the lines here is not 60 like the textArea  
>element, can anyone explain that?

On the Bitflash viewer it aligns the line at the top nicely to the first
line of text, so probably an authoring artifact.

>Any objections to me changing those two line elements to have a y1/y2 of  
>60 instead of 63 so that they match the textArea y position?

No, I think the change is sensible and doesn't affect the test at all.

Alex

>Cheers
>/Erik
>
>[1] http://dev.w3.org/SVG/profiles/1.2T/test/svg/text-area-208-t.svg
>
>-- 
>Erik Dahlstrom, Core Technology Developer, Opera Software
>Co-Chair, W3C SVG Working Group
>Personal blog: http://my.opera.com/macdev_ed
>
>
Received on Tuesday, 10 May 2011 11:49:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 10 May 2011 11:49:10 GMT