Closed
Bug 229425
Opened 21 years ago
Closed 18 years ago
the use of first-letter on an the button element when its display is set to block fails
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
People
(Reporter: diades, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
306 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1 <style type="text/css"> button{display:block) button:first-letter{color:#ff0000;background-color:transparent;text-decoration:none;} .... <button name="fred" type="submit">Fred</button> The above (a shortened version) renders correctly in IE & Opera nut not Moz 1.3b, Firebird 0.61 or Netscape 7.1/2 Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 1•21 years ago
|
||
Form controls, but given that <button> is currently a replaced element in Mozilla our behavior is correct....
Assignee: general → form
Component: DOM: CSSOM → Layout: Form Controls
OS: Windows 2000 → All
Hardware: PC → All
Comment 2•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8b4) Gecko/20050905 Firefox/1.0+ ID:2005090518 Confirmed with the above nightly. Like the poster in Comment #1, I'm not sure this is a bug, but I've created a testcase for the behavior. Opera and IE do indeed display at the original reporter expected.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•19 years ago
|
||
Updated•19 years ago
|
Flags: testcase?
Comment 5•18 years ago
|
||
Fixed by bug 51767. Tested with: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060113 Firefox/1.6a1
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•