On Thu, Jan 09, 2014 at 05:35:55PM +0000, Michael Drake wrote:
> In article <20140109100751.GD25556@pepperfish.net>,
> Rob Kendrick <rjek@netsurf-browser.org> wrote:
> > On Wed, Jan 08, 2014 at 11:48:38PM +0000, Chris Young wrote:
> > > Is there any way of adding a down arrow to the form select gadgets,
> > > maybe using CSS?
>
> > Yes. Using the pseudo elements before and after. But NetSurf doesn't
> > support these yet :) (I've looked into this before)
>
> It's not really the right answer anyway, because it could break author CSS.
>
> What we should do is have a core select widget, much like the textarea
> widget in desktop/textarea.{c|h}. The select widget should do its own
> rendering and mouse handling, rather than abusing an html render box for
> the purpose.
This requires careful thought, too, as author CSS may conflict with how
we render (and we have to take account of it).
I'd kinda like most of the form widgets to be handled properly (like
buttons for example) so they can be rendered in a "native style" on
different platforms.
B.
No comments:
Post a Comment