Can't set background color on new text fields
Created attachment 7107 [details]
Not sure if this is the right approach in the long run, since there could be other non-inhertied CSS properties that we should pass on to the div style.
Created attachment 7108 [details]
Comment on attachment 7107 [details]
The <input> has to be the one to draw the background, since backgrounds draw in the border box of an element. The reason this isn't drawing is that the native theme is stopping it.
I had hyatt review a new patch.
It turns out that the NSTextFieldCell was drawing a background - even with setDrawsBackground:NO. So we added a new function just to draw the text field border.
I think after the fix all new text fields have a transparent background by default instead of white (probably fixable in html4.css).