Closed
Bug 218767
Opened 23 years ago
Closed 22 years ago
noscript tag ignores nobr and inserts newline anyways, also found in Firebird
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: philipm, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
334 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
When rendering, a noscript block inside a nobr block will create a newline,
ignoring the fact that it should not do so.
See the attached html document for demonstration.
Desired behaviour is to not create the newline when in a nobr block to allow
more control over layout. MSIE 6 renders this way, so it would help with
consistency as well.
Reproducible: Always
Steps to Reproduce:
1. create an html page with a nobr block
2. put a noscript block inside the nobr block
3. open in Mozilla or Firebird
Actual Results:
contents of noscript block are on a new line, despite the nobr. See attached file.
Expected Results:
The new line inserted by the noscript tag should be ignored in the nobr block.
| Reporter | ||
Comment 1•23 years ago
|
||
the attached page referred to in the description
Comment 2•23 years ago
|
||
This is because NOSCRIPT is a block element in HTML4:
http://www.w3.org/TR/REC-html40/sgml/dtd.html#block
So the layout is correct.
To emulate the IE6 bug and make NOSCRIPT inline you could use the following:
<noscript>
<style>noscript {display:inline}</style>
</noscript>
-> INVALID
Comment 3•22 years ago
|
||
Reopening from INVALID to mark as a dup of an older WONTFIX bug.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 4•22 years ago
|
||
*** This bug has been marked as a duplicate of 52744 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•