Page MenuHomePhabricator

inputbox width= values ignored
Closed, DuplicatePublic

Description

Since the most recent software change, <inputbox> ignores the set width= values. For an example, see https://commons.wikimedia.org/wiki/Commons:License_review/requests/archive.

Event Timeline

FDMS created this task.Mar 10 2015, 11:59 PM
FDMS raised the priority of this task from to Needs Triage.
FDMS updated the task description. (Show Details)
FDMS added a subscriber: FDMS.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 10 2015, 11:59 PM

Thanks for taking the time to report this!

Since the most recent software change

I guess that translates to 1.25wmf20 (be38f2f)

<inputbox> ignores the set width= values. For an example, see https://commons.wikimedia.org/wiki/Commons:License_review/requests/archive.

That page's wikitext says:

<inputbox>
bgcolor=
type=fulltext
prefix=Commons:License review/requests/archive/
break=no
width=22
searchbuttonlabel=&#x1F50D;
placeholder=search archives
</inputbox>

and that becomes in HTML <input class="searchboxInput mw-ui-input mw-ui-input-inline" name="search" value="" placeholder="search archives" size="22" dir="ltr" type="text"> here in Firefox 36. So the width/size is kept, at least here.

If that's not the actual problem that you refer to, more information / a clearer description is welcome.

This may be caused by mw-ui-input-inline.

.mw-ui-input-inline {
   min-width: 320px;
}