[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug: EWW: Fails to handle radio-buttons correctly?
From: |
T.V Raman |
Subject: |
Bug: EWW: Fails to handle radio-buttons correctly? |
Date: |
Wed, 3 Mar 2021 08:26:14 -0800 (PST) |
I have the HTML fragment shown below on http://emacspeak.sf.net
--- it produces a simple search form that asks for a query, and allows
the user to pick a specific site to search, or search the entire Web.
Eww appears to incorrectly handle the URL param corresponding to the
radio buttons. No fancy JS involved, so I was able to verify the HTML
form, as well as the results using lynx on linux
Here is the HTML:
Successful correct URL to submit assuming you checked
emacspeak.blogspot.com in the radio buttons should give:
https://www.google.com/custom?domains=emacspeak.sf.net&q=ladspa&sitesearch=emacspeak.blogspot.com
which Google then remaps appropriately as
https://www.google.com/search?q=ladspa+site:emacspeak.blogspot.com&domains=emacspeak.sf.net&gbv=1&sei=d7g_YMmeIJjp-gTCo7agCw
With EWW, the radio buttons appear to have no effect
<form method="get" action="https://www.google.com/custom">
<p><strong>Search Using Google</strong><br />
<label for="q">Look for:</label>
<input accesskey="/" id="q" type="text" size="15" name="q" />
<input type= "submit" value="Go" /><br />
<label for="mailsearch">Search Mail Archives</label>
<input accesskey="m" id="mailsearch" type="radio" name= "sitesearch"
value= "mail.emacspeak.org" /><br/>
<label for="emsearch">Search emacspeak.blogspot.com</label>
<input accesskey="b" id="emsearch" type="radio" name= "sitesearch"
value= "emacspeak.blogspot.com" /><br/>
<label for="web">Search WWW</label>
<input accesskey="w" type="radio" name="sitesearch" id="web" value="" />
<input type="hidden" name="domains" value= "emacspeak.sf.net" /></p>
</form><br />
--
Thanks,
--Raman
♉ Id: kg:/m/0285kf1 🦮
--
Thanks,
--Raman
♉ Id: kg:/m/0285kf1 🦮
- Bug: EWW: Fails to handle radio-buttons correctly?,
T.V Raman <=