<?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>138581</bug_id>
          
          <creation_ts>2014-11-10 14:54:15 -0800</creation_ts>
          <short_desc>Test that complex and fast text codepaths measure the same width</short_desc>
          <delta_ts>2014-11-10 17:37:24 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Myles C. Maxfield">mmaxfield</reporter>
          <assigned_to name="Myles C. Maxfield">mmaxfield</assigned_to>
          <cc>buildbot</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>jonlee</cc>
    
    <cc>mitz</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1047646</commentid>
    <comment_count>0</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-11-10 14:54:15 -0800</bug_when>
    <thetext>Test that complext and fast text codepaths measure the same width</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047648</commentid>
    <comment_count>1</comment_count>
      <attachid>241310</attachid>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-11-10 14:55:01 -0800</bug_when>
    <thetext>Created attachment 241310
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047657</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2014-11-10 15:12:59 -0800</bug_when>
    <thetext>I suspect that this test would have passed even with a change such as the one introduced by &lt;http://trac.webkit.org/r175813&gt;, because tests run in an environment where kerning and ligatures are disabled by default.

Another good way to test that the two code paths agree is to use the --complex-text option of run-webkit-tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047667</commentid>
    <comment_count>3</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-11-10 15:37:51 -0800</bug_when>
    <thetext>You&apos;re right; the test passes.

This whole &quot;not testing what we ship&quot; thing is pretty terrible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047668</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2014-11-10 15:38:29 -0800</bug_when>
    <thetext>Should we add a way that a test can opt into the complex text path?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047683</commentid>
    <comment_count>5</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2014-11-10 16:12:02 -0800</bug_when>
    <thetext>This isn&apos;t actually about the fast vs slow code paths, it&apos;s about how kerning and ligatures are turned off. Instead of opting in, I think it&apos;s time we enabled K&amp;L for all tests by default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047693</commentid>
    <comment_count>6</comment_count>
    <who name="">mitz</who>
    <bug_when>2014-11-10 16:46:06 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; This isn&apos;t actually about the fast vs slow code paths, it&apos;s about how
&gt; kerning and ligatures are turned off. Instead of opting in, I think it&apos;s
&gt; time we enabled K&amp;L for all tests by default.

I agree.

(Note that we do have some tests that enable kerning and/or ligatures using the relevant CSS properties, and we even have some tests that force the complex code path to be taken).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047714</commentid>
    <comment_count>7</comment_count>
      <attachid>241310</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-11-10 17:37:20 -0800</bug_when>
    <thetext>Comment on attachment 241310
Patch

Clearing flags on attachment: 241310

Committed r175843: &lt;http://trac.webkit.org/changeset/175843&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047715</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-11-10 17:37:24 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>241310</attachid>
            <date>2014-11-10 14:55:01 -0800</date>
            <delta_ts>2014-11-10 17:37:20 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-138581-20141110145503.patch</filename>
            <type>text/plain</type>
            <size>2264</size>
            <attacher name="Myles C. Maxfield">mmaxfield</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTc1ODI2CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggYjEwNmZlOWM3NThlMWQ1ODZhMDFj
ODRmMGJiM2IxYWM0YTEzNTc3Ny4uYjI3M2VlZDkxNjgxMDAwZmE4YTZmODJlM2FjNjE2MmQ4Yzhh
NDcwMSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEzIEBACisyMDE0LTExLTEwICBNeWxlcyBDLiBNYXhmaWVs
ZCAgPG1tYXhmaWVsZEBhcHBsZS5jb20+CisKKyAgICAgICAgVGVzdCB0aGF0IGNvbXBsZXh0IGFu
ZCBmYXN0IHRleHQgY29kZXBhdGh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