Comment 6 for bug 164526

Created attachment 125003

Here's a version of attachment 99019 that works around this problem.

There are two important changes:
-- The textbox is wrapped in a positioned DIV that is marked 'overflow:auto'.
'overflow:auto' ensures that the textbox DIV has a native widget associated
with it.
-- The textbox DIV appears in the DOM after the red DIV. This ensures that the
native widget for the textbox is ordered after the native widget for the red