Closed Bug 157099 Opened 22 years ago Closed 20 years ago

[quirks]Wrong table height if body {overflow: auto}

Categories

(Core :: Layout: Tables, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: juarez_jc, Unassigned)

Details

(Keywords: compat)

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

If body the style is set to overflow:auto a table with height=100% has a smaller
height.


Reproducible: Always
Steps to Reproduce:
Try the code:

<body style='overflow:auto;'>
	<table width=100% height=100% border=1 cellSpacing='0' cellPadding='0'>
		<tr>
			<td>Line 1
		<tr>
			<td>Line 2
	</table>
</body>


Actual Results:  The table is very short.

Expected Results:  100% of the body height.

The height is correct if the overflow:auto is removed from the body.
Seeing this with build 2002071108 too.
"height=100%" is not valid HTML. You should use CSS to set the height.
Keywords: compat
Summary: Wrong table height if body overflow=auto → Wrong table height if body {overflow: auto}
Attached file same with CSS
Whatever.  This is not dependent on how the 100% makes its way into the style
struct.

This is a quirks-mode bug only; the layout is correct for standards mode.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All
Hardware: PC → All
Summary: Wrong table height if body {overflow: auto} → [quirks]Wrong table height if body {overflow: auto}
Priority: -- → P3
Target Milestone: --- → Future
mass reassign to default owner
Assignee: karnaze → table
QA Contact: amar → madhur
Target Milestone: Future → ---
Target Milestone: --- → Future
wfm winxp 2004090507
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: