User Profile
Collapse
-
Actually I did post the question. For the work am doing, understanding the html parser is necessary. Unfortunately the parser for the same browser itself is behaving differently. I will update if I hear anything back from Mozilla. -
Thank you for the response. That was just a simplified piece of code extract from an enterprise app. The source am referring to is the generated source by firefox (using the DOM viewer in firebug).
I do have a follow upp question.
Why Firefox render
<a href="javascrip t:t()"><div> Click </div> </a> properly but not the inline script version ? In this case the inline element <a>...Leave a comment:
-
I can understand FF closing the anchor tag. But with FF I end up with two anchor tags, one inside and one outside the div.
<a href="javascrip t:t()"></a> <-- 1
<div id="rt2">
<a href="javascrip t:t()"> Click2 </a> <--- 2
</div>Leave a comment:
-
You can click the link but the issue is with the actual DOM elements. Please install Firebug and click on the HTML tab. Observe how the <a> and <div> tags are inside out. You may have to use DOM inspector on IE to see the same.Leave a comment:
-
Issue with firefox and inline document.write
I am trying the following code in FireFox 3.6
-- code --
<script type="text/javascript">
document.write( '<a href="javascrip t:t()" >');
</script>
<div id="rt2"> Click2 </div>
</a>
--- FireFOx DOM --
<a href="javascrip t:t()"></a>
<div id="rt2">
<a href="javascrip t:t()">...
No activity results to display
Show More
Leave a comment: