[css-tables-3] Max-width On Table Cells · Issue #2802 - GitHub

Skip to content Dismiss alert {{ message }} / csswg-drafts Public
  • Notifications You must be signed in to change notification settings
  • Fork 759
  • Star 4.8k
  • Code
  • Issues 4.1k
  • Pull requests 113
  • Actions
  • Projects 12
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options [css-tables-3] max-width on table cells #2802New issueNew issueOpenOpen[css-tables-3] max-width on table cells#2802Assignees FremyCompanyLabelscss-tables-3Current Work@fantasai

Description

@fantasaifantasaiopened on Jun 21, 2018

In #1643 (comment) @davidsgrogan wrote:

table-cells aren't allowed to ever overflow, even if you try to explicitly size them

This isn't the first time I've read this, but there appears to be a simple counterexample. Could you take a moment to explain the apparent contradiction, for my own edification (or possibly for yours)?

<table style="border: 1px solid blue;"> <td style="max-width: 20px;">Overflow</td> </table>

https://jsfiddle.net/dgrogan/9uduq99L/5/

I haven't looked into this in detail, so I might be missing something, but results of the test appear to contradict the css-tables-3 spec where it says

The outer max-content width of a table-cell in a constrained column is max(min-width, width, min-content width, min(max-width, width)) adjusted by the cell intrinsic offsets.

so filing this issue for further investigation by the css-tables-3 editors~

Metadata

Metadata

Assignees

  • @FremyCompanyFremyCompany

Labels

css-tables-3Current Work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Từ khóa » Html Css Table Column Max Width