Closed
Bug 310047
Opened 19 years ago
Closed 19 years ago
CSS Style Text-Decoration is ignored for the Button tag
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 219516
People
(Reporter: toby, Unassigned)
Details
Attachments
(1 file)
230 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
When a <button></button> tag is used and given the style
text-decoration:underline; or any other valid text-decoration property, Firefox
ignores it. Text within a button tag is always plain and can never be set to
underline, blink, overline or strike through.
Reproducible: Always
Steps to Reproduce:
1.Create an Html page with a button element
2.Set button style to be text-decoration:underlin
3.view page and note the text is not underlined.
4.Below is code to reproduce problem
<html>
<body>
<div class="offerByEmail" >
<form action="" method="post">
<button style="text-decoration:underline;">Submit</button>
</form>
</div>
</body>
</html>
Actual Results:
Text within button is not underlined
Expected Results:
Underlined the text
Comment 1•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b5) Gecko/20050926
Firefox/1.4 ID:2005092603
WFM
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 219516 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•