[webkit-dev] Puzzled, can anyone give me a hint?

2009-06-15 Thread TianShijun

Hi All,
I am reviewing the code of WebKit. I found that in PluginView.h/cpp , only one 
method (setPlatformPluginWidget) can set the private member 
PluginView::m_window to be non-zero.

I have searched all the codes and found that only PluginViewMac.cpp has invoked 
this function. Is that mean PluginView::m_window is always equal to zero except 
in Mac? But actually it is a valid value in Qt/X11. Then where do we initialize 
it?

Thanks!


_
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TLswm=1___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Cairo Build: WebFrame.cpp fails to compile

2009-06-15 Thread Taeyun Kim
Hi,

I'm trying to compile Cairo version of WebKit.

But WebFrame.cpp in WebKit project fails to compile.

The error message tells the incompatibility between PlatformGraphicsContext* 
and CGContextRef. (the exact message is in Korean, so I cannot post it here).
And I see the line: #include CoreGraphics/CoreGraphics.h in WebFrame.cpp 
which I think shouldn't 'alive' in Cairo version (I'm not sure though, since I 
don't know much about the source).

I searched the mailing list and found a few related messages, but there was no 
solution.
I've updated the source to r44680, but the problem still persists.

How can I fix this problem?

Thanks in advance.




___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Puzzled, can anyone give me a hint?

2009-06-15 Thread Joe Mason
TianShijun wrote:
 Hi All,
 I am reviewing the code of WebKit. I found that in PluginView.h/cpp ,
 only one method (setPlatformPluginWidget) can set the private member
 PluginView::m_window to be non-zero.

 I have searched all the codes and found that only PluginViewMac.cpp
 has invoked this function. Is that mean PluginView::m_window is always
 equal to zero except in Mac? But actually it is a valid value in
 Qt/X11. Then where do we initialize it?

 Thanks!
m_window is set directly in PluginView::init() in PluginViewWin.cpp

Joe
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to cross compile Webkit for MIPS

2009-06-15 Thread tonikitoo (Antonio Gomes)
deuxliquid, assuming that you have already a sandboxed toolchain set
to cross compile webkit to your MIPS platform, your question can be
considered quite vague ... please , inform in more details port you
would like to build, compiler version, chroot you are using ...

2009/6/14 deuxliquid deuxliq...@yahoo.com:
 Hi all,
 I am working on Webkit for MIPS. How do I configure Webkit for MIPS?
 Anybody helps me?
 Thanks in advance!

 Hai

 
 Tốc độ nhanh, miễn quảng cáo, lưu trữ vô hạn - Yahoo! Mail mang đến cho bạn
 tất cả.
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev





-- 
--Antonio Gomes
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to find a WebKit Nightly corresponding roughly to particular Safari version

2009-06-15 Thread Adam Roben

On Jun 14, 2009, at 10:02 AM, Thomas Jaggi wrote:


Hello there

I'm new to this list and hope it's the right place to get rid of my  
question. Otherwise I want to apologize.


Well, I'd like to download a WebKit Nightly Build which corresponds  
roughly to Safari 3.2.3 (respectively 2.0.4). There is a version  
matrix on Wikipedia (http://en.wikipedia.org/wiki/Safari_ 
(web_browser) ) but since the Nightly Builds are numbered  
differently it's quite complicated. I tried downloading and checking  
some of them with a detection script but that takes quite some time.  
Is there anywhere a matrix which compares Nightly Builds and the  
versions which made it into Safari? I doesn't have to be exactly the  
same, I only need them for CSS testing.


In general you can look at http://trac.webkit.org/browser/releases/ 
Apple to see what Subversion revisions correspond to various releases  
of Safari. Most/all releases are made from a branch, and nightlies are  
made from trunk, so the nightlies won't match the release exactly.


It looks like Safari 3.2.3 (and 3.2.2) is missing from that page. Mark  
Rowe might know why. Safari 2.0.4 predates when we started making tags  
of Safari releases in Subvesion.


-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to find a WebKit Nightly corresponding roughly to particular Safari version

2009-06-15 Thread Thomas Jaggi


Am 15.06.2009 um 16:55 schrieb Adam Roben:


On Jun 14, 2009, at 10:02 AM, Thomas Jaggi wrote:


Hello there

I'm new to this list and hope it's the right place to get rid of my  
question. Otherwise I want to apologize.


Well, I'd like to download a WebKit Nightly Build which corresponds  
roughly to Safari 3.2.3 (respectively 2.0.4). There is a version  
matrix on Wikipedia (http://en.wikipedia.org/wiki/ 
Safari_(web_browser) ) but since the Nightly Builds are numbered  
differently it's quite complicated. I tried downloading and  
checking some of them with a detection script but that takes quite  
some time. Is there anywhere a matrix which compares Nightly Builds  
and the versions which made it into Safari? I doesn't have to be  
exactly the same, I only need them for CSS testing.


In general you can look at http://trac.webkit.org/browser/releases/Apple 
 to see what Subversion revisions correspond to various releases of  
Safari. Most/all releases are made from a branch, and nightlies are  
made from trunk, so the nightlies won't match the release exactly.


It looks like Safari 3.2.3 (and 3.2.2) is missing from that page.  
Mark Rowe might know why. Safari 2.0.4 predates when we started  
making tags of Safari releases in Subvesion.


-Adam


Hi Adam

Thanks for your help. If I got that right, 38725 would correspond to  
Safari 3.2.1 (http://trac.webkit.org/changeset/38725). Using the  
'official' detection script with 38707 (the last version before the  
non-existing 38725) I'm told Your WebKit version number is 528.5.  
But according to Wikipedia this would be Safari 4. Am I doing  
something wrong?


Thomas

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Cairo Build: WebFrame.cpp fails to compile

2009-06-15 Thread Brent Fulgham
Hi,

2009/6/15 Taeyun Kim z...@logicplant.com:
 I'm trying to compile Cairo version of WebKit.

 But WebFrame.cpp in WebKit project fails to compile.

There are a series of CoreGraphics-specific calls in this file related
to creating a printing context.  I have not put together a patch that
addresses this, so it won't build as-is.

The patch on https://bugs.webkit.org/show_bug.cgi?id=17484 will add
some #if/def guards around this printing code, which should resolve
your issue.

Good luck!

-Brent
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to execute a JavaScript containing site with JSCore?

2009-06-15 Thread Geoffrey Garen
Is there a straigthforwarded way to collect all the relationships  
between the

site's object and to get a js-context of it?

What I want in the end is to get access on the `document`-element,  
e.g. to

perform calls like `document.forms`.


If you have a JSContextRef that corresponds to a WebKit frame, you can  
get its global object using JSContextGetGlobalObject(), and get the  
global object's document using JSObjectGetProperty().


Geoff
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Puzzled, can anyone give me a hint?

2009-06-15 Thread Joe Mason
TianShijun wrote:
 Hi Joe,
 Now I get to know how it work in Qt/Windows. But i found that in
 Qt/X11, only PluginView.cpp and PluginViewQt.cpp will be compiled. Is
 that mean all the platformPluginWidget() will return 0? There are many
 platformPluginWidget()-foo() in PluginViewQt.cpp.

Take a closer look at PluginView.h:

#if (PLATFORM(QT)  PLATFORM(WIN_OS)) || defined(XP_MACOSX)
// On Mac OSX and Qt/Windows the plugin does not have its own native widget,
// but is using the containing window as its reference for
positioning/painting.
PlatformPluginWidget m_window;
public:
PlatformPluginWidget platformPluginWidget() const { return m_window; }
void setPlatformPluginWidget(PlatformPluginWidget widget) { m_window =
widget; }
#else
public:
PlatformPluginWidget platformPluginWidget() const { return
platformWidget(); }
#endif

On Mac and Qt/Win, platformPluginWidget() returns m_window, but on all
others (including Qt/X11) m_window doesn't even exist and it just
returns platformWidget().

Joe
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] How to find a WebKit Nightly corresponding roughly to particular Safari version

2009-06-15 Thread Darin Adler

On Jun 15, 2009, at 9:03 AM, Thomas Jaggi wrote:

