Re: using it for more printing --
My concern would be that we'll find a lot of places where we
assume 1 presshell and that those will be difficult to find.
We tried to not assume that in mozilla/accessible
Would there be a way to deal with this in script. For
example, if a script wanted to get the accessible object for
a given DOM node, the presshell would need to be part of the
call to nsIAccessibilityService::GetAccessibleFor(). The
presentation affects how accessibility is exposed -- we care
about things like bounds and whether things are partially or
fully offscreen. Each accessible must know what presShell
it's in so that it can return that information.
- Aaron
L. David Baron wrote:
On Wednesday 2006-10-25 12:53 -0400, Aaron Leventhal wrote:
Why do our interfaces allow for multiple presshells?
We support multiple presentations of the same document. We
currently use this for printing. We should probably be using it for
print preview if print preview weren't a total hack (we actually
might be). In theory we could also use it for things like multiple
views in editors, although nobody's done that.
One school of thought says we should remove this and switch printing
to clone the document. The other says that this doesn't hurt us
much and can be quite useful.
-David
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout