Open
Bug 290349
Opened 20 years ago
Updated 2 years ago
CSS overflow:hidden causes wrong overlay of INPUT
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
NEW
People
(Reporter: bugs, Unassigned)
Details
(Keywords: css2, testcase)
Attachments
(1 file, 1 obsolete file)
|
1.54 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.6) Gecko/20050321 Firefox/1.0.2 I made this testcase, so if it is a duplicate, you can at least use that. The CSS rules are a little bit tricky. I put a LABEL and an INPUT inside a DIV, set both to display:block and width:50%, foated the LABEL to the left and gave the INPUT a left margin of 50%. If the focus is set to the INPUT, its left margin becomes 0 and its width 100%, so it overlays the LABEL. If the overflow of LABEL is set to hidden / scroll / auto, the Content of LABEL remains inside of INPUT, while the background is hidden. The Testcase is XHTML Strict, but Firefox behaves the same in Quirks Mode. Reproducible: Always Steps to Reproduce: 1. Open the Testcase 2. click in each of the INPUT fields 3. Look what happens to the LABEL
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
Attachment #180734 -
Attachment is obsolete: true
| Reporter | ||
Comment 3•20 years ago
|
||
Confirmed in Firefox 1.0.3 / Win XP
| Reporter | ||
Comment 4•20 years ago
|
||
Confirmed in Firefox 1.0.4 / WinXP
Comment 5•19 years ago
|
||
confirmed in Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Comment 6•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050901 Firefox/1.0+ ID:2005090106 Behavior persists.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: css2
Summary: CSS overlow:hidden causes wrong overlay of INPUT → CSS overflow:hidden causes wrong overlay of INPUT
| Reporter | ||
Comment 7•19 years ago
|
||
In Firefox 1.5b1 the bug is still there, but the behaviour has changed: Now both the content and the background of LABEL overlay INPUT. But the text entered into INPUT is displayed.
Version: unspecified → 1.5 Branch
Updated•18 years ago
|
Assignee: bross2 → nobody
Comment 8•15 years ago
|
||
with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100430 rv:1.9.2.3 ID:20100430072714 the text input fields expand to the right when clicked on all variants of overflow - so there is no difference in overflow:visible and overflow:hidden rendering anymore compared to Gecko 1.8.0/.1. => WFM?
Component: General → Style System (CSS)
Keywords: testcase
Product: Firefox → Core
QA Contact: general → style-system
Version: 1.5.0.x Branch → Trunk
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•