<?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>17116</bug_id>
          
          <creation_ts>2008-01-31 08:40:45 -0800</creation_ts>
          <short_desc>Character clusters in complex scripts can not span colors or other formatting</short_desc>
          <delta_ts>2008-01-31 13:11:48 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6148</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brett Wilson (Google)">brettw</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68916</commentid>
    <comment_count>0</comment_count>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2008-01-31 08:40:45 -0800</bug_when>
    <thetext>There is a set of formatting changes such as text color that should not cause a break in runs when composing complex scripts. IE seems to do a good job here.

WebKit breaks the text runs on this color change and sends each one individually to the font system (ASTUI, etc.), so the context is lost and there is no shaping across the boundary. I suspect this drawing should happen more like selections, where it gives the entire run to the font system, but specifies a subset of the string to draw with specified style. This will allow the font system to do shaping and then just draw the subset of characters relating to the current style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68917</commentid>
    <comment_count>1</comment_count>
      <attachid>18816</attachid>
    <who name="Brett Wilson (Google)">brettw</who>
    <bug_when>2008-01-31 08:41:07 -0800</bug_when>
    <thetext>Created attachment 18816
Example page</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68962</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-01-31 13:11:48 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 6148 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>18816</attachid>
            <date>2008-01-31 08:41:07 -0800</date>
            <delta_ts>2008-01-31 08:41:07 -0800</delta_ts>
            <desc>Example page</desc>
            <filename>cluster.html</filename>
            <type>text/html</type>
            <size>1441</size>
            <attacher name="Brett Wilson (Google)">brettw</attacher>
            
              <data encoding="base64">PGh0bWw+PGJvZHk+IA0KPEZPTlQgZmFjZT1BcmlhbCBzaXplPTQ+IA0KIA0KIA0KPFA+IFUrMDY0
NyBhbmQgVSswNjRBIDwvUD4gDQogDQogDQo8UD48Rk9OVCBmYWNlPVRhaG9tYSBzaXplPTEwIGNv
bG9yPSMwMDgwMDA+JiN4NjQ3OyYjeDY0YTs8L0ZPTlQ+PC9QPiANCiANCjxQPlNhbWUgY2hhcnMg
ZGlmZmVyZW50IGNvbG9yczo8L1A+IA0KIA0KPFA+PEZPTlQgZmFjZT1UYWhvbWEgc2l6ZT0xMD48
Rk9OVCBjb2xvcj0jZmYwMDAwPiYjeDY0Nzs8L0ZPTlQ+PEZPTlQgY29sb3I9IzAwODAwMD4mI3g2
NGE7PC9GT05UPjwvRk9OVD48L1A+IA0KIA0KIA0KPFA+IndvcmxkIiBpbiBhcmFiaWMgc3RhcnRz
IHdpdGggVSs2NEEgYW5kIFUrNjRGIC0gYSBzaW5nbGUgY2x1c3Rlci4gQ29sb3Igb2YgVSs2NEEg
aXMgZXh0ZW5kZWQgdG8gdGhlIGVudGlyZSBjbHVzdGVyIGluIEludGVybmV0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