Open Bug 1326766 Opened 7 years ago Updated 2 years ago

XUL splitters hide 1px in any frame placed before splitter

Categories

(Core :: XUL, defect)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

Details

>>>
STR_1:
1. Open bookmarks sidebar

STR_2:
1. Load url [1] in sidebar

STR_3:
1. Open bookmarks in separate window (Ctrl+Shift+B)

STR_4:
1. Open url [2]
2. Open devtools


AR:  Rightmost pixel isn't visible in sidebar (in any frame placed to the left from vertical splitter)
     Lowest pixel isn't visible in any frame placed above horizontal splitter
ER:  Splitter shouldn't hide anything

Note:
1) Currently vertical splitter is 3px wide and has CSS rule "margin-left:-3px;" applied. Therefore
   setting "margin-left:-2px;" is enough to fix this, but you should test this solution first.
2) Probably product is "Toolkit" rather than "Core".

splitters eat 1px
> [1] data:text/html,<style>body{height:50%; margin:0px; background:linear-gradient(to left, blue 0px, blue 1px, transparent 1px) no-repeat 100% 0px/1px 100%;}
> [2] data:text/html,<style>body{height:100%; margin:0px; background:linear-gradient(to top, red 0px, red 1px, transparent 1px) no-repeat 0px 100%/50% 1px;}
No longer blocks: 1277113
Component: Untriaged → XUL
Product: Firefox → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.