Closed
Bug 111397
Opened 23 years ago
Closed 21 years ago
{ib}Percentage widths broken if root is inline in XML
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: WeirdAl, Unassigned)
References
Details
(Keywords: testcase, Whiteboard: [awd:tbl])
Attachments
(3 files)
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011121 BuildID: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011121 I created an XML document containing an XHTML table with a width attribute of 50%. The table rendered 100% of the width of the viewable screen without the <html:body> and </html:body> tags; with those tags, I received some pretty big scrollbars... Reproducible: Always Steps to Reproduce: 1. Click on either attached testcase (coming up) Actual Results: Testcase 1: Table width observed at 100% of screen. Testcase 2: Table width observed at 100% of screen, huge scrolling area horizontally. Expected Results: Both testcases, table width should be 50% of screen. No additional scrolling area.
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
Reporter | ||
Updated•23 years ago
|
Keywords: testcase
Summary: XHTML table width 100% as module in XML document → XHTML table width 100% as module in XML document
Comment 3•23 years ago
|
||
Confirmed on Windows XP
Comment 4•23 years ago
|
||
Sorry - build 11/16/2001
Comment 6•23 years ago
|
||
Temporarily moving to future until a milestone can be assigned.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Reporter | ||
Comment 7•22 years ago
|
||
Update as of build Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3b) Gecko/20030214 Testcase 1 renders 100% width, no horiz scrollbar. DOM Inspector reports a computedStyle width of 1022px on a 1024x768 resolution. Testcase 2 renders 100% width, horiz scrollbar with small scrolling area. DOM Inspetor reports a computedStyle width of 1022px. Apparently, a major bug was fixed between 0.9.6 and 1.3b regarding table width. Counterexample is an XHTML document, and works correctly.
Comment 8•21 years ago
|
||
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
QA Contact: amar → madhur
Target Milestone: Future → ---
Updated•21 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Comment 9•21 years ago
|
||
The problem here is that the table's parent is an inline.... Not sure how that's breaking things where, but setting the root to be display:block makes the rendering happy. I doubt this is a tables bug -- using a <div> has the same problem.
Assignee: table → block-and-inline
Component: Layout: Tables → Layout: Block & Inline
Priority: P3 → --
QA Contact: madhur → ian
Summary: XHTML table width 100% as module in XML document → {ib}XHTML table width 100% as module in XML document
Target Milestone: Future → ---
Updated•21 years ago
|
Summary: {ib}XHTML table width 100% as module in XML document → {ib}Percentage widths broken if root is inline in XML
Fixed by checkin of bug 233480.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•