Closed
Bug 13046
Opened 25 years ago
Closed 25 years ago
<FORM> element forces linefeed
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
VERIFIED
INVALID
People
(Reporter: morse, Assigned: pollmann)
Details
Attachments
(1 file)
182 bytes,
text/html
|
Details |
Consider the content shown below. In the 4.x browser there are no scroll bars. I believe that is the correct behavior. In the 5.0 browser there is a vertical scroll bar in the left frame. FWIW, here are some interesting observations. 1. Removing the marginheight="0" attribute has no affect in the 4.x browser but does get rid of the erroneous scroll bar in the 5.0 browser. 2. Removing the height='95%' attribute has no noticeable affect in the 4.x browsr but does get rid of the erroneous scroll bar in the 5.0 browser. 3. Changing the height attribute from 95% to 100% causes the scroll bar to appear in the 4.x browser. I don't know if this is correct behavior or not. This is not a blocker in any sense because either 1 or 2 above are acceptable work-arounds for what I am doing. <html> <head> <script> function loadCookies(){ top.frames[0].document.open(); top.frames[0].document.write( "<form>" + "<table height='95%'>" + "<tr>" + "<td>" + "<select></select>" + "</td>" + "</tr>" + "</table>" + "</form>" ); top.frames[0].document.close(); } </script> </head> <frameset cols="25,25" onload="loadCookies();"> <frame src="about:blank" marginheight="0"/> <frame src="about:blank"/> </frameset> <noframes> <body> <P> </body> </noframes> </html>
Assignee | ||
Updated•25 years ago
|
Summary: Incorrect scrollbar behavior → <FORM> element forcing linefeed.
Assignee | ||
Comment 1•25 years ago
|
||
This is not a frameset bug. I can duplicate all of this behaviour except the scrollbar going away when setting the table height to 100%, the scrollbar remains for me when I do that. This problem is to be caused by a linefeed being forced after a <FORM> element. I removed the enclosing <FORM> element and things rendered as one might expect them to.
Assignee | ||
Updated•25 years ago
|
OS: Windows NT → All
Hardware: PC → All
Summary: <FORM> element forcing linefeed. → <FORM> element forces linefeed
Assignee | ||
Comment 2•25 years ago
|
||
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 3•25 years ago
|
||
Since the spec does not specify if the form is a block or inline element, we treat it as a block and lay out the extra blank line. This is for backwards compatability with Nav 4.x (The blank line is also visible in Nav 4.x in the second test case.) This was a compatability decision and not a bug.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
Marking as verified invalid
You need to log in
before you can comment on or make changes to this bug.
Description
•