Closed
Bug 62826
Opened 24 years ago
Closed 24 years ago
[FIX][TXT]border-style: groove not displayed correctly for input type="text"
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
People
(Reporter: post, Assigned: rods)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16 i586; en-US; m18) Gecko/20001213
BuildID: 2000124308
CSS: border-style: groove it not displayed correctly for <input type='text'>.
For other input types such as "password" and "submit", it works fine.
Reproducible: Always
Steps to Reproduce:
Load a page with CSS value border-style set to "groove".
Comment 1•24 years ago
|
||
Please provide a testcase or a url, thanx!
Reporter | ||
Updated•24 years ago
|
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
Setting bug status to new. The style is indeed applied correctly to password and
submit but not text inputs.
Status: UNCONFIRMED → NEW
Component: Browser-General → Style System
Ever confirmed: true
Summary: border-style: groove not displayed correctly → border-style: groove not displayed correctly for input type="text"
Working example! Build 2000121104 and WFM.
--------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>H-J's Small Working Example</title>
</head>
<body>
<input type="text" name="test1" id="test1" size="10" maxlength="10"
style="border-style : groove;"><br><br>
<input type="password" name="test2" id="test2" size="10" maxlength="10"
style="border-style : groove;"><br><br>
<input type="submit" name="test3" id="test3" style="border-style : groove;">
</body>
</html>
-------
Sorry, but sending file attachments gets broken under WinNT!
Friendly, HJ.
Comment 6•24 years ago
|
||
The problem here is that the page is operating under quirks mode.
In quirks mode there is this rule:
quirk.css (lines 93-96)
input[type="text"] {
border: 2px inset ! important;
padding: 1px 0 0 0;
}
This rule should probably be changed to something like (since password is just a
text box with the text hidden by *****):
input[type="text"], input[type="password"] {
border: 2px inset ! important;
padding: 1px 0 0 0;
}
although there is a slippery slope here...
moving over to html form controls since rod or ian will quickly say yes or no to
this one.
Assignee: pierre → rods
Component: Style System → HTML Form Controls
QA Contact: chrisd → bsharma
Assignee | ||
Comment 7•24 years ago
|
||
Basically, when in quirks mode (non-Standard) we try to obey (for the most part)
what Nav 4.x did or didn't do. I would say in this case the bug is what Pierre
eluded to: groove really shouldn't be supported for any of the input controls
when in quirks mode.
If you want groove specify your document as using the strict DTD:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
Status: NEW → ASSIGNED
Summary: border-style: groove not displayed correctly for input type="text" → [FIX][TXT]border-style: groove not displayed correctly for input type="text"
Comment 8•24 years ago
|
||
rod,
what is the [fix] then...
some rule in quirk.css that says to override any border-style for any form
control...?
Assignee | ||
Comment 9•24 years ago
|
||
FIX means means I either have the fix in my tree or I know what the fix is. It
makes it easier for me to track bugs I have worked on and those that might be
pending a review.
Comment 10•24 years ago
|
||
Sorry Rod not trying to be rude. :-)
I was just interested in what you were planning... and I did not see an attached
fix.
Assignee | ||
Comment 11•24 years ago
|
||
No, I didn't think you were being rude for asking. And while we are on the
subject, [MF] at the moment stands for "Must Fix" so right now all my P1 bugs
are at the top and MF are of highest priority.
Comment 12•24 years ago
|
||
I would take a close look at <input type="file"> as you will see this one is
worse! The font is also not working for this one. And further the height of
element <input type="submit"> is not the same as the rest! Can that be fixed also?
I did send Jonas Koch Bentzen already an e-mail with a work around for his
problems with this page. And one things for sure, you don't need to get groove
working! As he will see, and it's displaying exactly the same as in IE5.5!
Netscape is being send all over the world. It will take at least two years to
get everyone on 6.5. So his problem remains active for that period, as all other
problems!
And Jonas, the person with that nsa.gov e-mail address thats me! Don't ever use
that, That would be a mistake!
Friendly, HJ.
Comment 13•24 years ago
|
||
Rod, small question. Are you going to put groove into quirk.css for all input
controls? Are you fixing the groove thing for attribute types radio and file also?
Or do we first need to file a bug for them?
Assignee | ||
Comment 14•24 years ago
|
||
NavQuirks will not support the "groove" border, but it will in standard mode.
Meaning the example in this bug works.
Comment 15•24 years ago
|
||
Should this not be a duplicate of bug 55336?
Comment 16•24 years ago
|
||
Marking duplicate of the bug where all of this is discussed at length.
*** This bug has been marked as a duplicate of 55336 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•