<?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>41562</bug_id>
          
          <creation_ts>2010-07-02 21:25:14 -0700</creation_ts>
          <short_desc>&lt;marquee&gt; stretches a table and causes layout issues</short_desc>
          <delta_ts>2026-01-22 22:40:19 -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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>anantha</cc>
    
    <cc>anderson.calvin1</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>jasneet</cc>
    
    <cc>robert</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>246234</commentid>
    <comment_count>0</comment_count>
      <attachid>60437</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-07-02 21:25:14 -0700</bug_when>
    <thetext>Created attachment 60437
[TEST] Reduction

This is what I saw just making the reduction. A &lt;marquee&gt;inside a &lt;table&gt;, breaks
the &lt;table&gt;&apos;s width. In this case it looks like there needed to be a block element
containing content greater than the table&apos;s width to break the table.

To &quot;workaround&quot; the original broken layout you can just reset the table&apos;s width.
However, this doesn&apos;t seem to take affect unless there is a &quot;complex enough&quot;
CSS selector. This CSS selector seems to require tree traversal through children.
So &quot;nothing &gt; nothing&quot; would be a complex enough selector, but
&quot;nothing + nothing&quot; was not. =)

NOTE: Both before and after the workaround, the &lt;table&gt; still does not display
like Firefox displays it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1897809</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-12 04:28:24 -0700</bug_when>
    <thetext>*** Safari 15.6.1 ***

289.6875px (twice in alert box)

*** Chrome Canary 107 ***

200px (twice in alert box)

*** Firefox Nightly 107 ***

200px (twice in alert box)


_____

Able to reproduce this. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1897909</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-12 09:59:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/99826593&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2173976</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-21 21:08:14 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/57029</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174363</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-22 21:28:30 -0800</bug_when>
    <thetext>Committed 306059@main (6079da9e03f1): &lt;https://commits.webkit.org/306059@main&gt;

Reviewed commits have been landed. Closing PR #57029 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174369</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-22 22:28:59 -0800</bug_when>
    <thetext>*** Bug 28642 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174371</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-22 22:31:05 -0800</bug_when>
    <thetext>*** Bug 21936 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174373</commentid>
    <comment_count>7</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-22 22:34:31 -0800</bug_when>
    <thetext>*** Bug 21877 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174375</commentid>
    <comment_count>8</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-22 22:36:34 -0800</bug_when>
    <thetext>*** Bug 28641 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174377</commentid>
    <comment_count>9</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-22 22:40:19 -0800</bug_when>
    <thetext>*** Bug 19935 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>60437</attachid>
            <date>2010-07-02 21:25:14 -0700</date>
            <delta_ts>2010-07-02 21:25:14 -0700</delta_ts>
            <desc>[TEST] Reduction</desc>
            <filename>reduction.html</filename>
            <type>text/html</type>
            <size>752</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgogICAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KICAgIC8qIEEgc2VsZWN0
b3Igd2hpY2ggYWZmZWN0cyBjaGlsZCBub2RlcyBtdXN0IGJlIHJlcXVpcmVkIGZvciB0aGUKICAg
ICAgIHBhZ2UgdG8gcmVkcmF3IG9uY2UgdGhlIHRhYmxlJ3Mgd2lkdGggaXMgc2V0LiAqLwogICAg
bm90aGluZyBub3RoaW5nIHt9CiAgICA8L3N0eWxlPgo8L2hlYWQ+Cjxib2R5PgogICAgPHRhYmxl
IGlkPSJ4IiB3aWR0aD0iMjAwIiBzdHlsZT0iYmFja2dyb3VuZDpyZWQiPgogICAgICA8dHI+CiAg
ICAgICAgPHRkPgogICAgICAgICAgPCEtLSBJbm5lciA8ZGl2PiBvciBibG9jayBlbGVtZW50IGlz
IG5lZWRlZCAtLT4KICAgICAgICAgIDxtYXJxdWVlPjxkaXY+VGV4dCB0aGF0IGhhcyB0byB3cmFw
IGF0IGEgd2lkdGggb2YgMjAwcHghISEhPC9kaXY+PC9tYXJxdWVlPgogICAgICAgIDwvdGQ+CiAg
ICAgIDwvdHI+CiAgICA8L3RhYmxlPgogICAgPHNjcmlwdD4KICAgIHNldFRpbWVvdXQoZnVuY3Rp
b24oKSB7CiAgICAgICAgdmFyIHRhYmxlID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3gnKTsK
ICAgICAgICBhbGVydCggd2luZG93LmdldENvbXB1dGVkU3R5bGUodGFibGUpLndpZHRoICk7CiAg
ICAgICAgdGFibGUud2lkdGggPSAiMjAwIjsKICAgICAgICBhbGVydCggd2luZG93LmdldENvbXB1
dGVkU3R5bGUodGFibGUpLndpZHRoICk7CiAgICB9LCAxMDAwKTsKICAgIDwvc2NyaXB0Pgo8L2Jv
ZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>