<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>122788</bug_id>
          
          <creation_ts>2013-10-14 16:27:02 -0700</creation_ts>
          <short_desc>Tables with display:inline rendered as block element</short_desc>
          <delta_ts>2025-01-16 20:40:10 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=125640</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bdakin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dino</cc>
    
    <cc>jonlee</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>939710</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-10-14 16:27:02 -0700</bug_when>
    <thetext>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&apos;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&apos;s content if parent
is inline except inline-block parent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>939744</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-10-14 17:44:33 -0700</bug_when>
    <thetext>Reverted in https://chromium.googlesource.com/chromium/blink/+/84386bc031b49ced92c765a8f554a595bb050dca</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894357</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-28 17:41:13 -0700</bug_when>
    <thetext>The issue got merged into another and then it was fixed in 2015 in this commit:

https://chromium.googlesource.com/chromium/src.git/+/622e42ea052437c0d7ce4e66ea5f781b3b6bfb96</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1919901</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-12-16 05:58:31 -0800</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #2)
&gt; The issue got merged into another and then it was fixed in 2015 in this
&gt; commit:
&gt; 
&gt; https://chromium.googlesource.com/chromium/src.git/+/
&gt; 622e42ea052437c0d7ce4e66ea5f781b3b6bfb96

https://github.com/WebKit/WebKit/blob/73fc4fd89f837a0eb9ceebdd631f2e66730072b4/Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp#L169

&amp;

https://github.com/WebKit/WebKit/blob/73fc4fd89f837a0eb9ceebdd631f2e66730072b4/Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp#L122

&amp;

https://github.com/WebKit/WebKit/blob/73fc4fd89f837a0eb9ceebdd631f2e66730072b4/Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp#L149

etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1956529</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-19 10:27:04 -0700</bug_when>
    <thetext>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 &apos;bug 125640&apos; as Duplicate of this.

@Alan &amp; @Brent &amp; @Simon - Any input?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>