Closed Bug 28010 Opened 25 years ago Closed 25 years ago

[CSS][NAVQUIRKS]border around the image asociated with a <input type=image> tag

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: andy, Assigned: attinasi)

References

()

Details

(Whiteboard: [nsbeta2+])

From Bug Helper: User-Agent: Mozilla/5.0 [en-US] (Windows_NT; I) BuildID: 2000012520 browzer displays a border around the image asociated with a <input type=image> tag as if the image was a hyper link with no border=0 attribure set. Reproducible: Always Steps to Reproduce: 1.go to ww.mad.co.uk 2.look at the images above the dropdown menu's on the right of the page 3. Actual Results: Border around the images as described above Expected Results: there should not be a border around the image eg... <form> <input type="image" align="right" src=INSERT IMAGE SOURCE HERE value="whatever" Name="whateverbutton"> </form>
Changing component
Assignee: troy → karnaze
Component: Layout → HTML Form Controls
QA Contact: petersen → ckritzer
Reassigning to Rod.
Assignee: karnaze → rods
setting to M15
Status: NEW → ASSIGNED
Target Milestone: M15
This is NavQuirks behavior and the blue border is defined in the html.css. The problem is if the browser was in Standard mode you would still get the border. I am discussing this issue with the style guys.
Summary: browzer displays a border around the image asociated with a <input type=image> tag → [CSS]browzer displays a border around the image asociated with a <input type=image> tag
mass-move to M16
Target Milestone: M15 → M16
moving to M17 we really need to have a standard and navquirks style sheet.
Summary: [CSS]browzer displays a border around the image asociated with a <input type=image> tag → [CSS][NAVQUIRKS]border around the image asociated with a <input type=image> tag
Target Milestone: M16 → M17
adding dependency for Standard/Strict style sheet
Depends on: 38026
The relevant current rules are: input[type=image] { box-sizing: border-box; border: 2px solid blue; vertical-align:baseline; behavior: none; background-color: inherit; cursor: default; } The rule 'border: 2px solid blue;' will be removed from html.css and the follwing added to quirk.css: input[type=image] { border: 2px solid blue; } I think that is my plan, once the quirk.css and related changes are in the tree. If I got it wrong please yell.
Oops - it looks like the html.css rule for border has to be 'border:none;' otherwise we get the inset border... [html.css] input[type=image] { box-sizing: border-box; border: none; vertical-align:baseline; behavior: none; background-color: inherit; cursor: default; } [quirk.css] input[type=image] { border: 2px solid blue; }
Stealing this one from Rod since the fix is in my tree.
Assignee: rods → attinasi
Status: ASSIGNED → NEW
Severity: trivial → normal
Status: NEW → ASSIGNED
b.c. with 4xp behavior. nsbeta2 6/1-. [HAVE FIX] per Mark's comments.
Keywords: 4xp, nsbeta2
Whiteboard: [HAVE FIX]
[nsbeta2+] [6/1] Please checkin fix by 6/1
Whiteboard: [HAVE FIX] → [nsbeta2+] [6/1] [HAVE FIX]
I need to checkin the fix for the dependent bug 38026 before I can check this in - should it be nsbeta2+ as well - please advise.
Just to reiterate: I cannot check in this fix unless I get approval and check in the dependent bug 38026 - PDT: Could you please check that one and either grant or deny approval? Thanks.
I won't be able to fix this by 6/1 unless the depends-on bug 38026 is marked nsbeta2+ as well...
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: [nsbeta2+] [6/1] [HAVE FIX] → [nsbeta2+]
Marking VERIFIED FIXED on: - MacOS9 2000-07-11-08-M17 Commercial - Linux6 2000-07-11-08-M17 Commercial - Win98 2000-07-11-08-M17 Commercial
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.