Closed
Bug 825692
Opened 12 years ago
Closed 12 years ago
Avoid mShouldBuildLayer for textboxes on B2G
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
Attachments
(1 file, 1 obsolete file)
1.09 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
"ShouldBuildLayer case should check mVScrollbarBox and mHScrollbarBox for null as well as styles.mHorizontal/mVertical for HIDDEN"
Assignee | ||
Updated•12 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #696809 -
Flags: review?(roc)
Comment on attachment 696809 [details] [diff] [review] Avoid layerizing scrollframes that don't have scrollbar boxes Review of attachment 696809 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/generic/nsGfxScrollFrame.cpp @@ +2088,5 @@ > ScrollbarStyles styles = GetScrollbarStylesFromFrame(); > mShouldBuildLayer = > (styles.mHorizontal != NS_STYLE_OVERFLOW_HIDDEN || > styles.mVertical != NS_STYLE_OVERFLOW_HIDDEN) && > + (mVScrollbarBox || mHScrollbarBox) && Actually I think we should check styles.mHorizontal != HIDDEN && mHScrollbarBox etc. We need to have at least one scrollbar that's both present and has style != HIDDEN.
Assignee | ||
Comment 3•12 years ago
|
||
I'm happy with the stricter condition.
Attachment #696809 -
Attachment is obsolete: true
Attachment #696809 -
Flags: review?(roc)
Attachment #696824 -
Flags: review?(roc)
Attachment #696824 -
Flags: review?(roc) → review+
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1004c01bb817 This fixes an unnecessary performance problem with input boxes and only impacts B2G
blocking-basecamp: --- → ?
Updated•12 years ago
|
blocking-basecamp: ? → +
Updated•12 years ago
|
Assignee: nobody → jmuizelaar
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1004c01bb817
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 6•12 years ago
|
||
Does this need to be uplifted?
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Andrew Overholt [:overholt] from comment #6) > Does this need to be uplifted? Yes.
Comment 8•12 years ago
|
||
Ryan - would you mind helping here?
Flags: needinfo?(ryanvm)
Keywords: checkin-needed
Comment 9•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/b07bf54151d1 https://hg.mozilla.org/releases/mozilla-b2g18/rev/e6edce84651f
status-b2g18:
--- → fixed
status-firefox19:
--- → fixed
status-firefox20:
--- → fixed
Flags: needinfo?(ryanvm)
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•