Open Bug 847675 Opened 12 years ago Updated 5 months ago

Vertical scrollbar displayed when last line of block has an inline with a 1px bottom border

Categories

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

defect

Tracking

()

People

(Reporter: dsmutil, Unassigned)

Details

(Keywords: regression, testcase)

Attachments

(2 files)

Attached file Scrollbar with ABBR
Originally reported on Bug 416752. When a DIV is styled with overflow:auto and contains an ABBR at the end, the DIV is drawn too short, causing the scrollbar to appear. (Some other scrollbar testcases still work as well.)
Keywords: regression, testcase
This isn't special to <abbr>, I would assume. Presumably any inline with a bottom border would do that... It's not clear to me whether the 1px border should be triggering scrolling per se, but I see nothing in the spec that would prevent it from doing so. That seems unfortunate.
Component: Layout → Layout: Block and Inline
Flags: needinfo?(dbaron)
Summary: Scrollbar displayed when DIV contains ABBR → Vertical scrollbar displayed when last line of block has an inline with a 1px bottom border
Fwiw, WebKit would display a similar scrollbar given the same code / style (by default, <abbr> doesn't have any decoration in WebKit). I've always understood this to be the correct behaviour.
This is still an issue. I see this every day since our help desk software has this issue. I'll attach a screenshot if this helps. What additional information is needed to resolve this? Thanks.
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(dbaron)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: