Closed Bug 737040 Opened 12 years ago Closed 12 years ago

Need a way of being notified of scrollable overflow change

Categories

(Core :: Layout, enhancement)

ARM
Android
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 227495

People

(Reporter: cwiiis, Unassigned)

Details

We currently have the problem in native Android fennec that we have a display-port that is set based on the size of the document (max(body.scrollWidth, root.scrollWidth), max(body.scrollHeight, root.scrollHeight)), but we only know about the size of the document when we query it.

Much like scroll position, we need a DOM event that is fired when scrollWidth/Height change, so that we can alter the display-port at this point and have it apply before drawing.
Blocks: 736729
smaug pointed out the MozScrolledAreaChanged, which solves are problem for fennec, but only applies to the root scroll-frame. Leaving this open, as there's no equivalent for any element, but feel free to close if it isn't appropriate.
No longer blocks: 736729
Severity: normal → enhancement
For any element, this is covered by bug 227495 as far as I can tell, no?
Component: DOM: Core & HTML → Layout
QA Contact: general → layout
Yes, my bugzilla-fu wasn't good enough.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.