Re: [webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-27 Thread Ariya Hidayat
JFYI I wrote a supersimple example that demonstrates this: http://bit.ly/x2-probelink for details. ___ webkit-help mailing list webkit-help@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Re: [webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-13 Thread Vivek Satpute
Hi Ariya, Thanks a lot for this info .. :-) Regards, Vivek On Sat, Feb 13, 2010 at 8:24 PM, Ariya Hidayat wrote: > > How to find all the links on a webpage ? > > A few ways, among others by inspecting the DOM, using CSS selector, > etc. It really depends on your port and platform. Since I know

Re: [webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-13 Thread Ariya Hidayat
> How to find all the links on a webpage ? A few ways, among others by inspecting the DOM, using CSS selector, etc. It really depends on your port and platform. Since I know only Qt, I will mention QWebElement. > Thanks for this but could you please point out me to the exact location > where you

Re: [webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-12 Thread Vivek Satpute
Hi Ariya, On Thu, Feb 11, 2010 at 11:19 PM, Ariya Hidayat wrote: > > Actually, I want to increase active area of links, in such a way that > event > > if I clicked below the link, > > (i.e. not exactly over the link) the nearer link should get selected and > > gets loaded. Right now, I have to cl

Re: [webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-11 Thread Ariya Hidayat
> Actually, I want to increase active area of links, in such a way that event > if I clicked below the link, > (i.e. not exactly over the link) the nearer link should get selected and > gets loaded. Right now, I have to click exactly over the link. I guess this is the reason you asked the endless

Re: [webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-10 Thread Vivek Satpute
Hi Zaheer, On Wed, Feb 10, 2010 at 10:38 AM, zaheer ahmad wrote: > On Wed, Feb 10, 2010 at 5:44 PM, Vivek Satpute wrote: > >> Hi, >> >> I started GtkLauncher program and it has loaded a webpage which have many >> links to other webpages. If I click on any link, then webkit calls >> RenderInline:

Re: [webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-10 Thread zaheer ahmad
On Wed, Feb 10, 2010 at 5:44 PM, Vivek Satpute wrote: > Hi, > > I started GtkLauncher program and it has loaded a webpage which have many > links to other webpages. If I click on any link, then webkit calls > RenderInline::addFocusRingRects() function before calling > GraphicsContext::drawFocusRin

[webkit-help] Howto Calculate x, y points for GraphicsContext::drawFocusRing()

2010-02-10 Thread Vivek Satpute
Hi, I started GtkLauncher program and it has loaded a webpage which have many links to other webpages. If I click on any link, then webkit calls RenderInline::addFocusRingRects() function before calling GraphicsContext::drawFocusRing(). If I am not making any mistake, RenderInline::addFocusRingRe