<?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>230048</bug_id>
          
          <creation_ts>2021-09-08 09:25:56 -0700</creation_ts>
          <short_desc>Floated &lt;br&gt; should not trigger a line break</short_desc>
          <delta_ts>2023-07-29 16:02:26 -0700</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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=259631</see_also>
          <bug_file_loc>https://jsfiddle.net/Lf79njp5/show</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</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>1791488</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-09-08 09:25:56 -0700</bug_when>
    <thetext>https://github.com/w3c/csswg-drafts/issues/5749</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793725</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-15 09:26:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/83154050&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964962</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-04 04:21:05 -0700</bug_when>
    <thetext>Safari / WebKit ToT matches Chrome Canary 118 while Firefox Nightly 116 differs from both.

Took examples of @Simon&apos;s post from GitHub and changed into JSFiddle and linked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1964983</commentid>
    <comment_count>3</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-07-04 07:25:33 -0700</bug_when>
    <thetext>This is pretty much about removing the following lines: (now that the spec is clear)
            clonedStyle.setDisplay(DisplayType::Inline);
            clonedStyle.setFloating(Float::None);
            clonedStyle.setPosition(PositionType::Static);
in TreeBuilder::createLayoutBox.

will fix it soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968748</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-29 06:37:34 -0700</bug_when>
    <thetext>(In reply to zalan from comment #3)
&gt; This is pretty much about removing the following lines: (now that the spec
&gt; is clear)
&gt;             clonedStyle.setDisplay(DisplayType::Inline);
&gt;             clonedStyle.setFloating(Float::None);
&gt;             clonedStyle.setPosition(PositionType::Static);
&gt; in TreeBuilder::createLayoutBox.
&gt; 
&gt; will fix it soon.

Deleting these three lines didn&apos;t fix it on local for me. :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968777</commentid>
    <comment_count>5</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-07-29 15:58:16 -0700</bug_when>
    <thetext>repurpose it for the float case. out-of-flow case is here 259631</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968778</commentid>
    <comment_count>6</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-07-29 15:58:28 -0700</bug_when>
    <thetext>bug 259631</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968779</commentid>
    <comment_count>7</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-07-29 16:02:26 -0700</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #4)
&gt; (In reply to zalan from comment #3)
&gt; &gt; This is pretty much about removing the following lines: (now that the spec
&gt; &gt; is clear)
&gt; &gt;             clonedStyle.setDisplay(DisplayType::Inline);
&gt; &gt;             clonedStyle.setFloating(Float::None);
&gt; &gt;             clonedStyle.setPosition(PositionType::Static);
&gt; &gt; in TreeBuilder::createLayoutBox.
&gt; &gt; 
&gt; &gt; will fix it soon.
&gt; 
&gt; Deleting these three lines didn&apos;t fix it on local for me. :-(
yeah it&apos;s slightly more involved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>