[webkit-dev] Page, Frame, FrameView and FrameTree clarification needed

Holger Freyther zecke at selfish.org
Mon Jul 16 10:28:19 PDT 2007


Am 16.07.2007 um 18:52 schrieb Adam Roben:


>>
>> Answers and pointers to manual Frame tests would be appreciated.  
>> I'm tempted to go with the 2nd option.
>
>    I think you'll have a much easier time getting things right in  
> the end if you go with the first option (one native widget  
> (GdkWindow) per Page, not per Frame). Otherwise you'll have lots of  
> trouble getting painting to happen in the correct order (imagine an  
> absolutely positioned div in the main frame that overlaps a  
> subframe -- the subframe needs to paint after everything in the  
> main frame *except* for the div).

Hi Adam,
this is the answer I had hoped for thanks for pushing me to the  
limits of my Gtk+ knowledge. The first additional question is Page  
doesn't have a paint method, I can only get the mainFrame() and Frame  
has a paint method. I wonder who would own this native Window.

kind regards
	z.





More information about the webkit-dev mailing list