Closed Bug 1108306 Opened 11 years ago Closed 11 years ago

Value of overflow other than ‘visible’ on inline-block elements causes outline to be clipped

Categories

(Core :: Layout: Block and Inline, defect)

33 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: adam, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141013195847 Steps to reproduce: * { display: inline-block; overflow: hidden; } Actual results: Focus reveals that outlines near adjacent elements get clipped. It does not happen when overflow is set to visible. Expected results: This bug seems to be related to https://bugzilla.mozilla.org/show_bug.cgi?id=286368 Considering the resolution of that issue, the setting of the overflow property should not influence the visibility of the outline.
Could you attach a simple testcase to the bug, please.
Component: General → Layout: Block and Inline
Flags: needinfo?(adam)
Keywords: testcase-wanted
Do you mean that an element's own outline is clipped, or that an element's outline is clipped by its parent? I would be surprised by the first, but I think the second is correct behavior.
Okay, my fault. David, you’re right, the outline was clipped by the parent, which is, indeed, logical. It was just that as all the elements in question had their own wrappers it made the impression that adjacent _siblings_ too hid the outline of each other. Sorry for the false report.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(adam)
Resolution: --- → INVALID
Per Comment 3,clear "testcase-wanted".
Keywords: testcase-wanted
You need to log in before you can comment on or make changes to this bug.