Closed GoogleCodeExporter closed 9 years ago
This was not fixed by M234761, although that patch does fix its particular bug.
Code
added to pass in the nsIContent (which is simply "this") in two places.
The problem came down to
layout/html/forms/gfx/nsTextControlFrame.cpp::CreateAnonymousContent. Although
we
were correctly setting native anonymous thanks to M234761, the code from M69355
(which is in 9.1-current but not 9.0.4 or 9.0) was only adding attributes for
overflow if the style display type was NOT _AUTO, _VISIBLE or _CLIP (and then
it was
always overflow:inherit). However, the original code always added something,
even if
nothing was specified, and the fallback was overflow:auto.
The consensus code specifies _SCROLL and _HIDDEN with :scroll and :hidden
explicitly,
specifies :auto for _AUTO, _VISIBLE or no overflow property at all, and then
:inherit
for everything else.
Although this seems to cover all the bases, this really shouldn't have
happened, so I
am logging this fix as a KLUDGE.
VERIFIED
Original comment by classi...@floodgap.com
on 26 Jan 2010 at 12:00
Original issue reported on code.google.com by
classi...@floodgap.com
on 22 Jan 2010 at 5:50