<?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>299836</bug_id>
          
          <creation_ts>2025-09-29 18:02:05 -0700</creation_ts>
          <short_desc>[css-multicol-1] column-count: 1 should create a multi-column container</short_desc>
          <delta_ts>2025-11-25 06:01:21 -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>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          <blocked>289743</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="fantasai">fantasai.bugs</reporter>
          <assigned_to name="fantasai">fantasai.bugs</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>kiet.ho</cc>
    
    <cc>murakami</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>2147015</commentid>
    <comment_count>0</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-09-29 18:02:05 -0700</bug_when>
    <thetext>Per spec, a non-auto value of column-count creates a multicol container, see
  https://www.w3.org/TR/css-multicol-1/#the-multi-column-model
  https://www.w3.org/TR/css-multicol-1/#cc

&quot;An element whose column-width or column-count property is not auto establishes a multi-column container (or multicol container for short), and therefore acts as a container for multi-column layout.&quot;

This is noticeable when the element has a fixed height: in this case the content should be fragmented into columns that overflow in the inline axis. See this testcase in e.g. WebKit vs Firefox:

&lt;div style=&quot;column-count: 1; height: 1.5em; border: solid;&quot;&gt;1&lt;br&gt;2&lt;br&gt;3&lt;/div&gt;

https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20style%3D%22column-count%3A%201%3B%20height%3A%201.5em%3B%20border%3A%20solid%3B%22%3E1%3Cbr%3E2%3Cbr%3E3%3C%2Fdiv%3E</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147016</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-09-29 18:02:26 -0700</bug_when>
    <thetext>&lt;rdar://problem/161611444&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147026</commentid>
    <comment_count>2</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-09-29 18:49:17 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/51536</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147035</commentid>
    <comment_count>3</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2025-09-29 19:22:51 -0700</bug_when>
    <thetext>This blocks passing anchor-position-multicol-008, so marking as a WPT dependency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147354</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-30 16:58:47 -0700</bug_when>
    <thetext>Committed 300787@main (e10b646accd3): &lt;https://commits.webkit.org/300787@main&gt;

Reviewed commits have been landed. Closing PR #51536 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>