Closed
Bug 1178382
Opened 10 years ago
Closed 10 years ago
Checkerboarding scrolling through a <select size=n> list box
Categories
(Core :: Panning and Zooming, defect)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: kyle_fung, Assigned: mstange)
References
Details
Attachments
(2 files)
Steps to reproduce:
Go to https://bugzilla.mozilla.org/enter_bug.cgi?product=Core
Scroll the box under "Component" up and down
This causes the box to show checkerboard yellow without any text
Blocks: paint-fast
Assignee | ||
Updated•10 years ago
|
Summary: Checkerboarding scrolling through a scroll box → Checkerboarding scrolling through a <select size=n> list box
Updated•10 years ago
|
Component: Graphics → Panning and Zooming
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes.
forms.css sets overflow: -moz-hidden-unscrollable on all select elements.
ApplyOverflowClipping in nsFrame.cpp applies overflow clips that are not managed by scroll frames.
nsCSSFrameConstructor::ConstructSelectFrame creates an nsListControlFrame for listbox select elements.
nsListControlFrame is an nsHTMLScrollFrame.
As a result, the clip as applied twice - once by the nsHTMLScrollFrame, and then again by ApplyOverflowClipping.
Adding an exception for nsListControlFrame to ShouldApplyOverflowClipping gets rid of the double clip.
Attachment #8629499 -
Flags: review?(roc)
Comment on attachment 8629499 [details]
MozReview Request: Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes.
https://reviewboard.mozilla.org/r/12621/#review11089
Ship It!
Attachment #8629499 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/459cf9e67ded for OS X reftest failures like http://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-inbound-macosx64-debug/1435968762/mozilla-inbound_yosemite-debug_test-reftest-bm107-tests1-macosx-build592.txt.gz&only_show_unexpected=1
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8629499 [details]
MozReview Request: Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes.
Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes.
forms.css sets overflow: -moz-hidden-unscrollable on all select elements.
ApplyOverflowClipping in nsFrame.cpp applies overflow clips that are not managed by scroll frames.
nsCSSFrameConstructor::ConstructSelectFrame creates an nsListControlFrame for listbox select elements.
nsListControlFrame is an nsHTMLScrollFrame.
As a result, the clip as applied twice - once by the nsHTMLScrollFrame, and then again by ApplyOverflowClipping.
Adding an exception for nsListControlFrame to ShouldApplyOverflowClipping gets rid of the double clip.
But we still need to apply the clip when calculating the frame's visual overflow rect, so we add the
list box frame type to the list of special-cased frames in UnionBorderBoxes.
Attachment #8629499 -
Flags: review+ → review?(roc)
Attachment #8629499 -
Flags: review?(roc) → review+
Comment on attachment 8629499 [details]
MozReview Request: Bug 1178382 - Ignore overflow: -moz-hidden-unscrollable on <select size=n> listboxes.
https://reviewboard.mozilla.org/r/12621/#review11267
Ship It!
Assignee | ||
Comment 8•10 years ago
|
||
Assignee | ||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•