Re: [webkit-dev] Switching away from integers for layout

2011-06-23 Thread Peter Kasting
On Thu, Jun 23, 2011 at 11:46 AM, Levi Weintraub wrote: > To address this we plan to convert the rendering tree to float to allow for > better zooming and scaling support. Furthermore this could be expanded to > support sub-pixel layout and positioning which in turn would allow higher > precision

Re: [webkit-dev] Switching away from integers for layout

2011-06-23 Thread Eric Seidel
I know you made some consideration of "fixed point" vs. "float point" in your investigation. I suspect that decision is orthogonal to work of plumbing more precise types through the engine... but I am still curious to know if there was a decision if fixed point or float point might be the eventual

Re: [webkit-dev] Switching away from integers for layout

2011-06-23 Thread Dan Bernstein
On Jun 23, 2011, at 11:46 AM, Levi Weintraub wrote: > We’ve been getting an increasing number of complaints lately about the > zooming support in webkit and how hard it is to correctly support zooming in > complex web applications. > > To address this we plan to convert the rendering tree to f

Re: [webkit-dev] Switching away from integers for layout

2011-06-23 Thread Levi Weintraub
We spent a lot of time thinking about this and I should have mentioned our thoughts in the original email. My apologies. We're not opposed to fixed-point, but given that the line box tree and SVG both already use floating point, we felt like it made the most sense to validate in our prototype that

Re: [webkit-dev] Switching away from integers for layout

2011-06-28 Thread Robert O'Callahan
On Fri, Jun 24, 2011 at 7:11 AM, Levi Weintraub wrote: > Emil and I looked into what Firefox did. They did go with a > fixed-point-esque approach where one of their units represents 1/96th of a > pixel. That number should tell you something about when this work was done, > and they were mostly co