Closed
Bug 493589
Opened 16 years ago
Closed 15 years ago
about:config rendering problem
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
ARM
Windows Mobile 6 Professional
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dougt, Assigned: mfinkle)
References
Details
Attachments
(3 files, 1 obsolete file)
53.08 KB,
image/png
|
Details | |
1.32 KB,
patch
|
Details | Diff | Splinter Review | |
937 bytes,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
load m.cnn.com
load about:config
search for "network" (probably anything really)
pan to end of page
notice that you see m.cnn.com at the bottom of the page.
Comment 1•15 years ago
|
||
This bug probably affect many xul document. In fact if the document is not an HTML one or a SVG one we keep as size the actual canvas size (CanvasBrowser.js#660).
This patch handle XUL document in .
Reporter | ||
Updated•15 years ago
|
Attachment #379478 -
Flags: review?(mark.finkle)
Comment 2•15 years ago
|
||
Hmm, we got rid of this code in bug 458740, since bug 111034 seemed to make it unnecessary. If we really do need it, we should just add it as an || to the existing condition and keep the two code paths in common, but I'd like to know why scrollHeight/Width is not accurate here.
Comment 3•15 years ago
|
||
(In reply to comment #2)
> Hmm, we got rid of this code in bug 458740, since bug 111034 seemed to make it
> unnecessary. If we really do need it, we should just add it as an || to the
> existing condition and keep the two code paths in common, but I'd like to know
> why scrollHeight/Width is not accurate here.
The problem here is that cdoc.body did not exist for XULDocument and so Math.max return NaN as the max value and this force to return the canvas size, but otherwise you're right with bug 111034 scrollWidth/Height is completely accurate for XUL doc and I've not see that.
Comment 4•15 years ago
|
||
Attachment #379478 -
Attachment is obsolete: true
Attachment #379478 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 5•15 years ago
|
||
I think this is more like Gavin had in mind. If Math.max() propagates the Nan, then let's set a reasonable lower limit.
Attachment #380118 -
Flags: review?(gavin.sharp)
Comment 6•15 years ago
|
||
(In reply to comment #5)
> I think this is more like Gavin had in mind. If Math.max() propagates the Nan,
> then let's set a reasonable lower limit.
Yes, this is what I've understand but I just had the feeling it was a kind of workaround to do it that way (let a variable called body and do some Math.max when there is no reason to do it).
If we do it that way can we just remove the two isNan from the last test?
Comment 7•15 years ago
|
||
After thinking a bit, I've just realized SVGDocument is the exception and you don't want to had exception, right?
Comment 8•15 years ago
|
||
I think we need the SVGDocument exception still. I think Mark's patch is probably right, though I'd probably just add "|| 0" to the Math.max parameters rather than specifying a dummy object.
Updated•15 years ago
|
Attachment #380118 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 9•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Blocks: 492546
Comment 11•15 years ago
|
||
I find it annoying when we dupe the original bug to the one that came weeks later. :-P
Comment 12•15 years ago
|
||
Now I cannot scroll about:config at all on OS X. Should I open a new bug?
Comment 13•15 years ago
|
||
verified FIXED:
Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.3a1pre) Gecko/20090821 Fennec/1.0a3pre
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•14 years ago
|
Component: Windows Mobile → General
OS: All → Windows Mobile 6 Professional
QA Contact: mobile-windows → general
Hardware: All → ARM
Updated•13 years ago
|
Assignee: nobody → mark.finkle
You need to log in
before you can comment on or make changes to this bug.
Description
•