[Webkit-unassigned] [Bug 94707] Cannot render focus on the anchor when its child has style "position: absolute"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 11 05:19:50 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94707
Bruno Abinader <bruno.abinader at basyskom.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bruno.abinader at basyskom.com
--- Comment #6 from Bruno Abinader <bruno.abinader at basyskom.com> 2012-09-11 05:20:14 PST ---
Please have a look at what w3schools says about absolute positioning:
"Absolutely positioned elements are removed from the normal flow. The document and other elements behave like the absolutely positioned element does not exist."
http://www.w3schools.com/Css/css_positioning.asp
That said, the current behavior is correct (since elements with absolute positioning are removed from the normal flow). You can achieve the intended behavior by removing the "position: absolute" style and adding some JavaScript to fix the object on a specific spot of the screen, for example.
If you all agree, shall we mark it as WONTFIX (same for bug 90717)?
(In reply to comment #5)
> (In reply to comment #4)
> > I think this is intended behavior. Absolute positioning will remove your image element from the page flow, as a result the a element will have a 0-size and as a result of that the focus outline will not be shown. Firefox shows the same behavior.
>
> Do you have any suggestion to fix this bug?
> I traced the code,but haven't found any solution.
>
> https://bugs.webkit.org/show_bug.cgi?id=90717
> may have the same issue.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list