Closed
Bug 156178
Opened 22 years ago
Closed 22 years ago
NOLAYER tags should be ignored by Mozilla.
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
People
(Reporter: shaohz, Assigned: jst)
Details
Attachments
(2 files)
Mozilla should ignore NOLAYER tags, as if they did not exist. LAYER tags are already meaningless in Mozilla. NOLAYER tags should also be meaningless. The following two parts should have the same effect. 1) <div style="background-color:red;"> ABC </div> 2) <nolayer><div style="background-color:red;"></nolayer> ABC <nolayer></div></nolayer> But actually, they do not. That means <nolayer> and </nolayer> are not totally ignored by Mozilla. I think this is a bug.
Comment 1•22 years ago
|
||
I believe the problem is your nesting in your second case. It should more appropriately be: <nolayer><div style="background-color:red;"> ABC </div></nolayer> I did not test this, but that is the proper nesting of those. You cannot start an element within another element and end it outside the surround element.
Comment 2•22 years ago
|
||
We should ignore them to the extent that we should ignore any other unknown HTML tags. This does not negate the fact that the document should be well-formed, since well-formedness checking needs to happen after tokenization and before content model construction... <foo><div></foo> <foo><div></foo> acts just like the same thing with <nolayer>. In any case, how exactly is the <nolayer> case different from the other one here? I just checked, and they look identical to me..
Reporter | ||
Comment 3•22 years ago
|
||
Comment 4•22 years ago
|
||
Reporter | ||
Comment 5•22 years ago
|
||
It seems that the bug has been fixed in recent builds. I was using Build ID 200205312. I'll download the latest build and test it.
Reporter | ||
Comment 6•22 years ago
|
||
In Mozilla (Build ID: 2002070708}, the bug does not exist. I'm glad to know it has been fixed. (But I don't know when it was fixed.)
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 7•22 years ago
|
||
Reopening to mark it WFM as Fixed would mean a specific patch attached to this bug report actually fixed it.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Comment 8•22 years ago
|
||
Marking WFM (unless one can find the proper dupe)
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 10•22 years ago
|
||
I just found Netscape 7.0 still has the bug. The version string is Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 I know Netscape 7.0 is different from Mozilla. But Netscape 7.0 seems to be based on Gecko/20020823. I do not have the latest build of Mozilla. Can anyone check whether this bug came back to Gecko engine recently?
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Comment 11•22 years ago
|
||
That's Gecko/20020823 off the 1.0 branch, not the trunk. This bug was never fixed on branch (and yes, this is a dup). *** This bug has been marked as a duplicate of 61443 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → DUPLICATE
Comment 12•22 years ago
|
||
the patch for 61443 has been checked into trunk, not 1.0 branch. And netscape 7.0 is based on 1.0 branch, so you can still see the problem.
Reporter | ||
Comment 13•22 years ago
|
||
Thanks for the explanation. Well, now my only question is When will the patch be checked into 1.0 branch? I really hope the bug can be fixed in Netscape 7 series ASAP. It breaks many web pages in our project.
Comment 14•22 years ago
|
||
This is probably never going into the branch... the next Netscape release should be off the trunk in any case...
Comment 16•22 years ago
|
||
The patch for it has been checked into OEM branch. netscape 7.0 for solaris is based on OEM branch, it will work fine.
Updated•14 years ago
|
Component: DOM: Abstract Schemas → HTML: Parser
You need to log in
before you can comment on or make changes to this bug.
Description
•