Thanks for your help. If I got that right, 38725 would correspond to  
Safari 3.2.1 (http://trac.webkit.org/changeset/38725). Using the  
'official' detection script with 38707 (the last version before the  
non-existing 38725) I'm told Your WebKit version number is 528.5.  
But according to Wikipedia this would be Safari 4. Am I doing  
something wrong?


Unfortunately, due to branching, changeset numbers are not sufficient  
by themselves. Releases are done on branches. The changeset of the  
branch doesn't tell you what changeset on the main trunk is closest to  
that version. Typically it just indicates the latest main trunk  
changeset at the moment the release was tagged, which could be long  
after the release was done.


-- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread TianShijun

Hi All,
I have tried to modify the PluginView::paint method in PluginViewQt.cpp to dump 
the flash content. But the result is always a gray image. Does any one know 
why? Or has anyone implemented  the similar function before? 

I have also tested the print/print preview function on many browsers 
(Firefox, Konqueror, arora, Opera). None of them can print flash content. Is 
there any way to implement it?

Thanks a lot.

PS: There may be a bug of PluginView::paint in PuginViewWin.cpp.While dumping 
web page with flash content into image, the dumped flash content has a  doubled 
offset. It works well if we comment the SetWorldTransform lines in 
PluginView::paintWindowedPluginIntoContext.

Here are the codes of my PluginView::paint in PluginViewQt.cpp. It always 
outputs a gray image in Linux.
---
void PluginView::paint(GraphicsContext* context, const IntRect rect)
{
if (!m_isStarted) {
paintMissingPluginIcon(context, rect);
return;
}

//if (m_isWindowed || context-paintingDisabled())
//return;
//notImplemented();

if(context-paintingDisabled()) return;
PlatformGraphicsContext *painter = context-platformContext();
if(painter){
PlatformPluginWidget widget = platformPluginWidget();
if(widget){
//QPixmap pixmap = QPixmap::grabWidget(widget);
//QPixmap pixmap = QPixmap::grabWindow(widget-winId());
//QPixmap pixmap = QPixmap::grabWindow((WId)m_npWindow.window); 
 
//widget-render(painter, QPoint(widget-x(),widget-y()), 
QRegion(0,0,widget-width(),widget-height()),
//QWidget::DrawWindowBackground | QWidget::DrawChildren | 
QWidget::IgnoreMask );
QPixmap pixmap(widget-size());
widget-render(pixmap);
pixmap.save(/tmp/test.ppm);  
painter-drawPixmap(QPoint(widget-x(),widget-y()), pixmap);
}
}
}



_
Messenger10年嘉年华,礼品大奖等你拿!
http://10.msn.com.cn___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread tonikitoo (Antonio Gomes)
TianShijun,

QtWebKit (as well as Gtk and possibly others port) uses XEmbed to get
plugins (e.g. Flash) running. XEmbed is a X protocol to embed X window
onto others (containers). That said, when you try dumping flash by
the way you pasted below, you are not even touching the plugin
painting surface at all, but instead dumping the background image
QtWebKit draws under the XEmbed plugin window. Webkit has no control
of what flash is drawing. That is sorta default behavior on Linux ...

Windows we have ways to force flash to get painted onto WebKit drawing
surface, but it is unsupport by Flash on Linux. You are probably
looking for a *windowless* plugin implementation ...



2009/6/15 TianShijun tians...@hotmail.com:
 Hi All,
 I have tried to modify the PluginView::paint method in PluginViewQt.cpp to
 dump the flash content. But the result is always a gray image. Does any one
 know why? Or has anyone implemented  the similar function before?

 I have also tested the print/print preview function on many browsers
 (Firefox, Konqueror, arora, Opera). None of them can print flash content. Is
 there any way to implement it?

 Thanks a lot.

 PS: There may be a bug of PluginView::paint in PuginViewWin.cpp.While
 dumping web page with flash content into image, the dumped flash content has
 a  doubled offset. It works well if we comment the SetWorldTransform lines
 in PluginView::paintWindowedPluginIntoContext.

 Here are the codes of my PluginView::paint in PluginViewQt.cpp. It always
 outputs a gray image in Linux.
 ---
 void PluginView::paint(GraphicsC ontext* context, const IntRect rect)
 {
 if (!m_isStarted) {
 paintMissingPluginIcon(context, rect);
 return;
 }

 //if (m_isWindowed || context-paintingDisabled())
 //return;
 //notImplemented();

 if(context-paintingDisabled()) return;
 PlatformGraphicsContext *painter = context-platformContext();
 if(painter){
 PlatformPluginWidget widget = platformPluginWidget();
 if(widget){
 //QPixmap pixmap = QPixmap::grabWidget(widget);
 //QPixm ap pixmap = QPixmap::grabWindow(widget-winId());
 //QPixmap pixmap =
 QPixmap::grabWindow((WId)m_npWindow.window);
 //widget-render(painter, QPoint(widget-x(),widget-y()),
 QRegion(0,0,widget-width(),widget-height()),
 //QWidget::DrawWindowBackground | QWidget::DrawChildren |
 QWidget::IgnoreMask );
 QPixmap pixmap(widget-size());
 widget-render(pixmap);
 pixmap.save(/tmp/test.ppm);
nb sp;painter-drawPixmap(QPoint(widget-x(),widget-y()),
 pixmap);
 }
 }
 }



 
 立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载!
 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev





