textArea and bounding box

Hi all,

I'm working on adaptation of documents based on the screen size using SVG and Javascript, in a manner similar to what Cameron did in [1]. Cameron used text elements and getComputedTextLength in SVG 1.1. I'm using textArea elements and the getBBox function in SVG Tiny 1.2. I think a clarification in the 1.2 Tiny Spec is needed with regards to getBBox and textArea.
- It should say that for textArea the bounding box is computed after clipping, if the text is bigger than what can be displayed in the area. This is what Opera and GPAC implement.
- The sentence "An exception to this is the 'textArea', which uses that element's geometry for the bounding box calculation." should also be clarified.
- Adding an example in the SVGLocatable text would be good.

Thanks,

Cyril

[1] http://portal.acm.org/citation.cfm?id=1410172
-- 
Cyril Concolato
Maître de Conférences/Associate Professor
Groupe Mutimedia/Multimedia Group
Telecom ParisTech
46 rue Barrault
75 013 Paris, France
http://concolato.blog.telecom-paristech.fr/

Received on Wednesday, 5 May 2010 16:36:38 UTC