[webkit-dev] Zoom functionality

2008-10-07 Thread Pradnya Pathak
Hello All,

Does anyone has idea about if the 'zoom factor' style is inherited from
parent of a node? can a node  have different zoom factor than its parent?

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


Re: [webkit-dev] Zoom functionality

2008-10-07 Thread David Hyatt
On Oct 7, 2008, at 1:22 AM, Pradnya Pathak wrote:

 Hello All,

 Does anyone has idea about if the 'zoom factor' style is inherited  
 from parent of a node? can a node  have different zoom factor than  
 its parent?

It can yes.  zoom is multiplicative so if a parent has a zoom of 2 and  
a child has a zoom of 3, the content within the child would have a  
cumulative zoom factor of 6.  style()-zoom() holds the zoom factor  
specified on an element, while style()-effectiveZoom() will tell you  
the cumulative zoom factor.

zoom can also take a special value, reset, which can be used to ignore  
your ancestor zoom factor, thus resetting you back to an effective  
zoom of 1.0.

dave
([EMAIL PROTECTED])

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


Re: [webkit-dev] Zoom functionality

2008-10-07 Thread Pradnya Pathak
Hello,

Thanks for the reply.

The current zoom functionality in webkit, applies the zoom factor to the
entire page. I want to zoom in only a selected node and  not the entire
page. For this I've modified the Document::recalcStyle() function. The
original function calls Element::recalStyle for the root node.
I've modified the function so that it'll call the Element::recalcStyle
function only for the selected node.
But, this is not working. I am not able to see any effect on the selected
node.

Please let me know if you have any idea/clue for this issue.

Regards,
Pradnya

On Tue, Oct 7, 2008 at 11:55 AM, David Hyatt [EMAIL PROTECTED] wrote:

 On Oct 7, 2008, at 1:22 AM, Pradnya Pathak wrote:

  Hello All,

 Does anyone has idea about if the 'zoom factor' style is inherited from
 parent of a node? can a node  have different zoom factor than its parent?


 It can yes.  zoom is multiplicative so if a parent has a zoom of 2 and a
 child has a zoom of 3, the content within the child would have a cumulative
 zoom factor of 6.  style()-zoom() holds the zoom factor specified on an
 element, while style()-effectiveZoom() will tell you the cumulative zoom
 factor.

 zoom can also take a special value, reset, which can be used to ignore your
 ancestor zoom factor, thus resetting you back to an effective zoom of 1.0.

 dave
 ([EMAIL PROTECTED])


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


Re: [webkit-dev] File upload feature

2008-10-07 Thread Julien Chaffraix
Hi,

On Mon, Oct 6, 2008 at 3:44 PM, Amit Nargund [EMAIL PROTECTED] wrote:
 Hi,
 No it does not crash. If I open rapidshare.com, and then select a file and
 click on upload... nothing happens!
 I observed the http traffic through wireshark, and I could not see any POST
 packet in it. That means nothing is POSTED to the server!

The network code for file upload is implemented and should be working
(it is not tested by any regression test so we cannot guarantee it is
actually working). There is a bug about upload not working with curl
that could be related to what you see (have a look at
https://bugs.webkit.org/show_bug.cgi?id=21211). Could you try whether
the attached patch help with your issue? If not could you file a bug
at bugs.webkit.org with the steps to reproduce it?
Thanks,

Julien


 On Mon, Oct 6, 2008 at 7:11 PM, Cedric Vivier [EMAIL PROTECTED] wrote:

 Hi,

 What do you mean does not work ?

 If it crashes it might be related to the recent regression I filed a
 bug about yesterday :
 #21385 ( https://bugs.webkit.org/show_bug.cgi?id=21385 )

 Regards,


 On Mon, Oct 6, 2008 at 7:57 PM, Amit Nargund [EMAIL PROTECTED]
 wrote:
 
  Hi all,
 
  I am currently working on Gtk platform. I checked the latest code, in
  that
  code File uploading does not work.
  Does anybody knows whether webkit currently supports/implements File
  uploading or not? Or is it not working because of the platform on which
  I am
  working? The network library which I am using is curl.
 
  Thanks
  Regards,
  Amit
 
  ___
  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


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


[webkit-dev] produce a new version of webkit

2008-10-07 Thread houda hocine
Hi ,
I want to produce a new version of webkit , without doing any graphical
rendering or requiring linking
with graphical libraries .
The basic approach is to modify the build to add a new platform
 based on the GTK platform ,
you can help me for start ? i should remove lines of code related to
graphics in
WebKit / GTK which files I must consult to change?

thank you for any help ,
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] produce a new version of webkit

2008-10-07 Thread Ariya Hidayat

 you can help me for start ? i should remove lines of code related to
 graphics in WebKit / GTK which files I must consult to change?

Just search for all files that matches *Gtk.h and *Gtk.cpp (for example, 
FrameGtk.cpp) and related files in any gtk/ subdirectories.


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


Re: [webkit-dev] File upload feature

2008-10-07 Thread Amit Nargund
Hi,

I have already looked at that fix, and I have attached the patch, but the
file upload is still not working! I tested it with rapidshare.com and site
waits as if no data has arrived. I monitored the traffic and noticed that
nothing is POSTed i.e. no POST packet is observed.


On Tue, Oct 7, 2008 at 2:46 PM, Julien Chaffraix [EMAIL PROTECTED]wrote:

 Hi,

 On Mon, Oct 6, 2008 at 3:44 PM, Amit Nargund [EMAIL PROTECTED]
 wrote:
  Hi,
  No it does not crash. If I open rapidshare.com, and then select a file
 and
  click on upload... nothing happens!
  I observed the http traffic through wireshark, and I could not see any
 POST
  packet in it. That means nothing is POSTED to the server!

 The network code for file upload is implemented and should be working
 (it is not tested by any regression test so we cannot guarantee it is
 actually working). There is a bug about upload not working with curl
 that could be related to what you see (have a look at
 https://bugs.webkit.org/show_bug.cgi?id=21211). Could you try whether
 the attached patch help with your issue? If not could you file a bug
 at bugs.webkit.org with the steps to reproduce it?
 Thanks,

 Julien

 
  On Mon, Oct 6, 2008 at 7:11 PM, Cedric Vivier [EMAIL PROTECTED]
 wrote:
 
  Hi,
 
  What do you mean does not work ?
 
  If it crashes it might be related to the recent regression I filed a
  bug about yesterday :
  #21385 ( https://bugs.webkit.org/show_bug.cgi?id=21385 )
 
  Regards,
 
 
  On Mon, Oct 6, 2008 at 7:57 PM, Amit Nargund [EMAIL PROTECTED]
  wrote:
  
   Hi all,
  
   I am currently working on Gtk platform. I checked the latest code, in
   that
   code File uploading does not work.
   Does anybody knows whether webkit currently supports/implements File
   uploading or not? Or is it not working because of the platform on
 which
   I am
   working? The network library which I am using is curl.
  
   Thanks
   Regards,
   Amit
  
   ___
   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
 
 

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


Re: [webkit-dev] 答复: 答复: About the layout test result.

2008-10-07 Thread Dan Bernstein


On Oct 6, 2008, at 10:56 PM, Bely wrote:


Thanks Dan!

But what fonts should I install on windows to run the tests and  
where can I get them?


The initialize() function in WebKitTools/DumpRenderTree/win/ 
DumpRenderTree.cpp lists all of them, alongside other fonts (Ahem and  
the WebKit* fonts) that are in the WebKit source tree. The Times  
family alone would probably suffice for the majority of the tests. I  
do not know how or even whether any or all of the required fonts are  
available for installation on Windows.


-- Dan



Thanks!


-- Bely
发件人: Dan Bernstein [mailto:[EMAIL PROTECTED]
发送时间: 2008年10月7日 11:36
收件人: Bely
抄送: 'Mark Rowe'; webkit-dev@lists.webkit.org
主题: Re: [webkit-dev] 答复: About the layout test result.


On Oct 6, 2008, at 7:55 PM, Bely wrote:




Hi Mark,

Thanks for your reply!



I am running the tests on windows, with cygwin installed. After  
build it in VC8 using “debug”


configuration, I execute the tests by invoking run-webkit-tests in  
cygwin console like:




./run-webkit-tests



First time it says WebKitGUID.lib is missing, I rename  
WebKitGUID_debug.lib to WebKitGUID.lib,


And later it says WTF_debug.lib is missing, again I rename  
WTF_debug.lib to WTF.lib, then I began to run the tests and


Got the result.



Is there anything wrong with my process?

Hi Bely,

Many layout tests’ results are  
dependent on the fonts that are available on the system. When you  
run the tests on Windows, the results for most tests are compared  
against the expected results in LayoutTests/platform/mac, so it is  
expected that the results will mismatch, because a typical  
installation of Windows is missing many fonts that are available on  
Mac OS X.


Thanks,
-- Dan





Thanks!



- Bely



-邮件原件-
发件人: Mark Rowe [mailto:[EMAIL PROTECTED]
发送时间: 2008年10月7日 10:07
收件人: Bely
抄送: webkit-dev@lists.webkit.org
主题: Re: [webkit-dev] About the layout test result.





On 2008-10-05, at 23:16, Bely wrote:



 Hi all,

  I am new to webkit. Recently I run the layout test and got

 the following result :

  [table]

 Test Feature

 Total

 passed/ incorrect/timedout/crashed/stderr

 Pass rate

 Layout Testing

 9085

 4853

 4198

 15

 5

 14

 53.4%

















  [text]

  Total:9085

  Passed: 4853

  Incorrect:  4198

  Timedout:  15

  Crashed:  5

  Stderr:   14



 Why the pass rate is so low?  Is this result reasonable? Or I

 wrongly executed the test?  Can someone help me?



Which platform did you run tests on?  Which port of WebKit did you

use?  The buildbot at http://build.webkit.org/waterfall shows that

WebKit on Mac is currently passing 100% of the regression tests.

Results for ports other than Mac and Windows are likely to be

significantly worse as the developers of other ports have not spent

much time focussing on passing the layout tests.



- Mark

___
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] 答复: 答复: About the layout t est result.

2008-10-07 Thread Eric Seidel
If you search the web for WEBKIT_TESTFONTS you may be able to find a
copy of the fonts you need.

It's kinda lame that the current set of windows layout tests requires
these fonts.  Eventually I would like to see a set of results checked
in which do not require Apple-provided fonts, but right now there is
no WebKit windows port shipping out of webkit.org which does not use
those Apple fonts.

-eric

2008/10/7 Dan Bernstein [EMAIL PROTECTED]:

 On Oct 6, 2008, at 10:56 PM, Bely wrote:

 Thanks Dan!

 But what fonts should I install on windows to run the tests and where can I
 get them?

 The initialize() function in
 WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp lists all of them,
 alongside other fonts (Ahem and the WebKit* fonts) that are in the WebKit
 source tree. The Times family alone would probably suffice for the majority
 of the tests. I do not know how or even whether any or all of the required
 fonts are available for installation on Windows.
 -- Dan


 Thanks!


 -- Bely
 
 发件人: Dan Bernstein [mailto:[EMAIL PROTECTED]
 发送时间: 2008年10月7日 11:36
 收件人: Bely
 抄送: 'Mark Rowe'; webkit-dev@lists.webkit.org
 主题: Re: [webkit-dev] 答复: About the layout test result.


 On Oct 6, 2008, at 7:55 PM, Bely wrote:



 Hi Mark,

 Thanks for your reply!



 I am running the tests on windows, with cygwin installed. After build it in
 VC8 using debug

 configuration, I execute the tests by invoking run-webkit-tests in cygwin
 console like:



 ./run-webkit-tests



 First time it says WebKitGUID.lib is missing, I rename WebKitGUID_debug.lib
 to WebKitGUID.lib,

 And later it says WTF_debug.lib is missing, again I rename WTF_debug.lib to
 WTF.lib, then I began to run the tests and

 Got the result.



 Is there anything wrong with my process?

 Hi Bely,

 Many layout tests' results are dependent on the fonts that are available on
 the system. When you run the tests on Windows, the results for most tests
 are compared against the expected results in LayoutTests/platform/mac, so it
 is expected that the results will mismatch, because a typical installation
 of Windows is missing many fonts that are available on Mac OS X.

 Thanks,
 -- Dan




 Thanks!



 - Bely



 -邮件原件-
 发件人: Mark Rowe [mailto:[EMAIL PROTECTED]
 发送时间: 2008年10月7日 10:07
 收件人: Bely
 抄送: webkit-dev@lists.webkit.org
 主题: Re: [webkit-dev] About the layout test result.





 On 2008-10-05, at 23:16, Bely wrote:



 Hi all,

  I am new to webkit. Recently I run the layout test and got

 the following result :

  [table]

 Test Feature

 Total

 passed/ incorrect/timedout/crashed/stderr

 Pass rate

 Layout Testing

 9085

 4853

 4198

 15

 5

 14

 53.4%

















  [text]

  Total:9085

  Passed: 4853

  Incorrect:  4198

  Timedout:  15

  Crashed:  5

  Stderr:   14



 Why the pass rate is so low?  Is this result reasonable? Or I

 wrongly executed the test?  Can someone help me?



 Which platform did you run tests on?  Which port of WebKit did you

 use?  The buildbot at http://build.webkit.org/waterfall shows that

 WebKit on Mac is currently passing 100% of the regression tests.

 Results for ports other than Mac and Windows are likely to be

 significantly worse as the developers of other ports have not spent

 much time focussing on passing the layout tests.



 - Mark

 ___
 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


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


Re: [webkit-dev] 答复: 答复: About the layout t est result.

2008-10-07 Thread Eric Seidel
My earlier statement was inaccurate.  It is not the *port* which
requires the fonts, but rather the tests themselves (many of which
come from the W3C or other publicly available test suites).  The tests
make specific request for fonts (like Ahem, Times, Verdana, Helvetica)
which are not provided by default on windows systems.  To mitigate
this, folks set the WEBKIT_TESTFONTS environment variable and point it
at a directory containing windows versions of the required fonts.  As
I pointed out in my previous mail, it is possible to find windows
versions of these fonts on the interwebs.  Although whether or not you
have license to use these fonts is for you to determine.  IANAL. :)

Safari for Windows ships with a certain set of licensed fonts (which
is not a fully overlapping set with the set of fonts used/required-by
the Layout Tests), many of these fonts Apple bundles with Safari for
Windows ship as part of Mac OS X and happen to be some of the same
fonts used by these test suites.

My complaint earlier was that we don't have any results checked in to
webkit.org's svn repository which use the default windows set of
fonts.  I now realize that that's such results wouldn't necessarily be
very useful.  If you don't have the required fonts for the test suites
on your machine, that means webkit would use whatever fallback fonts
are specified in the tests.  That would result in less-repeatable test
results, since if you happened to have some of the required fonts
installed, you'd get results which neither match the Apple-WebKit-Win
results or some theoretical
Apple-WebKit-using-only-windows-default-fonts results.

My apologies for any confusion my statements may have caused.

-eric

2008/10/7 Eric Seidel [EMAIL PROTECTED]:
 If you search the web for WEBKIT_TESTFONTS you may be able to find a
 copy of the fonts you need.

 It's kinda lame that the current set of windows layout tests requires
 these fonts.  Eventually I would like to see a set of results checked
 in which do not require Apple-provided fonts, but right now there is
 no WebKit windows port shipping out of webkit.org which does not use
 those Apple fonts.

 -eric

 2008/10/7 Dan Bernstein [EMAIL PROTECTED]:

 On Oct 6, 2008, at 10:56 PM, Bely wrote:

 Thanks Dan!

 But what fonts should I install on windows to run the tests and where can I
 get them?

 The initialize() function in
 WebKitTools/DumpRenderTree/win/DumpRenderTree.cpp lists all of them,
 alongside other fonts (Ahem and the WebKit* fonts) that are in the WebKit
 source tree. The Times family alone would probably suffice for the majority
 of the tests. I do not know how or even whether any or all of the required
 fonts are available for installation on Windows.
 -- Dan


 Thanks!


 -- Bely
 
 发件人: Dan Bernstein [mailto:[EMAIL PROTECTED]
 发送时间: 2008年10月7日 11:36
 收件人: Bely
 抄送: 'Mark Rowe'; webkit-dev@lists.webkit.org
 主题: Re: [webkit-dev] 答复: About the layout test result.


 On Oct 6, 2008, at 7:55 PM, Bely wrote:



 Hi Mark,

 Thanks for your reply!



 I am running the tests on windows, with cygwin installed. After build it in
 VC8 using debug

 configuration, I execute the tests by invoking run-webkit-tests in cygwin
 console like:



 ./run-webkit-tests



 First time it says WebKitGUID.lib is missing, I rename WebKitGUID_debug.lib
 to WebKitGUID.lib,

 And later it says WTF_debug.lib is missing, again I rename WTF_debug.lib to
 WTF.lib, then I began to run the tests and

 Got the result.



 Is there anything wrong with my process?

 Hi Bely,

 Many layout tests' results are dependent on the fonts that are available on
 the system. When you run the tests on Windows, the results for most tests
 are compared against the expected results in LayoutTests/platform/mac, so it
 is expected that the results will mismatch, because a typical installation
 of Windows is missing many fonts that are available on Mac OS X.

 Thanks,
 -- Dan




 Thanks!



 - Bely



 -邮件原件-
 发件人: Mark Rowe [mailto:[EMAIL PROTECTED]
 发送时间: 2008年10月7日 10:07
 收件人: Bely
 抄送: webkit-dev@lists.webkit.org
 主题: Re: [webkit-dev] About the layout test result.





 On 2008-10-05, at 23:16, Bely wrote:



 Hi all,

  I am new to webkit. Recently I run the layout test and got

 the following result :

  [table]

 Test Feature

 Total

 passed/ incorrect/timedout/crashed/stderr

 Pass rate

 Layout Testing

 9085

 4853

 4198

 15

 5

 14

 53.4%

















  [text]

  Total:9085

  Passed: 4853

  Incorrect:  4198

  Timedout:  15

  Crashed:  5

  Stderr:   14



 Why the pass rate is so low?  Is this result reasonable? Or I

 wrongly executed the test?  Can someone help me?



 Which platform did you run tests on?  Which port of WebKit did you

 use?  The buildbot at http://build.webkit.org/waterfall shows that

 WebKit on Mac is currently passing 100% of the regression tests.

 

Re: [webkit-dev] Build failure on Windows

2008-10-07 Thread Mark Rowe


On Oct 7, 2008, at 4:38 PM, AnsumanTapan Satpathy wrote:


Hi,

I am trying to build webkit on windows platform. Followed the steps  
of installing VC express, the SP1 and the SDK (as described in http://webkit.org/building/tools.html) 
.


Installed the cygwin from webkit.org.

I have downloaded the new code about two three days ago, ran update- 
webkit couple times. (Once just after downloading, and later every  
time i ran into compilation issue.)


Which revision of WebKit are you attempting to build?

- Mark

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


Re: [webkit-dev] Build failure on Windows

2008-10-07 Thread AnsumanTapan Satpathy
I am not very sure how to find the revision number ?

Possibly r37327, checked the autoversion.h file in
WebKitBuild\obj\WebKit\Debug\include folder.

Thanks.
Ansuman


On Tue, Oct 7, 2008 at 4:43 PM, Mark Rowe [EMAIL PROTECTED] wrote:


 On Oct 7, 2008, at 4:38 PM, AnsumanTapan Satpathy wrote:

 Hi,

 I am trying to build webkit on windows platform. Followed the steps of
 installing VC express, the SP1 and the SDK (as described in
 http://webkit.org/building/tools.html).

 Installed the cygwin from webkit.org.

 I have downloaded the new code about two three days ago, ran update-webkit
 couple times. (Once just after downloading, and later every time i ran into
 compilation issue.)


 Which revision of WebKit are you attempting to build?

 - Mark


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