Re: [webkit-dev] How to get the background image of a node?

2009-08-12 Thread TianShijun
-dev] How to get the background image of a node? Date: Wed, 12 Aug 2009 08:55:53 -0700 This is really a question for the webkit-help list. The solution is to call getComputedStyle(). Simon On Aug 12, 2009, at 8:52 AM, TianShijun wrote:How can i get the background-image url of an element node

[webkit-dev] How to get the background image of a node?

2009-08-12 Thread TianShijun
How can i get the background-image url of an element node? Usually, I can read the "background-image" attribute of the node. But if it is written in the style sheet, there is no explicit "background-image" attribute in the element's attributes list. Instead, there is a "class" attribute. I

Re: [webkit-dev] WebKit graphics library abstract layer

2009-06-29 Thread TianShijun
Most of the header files are abstract layers. > Date: Mon, 29 Jun 2009 00:13:49 -0700 > From: n179...@gmail.com > To: webkit-dev@lists.webkit.org > Subject: [webkit-dev] WebKit graphics library abstract layer > > Webkit supports on multiple platform (e.g. Windows, MacOS, linux). > And when Webki

Re: [webkit-dev] Build Webkit_gtk I get errors in WebCore/platform/network/soup/ResourceHandleSoup.cpp?

2009-06-29 Thread TianShijun
But the even latest got by yum in CentOS 5.3 can not meet the requirement of WebKitGtk. I downloaded the source code of libsoup and found that it just depends on another library which is newer than the system.Finnaly I give up building the Gtk port of WebKit in CentOS. > Date: Sun, 28 Jun

[webkit-dev] Why does nmake always rebuild WebKit?

2009-06-29 Thread TianShijun
Hi All, I have encountered a painful problem. When I "nmake WebKitBuild/Release/WebCore/Makefile", it always rebuild almost the whole project. Here is my enviorment: Vista SP1/VS2008 SP1/QT 4.5.0/bison 2.4.1/flex 2.5.4/gperf 3.0.1/ActivePerl 5.10.0. I build the QtWebKit with "perl WebKitTools

[webkit-dev] FW: Is there any way to dump webpage with flash in to image in X11?

2009-06-17 Thread TianShijun
It will be a great pity to lose this feature. _ 打工,挣钱,买房子,快来MClub一起”金屋藏娇”! http://club.msn.cn/?from=10___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/ma

Re: [webkit-dev] Does anyone encounter this problem on NY times while using QWebKit?

2009-06-17 Thread TianShijun
w. see http://farm4.static.flickr.com/3638/3560998719_d26d476d73.jpg?v=0 > > have you tried w/ other webkit ports ? it can be not qt-specific (?) > > br > > 2009/5/24 TianShijun :< br>> > Hi All, > > I cannot open the www.nytimes.com correctly on a Qt port of Web

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

2009-06-15 Thread TianShijun
rt 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,

[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 browser

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

2009-06-15 Thread TianShijun
Mon, 15 Jun 2009 10:23:04 -0400 > From: joe.ma...@torchmobile.com > To: tians...@hotmail.com > CC: webkit-dev@lists.webkit.org > Subject: Re: [webkit-dev] Puzzled, can anyone give me a hint? > > TianShijun wrote: > > Hi All, > > I am reviewing the code of WebKit. I

[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 Pl

Re: [webkit-dev] Does anyone encounter this problem on NY times while using QWebKit?

2009-05-24 Thread TianShijun
mail.com > CC: webkit-dev@lists.webkit.org > > I am seeing it too. Firefox 3.5preb4 renders its top bar all fine, > fwiw. see http://farm4.static.flickr.com/3638/3560998719_d26d476d73.jpg?v=0 > > have you tried w/ other webkit ports ? it can be not qt-specific (?) > > br >

[webkit-dev] Does anyone encounter this problem on NY times while using QWebKit?

2009-05-24 Thread TianShijun
Hi All, I cannot open the www.nytimes.com correctly on a Qt port of WebKit. Can anyone help to verify or analysis the problem? While open nytimes in Qtlauncher(built with QT4.5, QT4.3.3) or QTDIR/examples/webkit/previewer(webkit integrated in QT 4.3.3), the topmost bar cannnot be rendered. Pro