<?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>27545</bug_id>
          
          <creation_ts>2009-07-22 09:51:41 -0700</creation_ts>
          <short_desc>Implement CSS3 text-overflow &lt;string&gt; option</short_desc>
          <delta_ts>2026-03-05 22:56:14 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=95030</see_also>
          <bug_file_loc>https://drafts.csswg.org/css-overflow-4/#text-overflow</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessie Berlin">jberlin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>7raivis</cc>
    
    <cc>chrisjshull</cc>
    
    <cc>jberlin</cc>
    
    <cc>Justin</cc>
    
    <cc>karlcow</cc>
    
    <cc>ntim</cc>
    
    <cc>sebastianzartner</cc>
    
    <cc>syoichi</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>woodlxf00</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>133790</commentid>
    <comment_count>0</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2009-07-22 09:51:41 -0700</bug_when>
    <thetext>Right now we support text-overflow clip and ellipsis, but we don&apos;t support the string option as specified in:

http://dev.w3.org/csswg/css3-text/#text-overflow

and we do not currently expose it in getComputedStyle(we have it listed as unimplemented in \WebCore\css\CSSComputedStyleDeclaration.cpp)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133846</commentid>
    <comment_count>1</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2009-07-22 12:39:34 -0700</bug_when>
    <thetext>Splitting this bug into two, one to implement the CSS3 text-overflow &lt;string&gt; option, and the other to expose text-overflow in getComputedStyle

(https://bugs.webkit.org/show_bug.cgi?id=27554)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872906</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2022-05-31 00:29:38 -0700</bug_when>
    <thetext>The new specification doesn&apos;t have anymore 

`text-overflow: &lt;string&gt;`

in https://drafts.csswg.org/css-overflow-3/#propdef-text-overflow
only the two values: clip and ellipsis are valid.

Only Firefox currently supports this feature. 
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1771853 for removing it from Firefox.

This can be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872928</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-05-31 04:00:16 -0700</bug_when>
    <thetext>It is in CSS-overflow-4: https://drafts.csswg.org/css-overflow-4/#text-overflow . Could be worth implementing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874226</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-05 20:36:39 -0700</bug_when>
    <thetext>&lt;rdar://problem/94415937&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883179</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-13 10:51:41 -0700</bug_when>
    <thetext>*** Bug 95030 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2147400</commentid>
    <comment_count>6</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-09-30 20:05:40 -0700</bug_when>
    <thetext>Some tests on 
http://wpt.live/css/css-overflow/parsing/text-overflow-computed.html
http://wpt.live/css/css-overflow/parsing/text-overflow-valid.html

Are failing because of this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>