W3C home > Mailing lists > Public > www-svg@w3.org > January 2005

Re: SVG12: Text Layout vs Scripting

From: Jon Ferraiolo <jon.ferraiolo@adobe.com>
Date: Wed, 12 Jan 2005 07:33:58 -0800
To: Thomas DeWeese <Thomas.DeWeese@Kodak.com>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-svg@w3.org
Message-id: <6.1.1.1.2.20050112073204.02129808@mailsj-v1.corp.adobe.com>

At 06:21 AM 1/12/2005, Thomas DeWeese wrote:
    My point is that if you already have the code to make forceRedraw
>work.  Which would be as you say, to first force a full update of the
>DOM, and then update the display, there is no reason not to have
>getBBox first check a dirty bit (is the DOM for this node up to date?)
>and if not bring the DOM up to date using the same code as is in the
>first step of forceRedraw.

Yes, Thomas, I agree that this is way user agents must behave. getBBox() 
needs to work correctly whenever it is called. You don't need a 
forceRedraw() to ensure that the DOM returns reliable results.

Jon 
Received on Wednesday, 12 January 2005 15:34:45 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:29 GMT