Closed Bug 13194 Opened 25 years ago Closed 25 years ago

"display: table" not rendered correctly

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: braden, Assigned: karnaze)

References

()

Details

Shouldn't "display: table" act like other block display styles in that it should expand to fill the width of its containing block box?

I realize that the current behavior probably needs to be retained for quirks mode, but it seems a better way of doing that would be to define table in ua.css as

table { display: inline-table }
table:before, table:after { content: "\A" }
Assignee: troy → karnaze
Component: Layout → HTMLTables
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
No.  The rules for widths of tables are different.  See
http://www.w3.org/TR/REC-CSS2/tables.html#width-layout

In particular, the sentence "However, if the maximum width required by the
columns plus cell spacing or borders (MAX) is less than that of the containing
block, use MAX."

Marking INVALID.
Okay, that's the part of the spec I was looking for when I submitted this but
didn't find. Thanks.
Status: RESOLVED → VERIFIED
Based on David's comments, marking as verified invalid.
You need to log in before you can comment on or make changes to this bug.