Bug 144338 - automatic table layout doesn't honor "max-width" on table cells, when distributing width between them
Summary: automatic table layout doesn't honor "max-width" on table cells, when distrib...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-28 10:44 PDT by Daniel Holbert
Modified: 2022-06-12 18:37 PDT (History)
4 users (show)

See Also:


Attachments
testcase 1 (409 bytes, text/html)
2015-04-28 10:44 PDT, Daniel Holbert
no flags Details
Safari 15.5 differs from other browsers (361.95 KB, image/png)
2022-06-12 18:37 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Holbert 2015-04-28 10:44:17 PDT
Created attachment 251861 [details]
testcase 1

What steps will reproduce the problem?
 1. Load attached testcase.

Expected results:
 The blue table cell should be skinny (clamped by its "max-width" style).

Actual results:
 The blue table cell is wide (disregarding its "max-width" style).


Firefox 37 (Gecko), IE 11 (Trident), and Opera 12.16 (Presto) all give "Expected results".
Chrome 43 and Safari 5.1 give "Actual results".


I also filed this as a Blink bug (since both Blink and WebKit are affected):
 https://code.google.com/p/chromium/issues/detail?id=482057
Comment 1 Ahmad Saleem 2022-06-12 18:37:21 PDT
Created attachment 460194 [details]
Safari 15.5 differs from other browsers

I am able to reproduce this bug in Safari 15.5 on macOS 12.4 and all other browsers as shown in the picture works similar to each other except Safari.

In Chrome, it got fixed from "LayoutNG" project rolling out from Chrome 91. Thanks!