GNU bug report logs - #43227
EWW ignores 'multiple' attribute of 'select'

Previous Next

Package: emacs;

Reported by: Nicolas Graner <nicolas.graner <at> universite-paris-saclay.fr>

Date: Sat, 5 Sep 2020 17:24:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Nicolas Graner <nicolas.graner <at> universite-paris-saclay.fr>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 43227 <at> debbugs.gnu.org
Subject: bug#43227: EWW ignores 'multiple' attribute of 'select'
Date: Mon, 07 Sep 2020 10:51:02 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> wrote on 2020-09-07 01:05:
> In the context of the new drop-down menu...
>
> Perhaps they could just be rendered as
>
> [ ] Val1
> [ ] Val2
>
> and if you choose one of them, then we go to 
>
> [x] Val1
> [ ] Val2
>
> (and close the menu), and then you have to open it again to click on:
>
> [x] Val1
> [x] Val2

This looks really awkward. Reopening the menu for each item you want to
select or deselect is inefficient and counter-intuitive. Besides, it
leaves open the question of how to render a multiple select in the eww
buffer, showing which options are selected.

> Because I don't know a way to make the menu stay up after clicking on it.

Pop-up menus are probably not the right tool to implement multiple
selects. There is a reason why graphical browsers offer quite different
interfaces to single and multiple selects.

I stand by my suggestion that a multiple select should look similar to a
list of checkboxes. Maybe it could actually be converted to checkboxes
at the DOM level, before rendering, and then let the normal checkbox
code do the job?

Nicolas




This bug report was last modified 4 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.