Page MenuHomePhabricator

Inputbox default width issue with old browsers
Closed, ResolvedPublic

Description

Author: omniplex

Description:
Inpuboxes are displayed with width=1 on old browsers if no explicit width=nn is set. Example (minus class):

<input name="search" type="text" value="" size="" />
..........................................^^^^^^^

Good example with explicitly set with=6 (minus class):

<input name="title" type="text" value="" size="6" />
.........................................^^^^^^^^

The help page announces a default width 50, but that didn't make it into the actual size="". The XHTML 1 spec. points to the HTML 4.01 spec., and that only offers CDATA. My HTML 3.2 browser interprets it like this:

No size at all: use a default (apparently size="18").
Specified size: use that (above 50 can cause havoc).
size="": same effect as size="1", ugly for <inputbox>


Version: unspecified
Severity: normal
OS: other
Platform: Other
URL: https://meta.wikimedia.org/wiki/Help:Inputbox

Details

Reference
bz5566

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:12 PM
bzimport set Reference to bz5566.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Fixed in SVN trunk, r13634.

omniplex wrote:

Thanks, [[m:Help:Inputbox]] updated