<?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>64608</bug_id>
          
          <creation_ts>2011-07-15 11:29:58 -0700</creation_ts>
          <short_desc>(writing modes) Orthogonal flows which overflow should be wrapped into columns in the flow direction of the containing block</short_desc>
          <delta_ts>2024-06-06 14:19:41 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://dev.w3.org/csswg/css3-writing-modes/#orthogonal-multicol</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>93304</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Theresa O&apos;Connor">eoconnor</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>browserbugs2</cc>
    
    <cc>hyatt</cc>
    
    <cc>rniwa</cc>
    
    <cc>shanestephens</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>437852</commentid>
    <comment_count>0</comment_count>
      <attachid>101012</attachid>
    <who name="Theresa O&apos;Connor">eoconnor</who>
    <bug_when>2011-07-15 11:29:58 -0700</bug_when>
    <thetext>Created attachment 101012
Demo of current behavior

See §7.3.2. Multi-column Layout in Orthogonal Flows of CSS3 Writing Modes: http://dev.w3.org/csswg/css3-writing-modes/#orthogonal-multicol</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>437856</commentid>
    <comment_count>1</comment_count>
    <who name="Theresa O&apos;Connor">eoconnor</who>
    <bug_when>2011-07-15 11:35:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/9783787&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1332535</commentid>
    <comment_count>2</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2017-07-26 19:27:59 -0700</bug_when>
    <thetext>1- The description of what the test should lay out (expected results) is not clear, is not explicit: &quot;This document should not be T-shaped&quot;.

2- FWIW, I get the same layout in both Firefox 54 and Chrome 60, once I add unprefixed property names:

 |¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
 |  Containing flow    |
 |                     |
 -----------------------------------
 |                                 |
 |                                 | 
 |                                 |
 |                                 |
 |                                 |
 |                                 |
 |                                 |
 |                                 |
 |                                 |
 |                                 |
 |                                 |
 |                                 |
 -----------------------------------
 |                     |
 |  Containing flow    |
 |                     |
 -----------------------

3- The original section regarding multi-column element in orthogonal flow &quot;7.3.2 Auto-sizing Block Containers in Orthogonal Flows&quot; was at-risk 
https://www.w3.org/TR/css-writing-modes-3/#auto-multicol
and is no longer in the Editor&apos;s draft:

&quot;
Deferred the automatic multi-column behavior of orthogonal flows to Level 4.
&quot;
https://drafts.csswg.org/css-writing-modes-3/#changes-201512

4- Therefore, I think P2 is not justified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608506</commentid>
    <comment_count>3</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2020-01-18 18:04:57 -0800</bug_when>
    <thetext>I revisited this bug report and now understand what &quot;This document should not be T-shaped&quot; means, refers to.

I have developed related [multi-column containers in orthogonal flow] 
tests in 

http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/

and there are a few others in

orthogonal multi-column with a vertical writing-mode computes height to fill page rather than wrap contents
https://bugzilla.mozilla.org/show_bug.cgi?id=1269152

and I hope to develop more tests later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895658</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-01 17:04:54 -0700</bug_when>
    <thetext>Test case - http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-multi-column-002.html

*** Safari Technology Preview 152 **

Show Red Text and green box / square below

*** Chrome Canary 107 ***

Red stripes or patches and Green box / square below

*** Firefox Nightly 106 *** (Expected Behavior)

Just single green box / square and no &quot;RED&quot;

______

Test Case - http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-multi-column-003.html

*** Safari Technology Preview 152 **

Just text and no black square 

*** Chrome Canary 107 ***

Three black patches

*** Firefox Nightly 106 *** (Expected Behavior)

Single Black Box

_____

Test Case - http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-multi-column-004.html

*** Safari Technology Preview 152 **

Just text and no black square 

*** Chrome Canary 107 ***

Four black small boxes

*** Firefox Nightly 106 *** (Expected Behavior???)

Single Black Patch elongated and not Square but more of rectangle

_________

