Closed Bug 204891 Opened 21 years ago Closed 21 years ago

Text input fields inherit text-indent from parent elements

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 56253

People

(Reporter: bugzilla, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030429 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030429 Mozilla Firebird/0.6

This appears on Firebird and Mozilla.
Positive and negative text-indents on elements get inherited to text inputs
inside them

Workaround - set text-indent: 0; for input fields

specs: As far as I understand the W3C specs (limited) text-indent is only
applied to block level elements, and as far as I am aware, input elements are
inline, so should not have inherited it.

Reproducible: Always

Steps to Reproduce:
1. view web page
2.
3.

Actual Results:  
see file

Expected Results:  
left text-indent as 0

*** This bug has been marked as a duplicate of 56253 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: