View Single Post
  #3 (permalink)  
Old August 19th, 2010, 10:19 PM
chroniclemaster1 chroniclemaster1 is offline
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

:O OK, I thought you were drinking the koolaid, but I checked it anyway. How on earth did you figure this one!? It's a Firefox thing. So I assume that means I'm good to go and just give the Firefox XHTML an extra look before deploying anything since it may be a bit tweaked?

Here's some of the test results, check it out. In IE and Opera the output is identical but in Firefox, not so much.

Code output:
outputSelectTestsAndPagesUiOutput = "<input type='radio' id='myId' class='mighty mouse' lang='en' xml:lang='en' />";

XHTML output (as copied from view source):
<input id="myId" class="mighty mouse" xml:lang="en" lang="en" type="radio"> (Firefox 2.0)
<input id="myId" class="mighty mouse" xml:lang="en" type="radio" lang="en"> (Firefox 3.6)
<input type='radio' id='myId' class='mighty mouse' lang='en' xml:lang='en' /> (Opera 9.23)
<input type='radio' id='myId' class='mighty mouse' lang='en' xml:lang='en' /> (Opera 10.6)
<input type='radio' id='myId' class='mighty mouse' lang='en' xml:lang='en' /> (IE 6.0)
<input type='radio' id='myId' class='mighty mouse' lang='en' xml:lang='en' /> (IE 8.0)


Code output:
outputSelectTestsAndPagesUiOutput = "< id='myId' class='mighty mouse' > </ >";

XHTML output (as copied from view source):
&lt; id='myId' class='mighty mouse' &gt; <!-- --> (Firefox 2.0)
&lt; id='myId' class='mighty mouse' &gt; <!-- --> (Firefox 3.6)
< id='myId' class='mighty mouse' > </ > (Opera 9.23)
< id='myId' class='mighty mouse' > </ > (Opera 10.6)
< id='myId' class='mighty mouse' > </ > (IE 6.0)
< id='myId' class='mighty mouse' > </ > (IE 8.0)
__________________
-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.