As for attached &quot;DEMO&quot;, it does show similar behavior in Chrome Canary 107 and Safari TP 152 but Firefox does not honour -webkit- prefix. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895662</commentid>
    <comment_count>5</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2022-09-01 17:21:44 -0700</bug_when>
    <thetext>(In reply to Ahmad Saleem from comment #4)

&gt; Test Case -
&gt; http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-
&gt; multi-column-003.html
&gt; 
&gt; *** Safari Technology Preview 152 **
&gt; 
&gt; Just text and no black square 

Ahmad,

You need to install the Ahem font on your testing computer.
I even wrote about it in the test:

 Ahem font can be downloaded from
 http://www.w3.org/Style/CSS/Test/Fonts/Ahem/
 and then install AHEM____.TTF  2017-01-31 20:55   22K


&gt; Test Case -
&gt; http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-
&gt; multi-column-004.html
&gt; 
&gt; *** Safari Technology Preview 152 **
&gt; 
&gt; Just text and no black square 

Same thing here. Just install Ahem font
and try again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895664</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-01 17:30:33 -0700</bug_when>
    <thetext>(In reply to Gérard Talbot from comment #5)
&gt; (In reply to Ahmad Saleem from comment #4)
&gt; 
&gt; &gt; Test Case -
&gt; &gt; http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-
&gt; &gt; multi-column-003.html
&gt; &gt; 
&gt; &gt; *** Safari Technology Preview 152 **
&gt; &gt; 
&gt; &gt; Just text and no black square 
&gt; 
&gt; Ahmad,
&gt; 
&gt; You need to install the Ahem font on your testing computer.
&gt; I even wrote about it in the test:
&gt; 
&gt;  Ahem font can be downloaded from
&gt;  http://www.w3.org/Style/CSS/Test/Fonts/Ahem/
&gt;  and then install AHEM____.TTF  2017-01-31 20:55   22K
&gt; 
&gt; 
&gt; &gt; Test Case -
&gt; &gt; http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-
&gt; &gt; multi-column-004.html
&gt; &gt; 
&gt; &gt; *** Safari Technology Preview 152 **
&gt; &gt; 
&gt; &gt; Just text and no black square 
&gt; 
&gt; Same thing here. Just install Ahem font
&gt; and try again.

For some reasons - it is not getting utilised by Safari because my font book is reflecting that I have it installed. Weird!!!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895941</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-09-02 17:54:59 -0700</bug_when>
    <thetext>Safari doesn&apos;t load user installed fonts (to reduce fingerprinting). So the test has to include it as a webfont.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1912082</commentid>
    <comment_count>8</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-11-13 05:30:58 -0800</bug_when>
    <thetext>I changed the tests to JSFiddle and used ahem.js to make it more easier to reproduce:

Test Case - https://jsfiddle.net/p6gq7voy/show
Based of
Test case - http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-multi-column-002.html

*** Safari Technology Preview 157 ***

Fail

*** Chrome Canary 110 ***

Fail

*** Firefox Nightly 108 ***

Pass - Green Square

____

Test Case - https://jsfiddle.net/th4kxr7p/show
Based of http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-multi-column-003.html

*** Safari Technology Preview 157 ***

Fail

*** Chrome Canary 110 ***

Fail

*** Firefox Nightly 108 ***

Pass - Green Square

____

Test Case - https://jsfiddle.net/1kobv8Le/show
Based of http://www.gtalbot.org/BrowserBugsSection/CSS4WritingModes/orthogonal-flow-multi-column-004.html

*** Safari Technology Preview 157 ***

Fail

*** Chrome Canary 110 ***

Fail

*** Firefox Nightly 108 ***

No single black *square* but rectangle

____

Just wanted to update latest results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2040157</commentid>
    <comment_count>9</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-06-06 14:19:41 -0700</bug_when>
    <thetext>&lt;rdar://problem/129363375&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>101012</attachid>
            <date>2011-07-15 11:29:58 -0700</date>
            <delta_ts>2011-07-15 11:29:58 -0700</delta_ts>
            <desc>Demo of current behavior</desc>
            <filename>orthogonal-flow-multicol.html</filename>
            <type>text/html</type>
            <size>651</size>
            <attacher name="Theresa O&apos;Connor">eoconnor</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1s
Ij4KPGhlYWQ+Cjx0aXRsZT5PcnRob2dvbmFsIGZsb3dzICYgbXVsdGljb2wgZGVtbzwvdGl0bGU+
CjxzdHlsZT4KICBib2R5IHsKICAgIC13ZWJraXQtd3JpdGluZy1tb2RlOiBob3Jpem9udGFsLXRi
OwogIH0KICBib2R5ID4gZGl2IHsKICAgIHdpZHRoOiAxMGVtOwogICAgYm9yZGVyOiAxcHggc29s
aWQgYmxhY2s7CiAgfQogIGRpdiA+IGRpdiB7CiAgICAtd2Via2l0LXdyaXRpbmctbW9kZTogdmVy
dGljYWwtcmw7CiAgICBib3JkZXI6IDFweCBzb2xpZCByZWQ7CiAgfQo8L3N0eWxlPgo8L2hlYWQ+
Cjxib2R5Pgo8ZGl2Pgo8cD5Db250YWluaW5nIGZsb3c8L3A+CjxkaXY+CjxwPkN1cnJlbnQgYmVo
YXZpb3I8L3A+CjxwPlRoaXMgZG9jdW1lbnQgc2hvdWxkIG5vdCBiZSBULXNoYXBlZC48L3A+Cjxw
PkN1cnJlbnQgYmVoYXZpb3I8L3A+CjxwPkN1cnJlbnQgYmVoYXZpb3I8L3A+CjxwPkN1cnJlbnQg
YmVoYXZpb3I8L3A+CjxwPkN1cnJlbnQgYmVoYXZpb3I8L3A+CjxwPkN1cnJlbnQgYmVoYXZpb3I8
L3A+CjxwPkN1cnJlbnQgYmVoYXZpb3I8L3A+CjwvZGl2Pgo8cD5Db250YWluaW5nIGZsb3c8L3A+
CjwvZGl2Pgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>