<?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>241304</bug_id>
          
          <creation_ts>2022-06-04 05:41:20 -0700</creation_ts>
          <short_desc>Implement text-justify: none;</short_desc>
          <delta_ts>2024-12-16 19:27:46 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>99945</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1874127</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-06-04 05:41:20 -0700</bug_when>
    <thetext>The original implementation for legacy layout in bug 135349 had the issue that it didn&apos;t take in account text-align-last: justify; (if text-align is different than justify).

IFC does not implement text-justify: none.

So I removed the existing legacy layout implementation of text-justify: none in https://github.com/WebKit/WebKit/pull/1308 to avoid confusion.


I think it should be easy to add support for both modern and legacy layouts, however it&apos;s probably worth refactoring to avoid duplicating the logic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874128</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-06-04 05:45:49 -0700</bug_when>
    <thetext>One testcase that would be nice to add is:

text-align: end;
text-align-last: justify;
text-justify: none;

Currently, I think legacy layout handles this incorrectly, as the last line will still be justified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875383</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-11 05:42:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/94879056&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2082231</commentid>
    <comment_count>3</comment_count>
    <who name="Alexsander Borges Damaceno">alexbdamac</who>
    <bug_when>2024-12-16 19:27:46 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/38054</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>