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




Layout: Form Controls
15 years ago
4 years ago


(Reporter: Thomas Verelst, Unassigned)



Windows 2000

Firefox Tracking Flags

(Not tracked)



(2 attachments)



15 years ago
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.

Comment 1

15 years ago
->Form Controls
Testcase forthcoming.
Assignee: general → form
Component: Browser-General → Layout: Form Controls
Keywords: testcase
QA Contact: general → ian

Comment 2

15 years ago
Created attachment 133647 [details]

Testcase WFM 20031012 PC/WinXP

Reporter, we will need to see a specific URL or a testcase where you can
demonstrate this problem.

Comment 3

15 years ago
I see someone else already did.&nbsp; Should I maybe post screen shots?

Comment 4

15 years ago
Created attachment 133649 [details]
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.

Comment 6

15 years ago
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

Comment 8

15 years ago
Hmm... OK...

But this tag doesn't affect radio buttons in Internet Explorer.  Why does it in
Does IE change radio button rendering when you change themes?  Mozilla does,
with the theme.

Comment 10

15 years ago
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.

Comment 12

15 years ago
OK, well... it does not for me.  I get what you can see in the screenshot.

Windows 2000 SP4 (English)
Mozilla 1.5 (English)

Comment 13

15 years ago
(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.

Comment 15

15 years ago
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

Comment 17

15 years ago
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

*** This bug has been marked as a duplicate of 16380 ***
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE


4 years ago
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.