[webkit-dev] how does Webkit handle font

2009-04-21 Thread ying lcs
Hi, Can you please tell me how does Webkit handle font? (e.g. which files I should look at) e.g. css can specify a particular font for a paragraph , where/how does Webkit load the font from the OS (or how does it know the font actually exists? Thank you.

Re: [webkit-dev] [webkit-changes] [42699] trunk/WebCore

2009-04-21 Thread Alexey Proskuryakov
21.04.2009, в 9:59, gga...@apple.com написал(а): Renamed *InlineEventListener* = *AttributeEventListener*, and isInline = isAttribute. -EventListener* Node::getInlineEventListener(const AtomicString eventType) const +EventListener* Node::getAttributeEventListener(const

[webkit-dev] Interact with DOM Elements using WebKit

2009-04-21 Thread Prema Arya
Hi, I was able to use webkit in my C# application on windows. I am able to load a page using loadRequest() method. Now i want to interact with elements on the page. I tried using getElementById() which returns the element. I was able to enter text in text boxes and change values of button. But

Re: [webkit-dev] Interact with DOM Elements using WebKit

2009-04-21 Thread Conrad Taylor
On Tue, Apr 21, 2009 at 3:34 AM, Prema Arya prema.a...@gmail.com wrote: Hi, I was able to use webkit in my C# application on windows. I am able to load a page using loadRequest() method. Now i want to interact with elements on the page. I tried using getElementById() which returns the

[webkit-dev] WebKit Layout test failures on Windows

2009-04-21 Thread Kulanthaivel
Hi, Recently I downloaded WebKit revision 42567 and built it on windows. When I tried to run run-webkit-tests script, many of the css tests are failed. css1/basic/class_as_selector.html - failed. css1/basic/comments.html - failed. css1/basic/containment.html - failed.

Re: [webkit-dev] WebKit Layout test failures on Windows

2009-04-21 Thread Darin Adler
On Apr 21, 2009, at 7:05 AM, Kulanthaivel wrote: If these are font problems then please suggest me how to get these fonts to pass the layout tests in Windows. The easiest way I can think of to get the fonts is to get them from a Mac, if you have one. They’re all fonts included with Mac OS

Re: [webkit-dev] make webkit-1.1.3...

2009-04-21 Thread x yz
1.1.3 built on Fedora9 works fine. if you PC is slow it may take hours. I use 4 hiper thread CPU at ~3GHz and it takes less than an hour. webkit make file seems not manually written, thus not very flexible, but you can still make a little then build, say make the jsc. look at the makefile.

Re: [webkit-dev] can't build debug_cairo and release_cairo

2009-04-21 Thread x yz
read the website guide lines on how to set path on Visual Studio. you'd know how to use VS. --- On Sun, 4/19/09, Kruchinkin Kirill kkruc...@yandex.ru wrote: From: Kruchinkin Kirill kkruc...@yandex.ru Subject: [webkit-dev] can't build debug_cairo and release_cairo To:

Re: [webkit-dev] how does Webkit handle font

2009-04-21 Thread David Kilzer
No, libicu is used to lay out international text. CSS fonts are handled by files with CSS and font in their name, which will lead you to other files with font in their name under the WebCore/platform/graphics/ directory. $ find WebCore -iname \*font\* -print | grep -i css

Re: [webkit-dev] [webkit-changes] [42699] trunk/WebCore

2009-04-21 Thread Geoffrey Garen
-EventListener* Node::getInlineEventListener(const AtomicString eventType) const +EventListener* Node::getAttributeEventListener(const AtomicString eventType) const I think that per our coding style guidelines, this function should be named attributeEventListener(): 6. Precede setters

Re: [webkit-dev] SharedWorker design doc

2009-04-21 Thread Drew Wilson
I followed up with David Levin, who has been working on some chrome-internal refactoring of the loader code necessitated by the fact that workers in Chrome run in a different process from the loading frame. David's take is that long term we'll need to change the loader code so it is not dependent

Re: [webkit-dev] want to port JIT to MIPS - cti_op_mod(STUB_ARGS) seg fault

2009-04-21 Thread x yz
I use MIPS32EL, VA_LIST call, MIPS pushes function argument from left to right. I wrote a simple VA_LIST test it works on my box. BEGIN_STUB_FUNCTION() cause seg fault due to MIPS uses gp reg to read sth. I treied to rewrite the code like that: JSObject* JITStubs::cti_op_new_func_exp(STUB_ARGS)

Re: [webkit-dev] Rendering for small screen

2009-04-21 Thread xunxin
Hi, Graffine: In QtWebKit, you may use: page-mainFrame()-setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff); page-mainFrame()-setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff); page-setViewportSize( mainFrame-contentsSize() ); On Mon, Apr

[webkit-dev] Fwd: [GTK]Scroll deficien cy

2009-04-21 Thread Xiong
-- Forwarded message -- From: Xiong browse...@gmail.com Date: Wed, Apr 22, 2009 at 9:42 AM Subject: Re: [webkit-dev] [GTK]Scroll deficiency To: Frank Thomsen f...@trifork.com Cc: Brent Fulgham bfulg...@gmail.com Hi Frank I am working on gtk+directfb and Brent working on

Re: [webkit-dev] SharedWorker design doc

2009-04-21 Thread Alexey Proskuryakov
22.04.2009, в 2:31, Drew Wilson написал(а): David's take is that long term we'll need to change the loader code so it is not dependent on a specific frame - his upcoming refactoring may facilitate this, but there will still be a significant amount of work to achieve this in WebKit. Over