-- 
--Antonio Gomes
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Should we put the webkit.org mailing lists on Gmane?

2009-06-15 Thread Gustavo Noronha
On Sat, 2009-06-13 at 09:00 -0400, Adam Roben wrote:
 
 Gmane (http://gmane.org) provides a few features that could be
 useful for thewebkit.org mailing lists, including:
 
 * a nicer web interface than Mailman's
 * indexed search (maybe better than Mailman's, certainly at least as
 good, and with a better interface)

+1, mainly for the indexed search, I'm not much into news =)

 Getting the lists posted and imported just requires filling out a web
 form (for posting the lists) and sending an email (to request the
 import). I'm happy to take responsibility for doing this if people are
 in favor of it.

Thanks for taking the initiative!

See you,

-- 
Gustavo Noronha g...@gnome.org
GNOME contributor

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Building WebKit GTK+

2009-06-15 Thread Gustavo Noronha
Hey,

On Mon, 2009-06-15 at 06:04 -0700, jagadeesh k wrote:
 
 I downloaded WebKit GTK+ port for building it on Linux cent
 OS.After downloading I extracted components from downloaded tar
 file.But in extracted directory there is no autogen.sh file,for
 building webkit i need that file.Let me know how to build webkit GTK+?

autogen.sh is only available if you fetch WebKitGTK+ from the subversion
repository, or the git mirror. When using tarballs, you will find the
configure script, that should be enough for building.

See you,

-- 
Gustavo Noronha g...@gnome.org
GNOME contributor

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Windows Multithread issue

2009-06-15 Thread 熊科浪









hi
I want to develop c++ application that uses WebKit on Windows. Can I start 
a thread for each web view? or I must ceate every web view and handle every 
event in the main thread?and why?are there any plan to change it?

Thank you.

--
clive
_
Messenger10年嘉年华,礼品大奖等你拿!
http://10.msn.com.cn___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread John Abd-El-Malek
Yes it's possible.  The Chromium port runs web views in different processes.
 You can look at the design docs and source to see how it's done, that
should give you an idea of what you have to do this on different threads.

2009/6/15 熊科浪 xiongkel...@hotmail.com


 hi
 I want to develop c++ application that uses WebKit on Windows. Can I
 start a thread for each web view? or I must ceate every web view and handle
 every event in the main thread?and why?are there any plan to change it?

 Thank you.

 --
 clive
 --
 立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载! http://im.live.cn/safe/

 ___
 webkit-dev mailing list
 webkit-dev@lists.webkit.org
 http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread Peter Kasting
2009/6/15 John Abd-El-Malek j...@google.com

 Yes it's possible.  The Chromium port runs web views in different
 processes.  You can look at the design docs and source to see how it's done,
 that should give you an idea of what you have to do this on different
 threads.


Note that using distinct processes (as Chromium does) is quite different
than using distinct threads -- the latter would require a threadsafe
codebase, which in large part WebKit today is not (though Dave Hyatt has
been doing some prototyping work in this area recently).

PK
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Windows Multithread issue

2009-06-15 Thread Oliver Hunt
This is not possible due to various issues with the interaction  
between JS across multiple webviews, and the additional assumption  
that all layout and painting occurs in the UI thread.  Attempting to  
interact with WebKit on multiple threads will cause crashes.


--Oliver

On Jun 15, 2009, at 9:05 PM, 熊科浪 wrote:



hi
I want to develop c++ application that uses WebKit on Windows.  
Can I start a thread for each web view? or I must ceate every web  
view and handle every event in the main thread?and why?are there any  
plan to change it?


Thank you.

--
clive
立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载!  
___

webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Another problem: how to dump flash content into image in Linux?

2009-06-15 Thread TianShijun

Hi tonikitoo,
Thanks for your hint.  It seems that WebKit doesn't support the windowless 
plugin in X11. 
Is their other way to implement feature?  We can get some infomation of the 
native windows now. 
Can we do it with raw Xlib functions?

I found a topic in MDC that claims the support of windowless plugins in X11.


 Date: Mon, 15 Jun 2009 14:03:02 -0400
 Subject: Re: [webkit-dev] Another problem: how to dump flash content into 
 image in Linux?
 From: toniki...@gmail.com
 To: tians...@hotmail.com
 CC: webkit-dev@lists.webkit.org
 
 TianShijun,
 
 QtWebKit (as well as Gtk and possibly others port) uses XEmbed to get
 plugins (e.g. Flash) running. XEmbed is a X protocol to embed X window
 onto others (containers). That said, when you try dumping flash by
 the way you pasted below, you are not even touching the plugin
 painting surface at all, but instead dumping the background image
 QtWebKit draws under the XEmbed plugin window. Webkit has no control
 of what flash is drawing. That is sorta default behavior on Linux ...
 
 Windows we have ways to force flash to get painted onto WebKit drawing
 surface, but it is unsupport by Flash on Linux. You are probably
 looking for a *windowless* plugin implementation ...
 
 
 
 2009/6/15 TianShijun tians...@hotmail.com:
  Hi All,
  I have tried to modify the PluginView::paint method in PluginViewQt.cpp to
  dump the flash content. But the result is always a gray image. Does any one
  know why? Or has anyone implemented  the similar function before?
 
  I have also tested the print/print preview function on many browsers
  (Firefox, Konqueror, arora, Opera). None of them can print flash content. Is
  there any way to implement it?
 
  Thanks a lot.
 
  PS: There may be a bug of PluginView::paint in PuginViewWin.cpp.While
  dumping web page with flash content into image, the dumped flash content has
  a  doubled offset. It works well if we comment the SetWorldTransform lines
  in PluginView::paintWindowedPluginIntoContext.
 
  Here are the codes of my PluginView::paint in PluginViewQt.cpp. It always
  outputs a gray image in Linux.
  ---
  void PluginView::paint(GraphicsC ontext* context, const IntRect rect)
  {
  if (!m_isStarted) {
  paintMissingPluginIcon(context, rect);
  return;
  }
 
  //if (m_isWindowed || context-paintingDisabled())
  //return;
  //notImplemented();
 
  if(context-paintingDisabled()) return;
  PlatformGraphicsContext *painter = context-platformContext();
  if(painter){
  PlatformPluginWidget widget = platformPluginWidget();
  if(widget){
  //QPixmap pixmap = QPixmap::grabWidget(widget);
  //QPixm ap pixmap = QPixmap::grabWindow(widget-winId());
  //QPixmap pixmap =
  QPixmap::grabWindow((WId)m_npWindow.window);
  //widget-render(painter, QPoint(widget-x(),widget-y()),
  QRegion(0,0,widget-width(),widget-height()),
  //QWidget::DrawWindowBackground | QWidget::DrawChildren |
  QWidget::IgnoreMask );
  QPixmap pixmap(widget-size());
  widget-render(pixmap);
  pixmap.save(/tmp/test.ppm);
 nb sp;painter-drawPixmap(QPoint(widget-x(),widget-y()),
  pixmap);
  }
  }
  }
 
 
 
  
  立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载!
  ___
  webkit-dev mailing list
  webkit-dev@lists.webkit.org
  http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
 
 
 
 
 
 -- 
 --Antonio Gomes

_
Messenger安全保护中心,免费修复系统漏洞,保护Messenger安全!
http://im.live.cn/safe/___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Quesition about DumpRenderTree output

2009-06-15 Thread Lucius Fox
Hi,

Can you please tell me what is the meaning of relative positioned
and the meaning of positioned in DumpRenderTree?
How should I use that to read the values
RenderObject::localToAbsolute() (enclosed in ())and
RenderObject:frameRect() (enclosed in {});

For example:
layer at (780,168) size 222x25
  -RenderBlock (positioned) {UL} at (780,0) size 222x25 {780.00,168.00}

and
layer at (27,363) size 265x239
  RenderBlock (relative positioned) {DIV} at (18,18) size 265x239 {27.00,363.00}

and (no 'positioned' is specified)
  RenderBlock {DIV} at (0,0) size 261x26 {341.00,988.00}
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev