Bug 122788 - Tables with display:inline rendered as block element
Summary: Tables with display:inline rendered as block element
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: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-10-14 16:27 PDT by Ryosuke Niwa
Modified: 2023-05-19 10:27 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-10-14 16:27:02 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/f14273b8831a74bb0cbe6214a3dd9ee901d748a0

Table was created as inline renderer and another table block renderer wrapper is
created for table's content. So it was displayed as block element and all its style
properties also associated with inline renderer and was not applied to table.

Creating table inline-table renderer wrapper for table's content if parent
is inline except inline-block parent.
Comment 2 Ahmad Saleem 2022-08-28 17:41:13 PDT
The issue got merged into another and then it was fixed in 2015 in this commit:

https://chromium.googlesource.com/chromium/src.git/+/622e42ea052437c0d7ce4e66ea5f781b3b6bfb96
Comment 4 Ahmad Saleem 2023-05-19 10:27:04 PDT
Test Case (from Mozilla bug) - https://bug928074.bmoattachments.org/attachment.cgi?id=8346204

Mozilla Bug - https://bugzilla.mozilla.org/show_bug.cgi?id=928074

Test Case (from Chrome Bug) - Same as above.

Even test case from bug 125640 is same.

[https://bug-125640-attachments.webkit.org/attachment.cgi?id=219090]

I am not able to reproduce any difference between Chrome Canary 115, Safari 16.5. Only Firefox Nightly 115 has slight gap (1px) between both tables but I think this is not the issue.

I think we can close this and also mark 'bug 125640' as Duplicate of this.

@Alan & @Brent & @Simon - Any input?