Closed Bug 222888 Opened 21 years ago Closed 21 years ago

If "MSThemeCompatible" meta is specified and set to "No", radio buttons look ugly

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 16380

People

(Reporter: thomasverelst, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 On Mozilla 1.4 and 1.5, when specifying <meta http-equiv=MSThemeCompatible content=no> in the head section, a form's radio buttons get something that I can best describe as a "speckled round border". The only way to get around it is to sniff out Internet Explorer via JavaScript and add the meta tag in a document.write section intended for that browser exclusively.&nbsp; This way, Mozilla won't "see it". Reproducible: Always Steps to Reproduce: 1. Add <meta http-equiv=MSThemeCompatible content=no> to the head 2. Add <input type=radio> to the body 3. Check your page Expected Results: Mozilla should ignore the "MSThemeCompatible" meta tag.
->Form Controls Testcase forthcoming.
Assignee: general → form
Component: Browser-General → Layout: Form Controls
Keywords: testcase
QA Contact: general → ian
Attached file testcase
Testcase WFM 20031012 PC/WinXP Reporter, we will need to see a specific URL or a testcase where you can demonstrate this problem.
Hi. I see someone else already did.&nbsp; Should I maybe post screen shots?
Attached image Screenshot of problem
Why should Mozilla ignore this? If you disable Theme support, then Mozilla will use its internal form styles... that's what it means.
The tag's purpose is to disable the themes feature in Internet Explorer 6 on Windows XP. This feature generally affects the look of the scrollbar as well as buttons and input fields, which may be a problem (for the web designer) if the page in question is intended to show up in a specific way. I said that Mozilla should ignore this tag because it's not intended to change anything in Mozilla.
> This feature generally affects the look of the scrollbar as well as > buttons and input fields Yes, and Mozilla has a similar feature which does very much the same thing (on Windows XP). That is, it will also use the Windows XP theming functionality to style page elements. So if the designer doesn't want IE to do that, presumably they don't want Mozilla to do it either. hence our support for MSThemeCompatible
Hmm... OK... But this tag doesn't affect radio buttons in Internet Explorer. Why does it in Mozilla?
Does IE change radio button rendering when you change themes? Mozilla does, with the theme.
Specifying that meta tag changes the radio buttons in Internet Explorer 6 from the "special one" to the "regular one" if a theme is enabled. If no theme is enabled, it is the "regular one" either way. On Mozilla, it changes from the "regular one" to something that you can see in the screen shot posted above in the attachment section. Where does this look come from? I cannot reproduce it with any other browser with neither theme.
The button it changes to is the "regular" one in Mozilla. i.e. the one drawn using Mozilla's built-in radio-button-drawing routine.
OK, well... it does not for me. I get what you can see in the screenshot. Windows 2000 SP4 (English) Mozilla 1.5 (English)
(I checked the behavior of Internet Explorer 6 on a machine nearby running Windows XP Pro SP1.)
> I get what you can see in the screenshot. Yes... that screenshot is exactly what the built-in radio-drawing routine produces on Windows.
So do you suggest I cancel this bug and write a new one with a better description? I would only have to change the "Expected results" part to "The radio buttons rendered by the built-in radio-button-drawing routine on Windows when <meta http-equiv=MSThemeCompatible content=no> is specified should show up as 'normal' radio buttons."
I believe we have existing bugs on the fact the our drawing routine draws ugly radio buttons on Windows....
Whiteboard: DUPEME
I just did a check on "radio button" and I didn't find any that deals with the "drawing routine". Maybe it's in bugs that were originally filed for a purpose other than radio buttons. If you happen to know of one, you're welcome to change this bug's status to "duplicate".
*** This bug has been marked as a duplicate of 16380 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: