[webkit-dev] which files in WebKit codebase would tell the attributes(x, y, width and height) of a Video Window ?

Simon Fraser simon.fraser at apple.com
Wed May 27 18:00:47 PDT 2009


On May 27, 2009, at 5:19 PM, Ajit Singh wrote:

> Which files in WebKit deal with the positioning (x,y) and scaling of  
> video window(width and height) ?
> Suppose I'm rendering a page with a video window in it such as
> http://webkit.org/blog/140/
>
> then I want to know what files should I look into to know the  
> coordinates and width and height of the Video Window.

The position and size of the video element is determined by layout;  
RenderVideo is the class that handles the video element.

For information about layout basics, see <http://webkit.org/blog/114/webcore-rendering-i-the-basics/ 
 > and subsequent blog posts.

Simon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090527/5f46c366/attachment.html>


More information about the webkit-dev mailing list