Closed Bug 1600629 Opened 6 years ago Closed 6 years ago

Input box min size fixed at 32px - Linux

Categories

(Core :: Layout: Form Controls, defect)

70 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: gegotop232, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

<input type="text">
input {
height: 5px;
}
does not work
http://jsfiddle.net/mvNDh/

Trying to reduce input box height it is reducing down to 32px and then stops.

tested on Chromium - it works.

Actual results:

Height stays fixed at 32px

Expected results:

Height has to reduce behind 32px, up to set in style (ex. 10px)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
20191030021342

Works for me. Can you reproduce the issue if you enter about:profiles into the address bar, create a new profile, then click the Launch profile in new browser button and retry there?

Has STR: --- → yes
Keywords: testcase
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

(In reply to Gingerbread Man from comment #2)

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
20191030021342

Works for me. Can you reproduce the issue if you enter about:profiles into the address bar, create a new profile, then click the Launch profile in new browser button and retry there?

The test was done on new fresh profile. For second test iteration I have taken all the content out of iframe (from jsfiddle) and tested on local file, pure HTML. Still the same. Adding video show in attachments. There is another scenario, when this is not observed on the same profile. I did not find out - what is the critical difference in HTML, but at least most simple HTML scenario in test case - the bug is visible:

<html>
<head>
<style type="text/css">
input{height:5px;}
</style>
</head>
<body>
<input type="text">
</body>
</html>

Anyway, this must be only my instance related, I will try with v71, which popped up just today, I will upgrade it as soon as it appears on ubuntu's repo.

Test case on new profile, simple HTML

<html>
<head>
<style type="text/css">
input{height:5px;}
</style>
</head>
<body>
<input type="text">
</body>
</html>

I can repro on Linux, but we're basically obeying the GTK theme...

If you want to not be subject at your system's styling, you can set -moz-apperance: none and then it'll work.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: