[webkit-help] Spatial navigation is not working for anchor with inline div with inline img

Vicky Tux ssseintr2 at gmail.com
Tue Sep 25 21:06:25 PDT 2012


Hi Antonio Gomes

Thanks for your input.

I already entered the bug with test case in webkit bugzilla. Bug id is
https://bugs.webkit.org/show_bug.cgi?id=97229.
It is failed on blow statement.

static inline InlineBox* createInlineBoxForRenderer(RenderObject* obj, bool
isRootLineBox, bool isOnlyRun = false) {
.
.
.
    if (obj->isBox())
        return toRenderBox(obj)->createInlineBox();

    return toRenderInline(obj)->createAndAppendInlineFlowBox();
}
Always satisfy the condition object is a box. so not create
the createAndAppendInlineFlowBox.
Please advise us, how to resolve this issue?

Regrads,
Vicky.


On Tue, 25 Sep 2012 13:32:10 -0400,  Antonio Gomes <tonikitoo at gmail.com>
 wrote:

Hi

Bug here seems like a anchor bounding box is not as big as its children
content (image in this case). I suggest filing a bug in
bugs.webkit.orgwith  a test case to get it fixed.

On Tue, Sep 25, 2012 at 12:51 PM, Vicky Tux <ssseintr2 at gmail.com> wrote:

 Hi Team,

 Just try to open index.html and then press down or up key.
 Spatial navigation not working between the images.

 There is a image which is a child node of div node. Div is child node of
 anchor node.
 I spent some time to track this issue. Spatial navigation only considered
 the anchor region.
 It is not considered the image width and height. So, FocusCandidate rect
 value is incorrect.
 But, absolute coordinates should be considered the image properties.

 Anyone help to resolve this issue..

 Regards,
 Vicky.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120926/1eccfe2c/attachment.html>


More information about the webkit-help mailing list