Bug 144338

Summary: automatic table layout doesn't honor "max-width" on table cells, when distributing width between them
Product: WebKit Reporter: Daniel Holbert <dholbert>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, hyatt, simon.fraser, zalan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
testcase 1
none
Safari 15.5 differs from other browsers none

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!