<?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>193002</bug_id>
          
          <creation_ts>2018-12-21 19:54:31 -0800</creation_ts>
          <short_desc>Unprefix -webkit-hyphens</short_desc>
          <delta_ts>2023-07-05 04:01:29 -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>Text</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>243670</dup_id>
          
          <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>
          <dependson>193003</dependson>
          <blocked>217522</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Myles C. Maxfield">mmaxfield</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>graouts</cc>
    
    <cc>ishida</cc>
    
    <cc>kai.hollberg</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>sierkb</cc>
    
    <cc>the.bull</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1490601</commentid>
    <comment_count>0</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2018-12-21 19:54:31 -0800</bug_when>
    <thetext>There are 2 things stopping us:

1) CSS-Text-3 says &quot;The UA must therefore only automatically hyphenate text for which the content language is known and for which it has an appropriate hyphenation resource.&quot;

Currently, if the content isn&apos;t language-tagged, we&apos;ll use the system&apos;s locale, contrary to the spec

2) CSS-Text-3 says: &quot;When shaping scripts such as Arabic are allowed to break within words due to hyphenation, the characters must still be shaped as if the word were not broken  &quot;

We shape text as if the hyphen is the end of the line, meaning the last glyph gets put into its final form, rather than its medial form. Instead, we should shape the entire word, and chop the shaped word in the middle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1820795</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-06 15:56:31 -0800</bug_when>
    <thetext>&lt;rdar://problem/86128104&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1822065</commentid>
    <comment_count>2</comment_count>
    <who name="r12a">ishida</who>
    <bug_when>2021-12-09 03:56:05 -0800</bug_when>
    <thetext>Fwiw, Arabic language text doesn&apos;t normally hyphenate at all.  

If the Arabic script is used to write Uighur language text, however, hyphenation is used, and the shaping is needed.  Note also that the &apos;hyphen&apos; itself looks like and probably is U+0640 ARABIC TATWEEL, separated from the preceding characters by a small space.

For examples, see https://r12a.github.io/scripts/arabic/images_ug/large/shanjak_kizti_may11_2002_lr.jpg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1822067</commentid>
    <comment_count>3</comment_count>
    <who name="r12a">ishida</who>
    <bug_when>2021-12-09 04:01:11 -0800</bug_when>
    <thetext>Is using the system locale something you want to change in the spec, or do you want to conform to the current spec?  It seems to me that using the system locale could be problematic if someone who normally works in a language such as Uighur (or numerous others that use special characters or placement of &apos;hyphens&apos;, or no hyphenation, like Arabic) opens a page in English that doesn&apos;t have the language information set.  They&apos;ll see some odd effects where the English text is hyphenated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1822203</commentid>
    <comment_count>4</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2021-12-09 11:02:41 -0800</bug_when>
    <thetext>Re:system locale - I don’t have sufficient evidence that the spec should change. We had concerns about web compat, because lots of web content is not language tagged (so this change would break that content), but I believe all other browsers follow the spec. We should at least try to change WebKit to match the spec and see if it causes breakage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849287</commentid>
    <comment_count>5</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2022-03-08 08:47:11 -0800</bug_when>
    <thetext>Ideally this would add animation support for this property in CSSPropertyAnimation. See the many uses of DiscretePropertyWrapper, this will likely be a one-liner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965095</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-07-05 04:01:29 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 243670 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>