<?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>33372</bug_id>
          
          <creation_ts>2010-01-08 03:06:07 -0800</creation_ts>
          <short_desc>REGRESSION(r52976): platform/mac/editing/input/devanagari-ligature.html is failing on Snow Leopard Release</short_desc>
          <delta_ts>2012-10-27 18:28:22 -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>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <dependson>32294</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mitz</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>178593</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-08 03:06:07 -0800</bug_when>
    <thetext>REGRESSION(r52976): platform/mac/editing/input/devanagari-ligature.html is failing on Snow Leopard Release

--- layout-test-results/platform/mac/editing/input/devanagari-ligature-expected.txt	2010-01-08 00:05:31.000000000 -0800
+++ layout-test-results/platform/mac/editing/input/devanagari-ligature-actual.txt	2010-01-08 00:05:31.000000000 -0800
@@ -4,6 +4,6 @@
   RenderBlock {HTML} at (0,0) size 800x600
     RenderBody {BODY} at (8,8) size 784x584
       RenderBlock {DIV} at (0,0) size 784x19
-        RenderText {#text} at (0,1) size 11x18
-          text run at (0,1) width 11: &quot;\x{915}\x{94D}\x{937}&quot;
+        RenderText {#text} at (0,1) size 21x18
+          text run at (0,1) width 21: &quot;\x{915}\x{94D}\x{937}&quot;
 caret: position 3 of child 0 {#text} of child 1 {DIV} of child 1 {BODY} of child 0 {HTML} of document

I expect this is the same kind of bug as bug 32294.

Unfortunately I do not have a Snow Leopard box, so I can&apos;t reproduce this.  Someone else will have to find out what test was affecting platform/mac/editing/input/devanagari-ligature.html.

To do so, I recommend:

1.  Confirm that running platform/mac/editing/input/devanagari-ligature.html by itself &quot;fails&quot; (in this case, it was previously being affected by an http or websocket test and we didn&apos;t notice)

in this case, the currently checked in result is incorrect, and we need to figure out which test before devanagari-ligature.html is affecting it to cause this failure.

2.  Assuming it failed when run alone, check out r52975.

Figure out what 1000 tests are run prior to devanagari-ligature.html.  To do that:

3.  run-webkit-tests -v
4.  Select all tests output lines prior to and including platform/mac/editing/input/devanagari-ligature.html
5.  pbpaste | awk &apos;{ print $2 }&apos; | tail -n 1000  &gt; failing_set.txt  will write the 1000 tests prior to (and including platform/mac/editing/input/devanagari-ligature.html)
6.  cat failing_set.txt | xargs run-webkit-tests   and confirm that those tests still &quot;pass&quot;

Now to find out which test or tests is affecting devanagari-ligature.html, do:

7. Remove some tests from failing_set.txt
8.  re-run cat failing_set.txt | xargs run-webkit-tests
9. if run-webkit-tests exits non-zero (&quot;fails&quot;) then we&apos;ve removed too many, go back to step 7 remove different tests, otherwise remove more tests until you can&apos;t remove any more.

Tada!

At least that&apos;s the methodology I used to figure out bug 32294, which again, I believe to be a similar cause.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178742</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-08 12:15:53 -0800</bug_when>
    <thetext>I&apos;ve learned from Beth Dakin that:
run-webkit-tests --skipped=ignore platform/mac/editing/input/devanagari-ligature.html
passes on her Snow Leopard machine.  That suggests that the checked in results are correct, and now there is some other factor causing this to fail with the new ordering.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>178903</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-01-08 17:55:19 -0800</bug_when>
    <thetext>The actual result I get when running all tests is an outright failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179055</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-09 14:58:01 -0800</bug_when>
    <thetext>I finally got XCode installed and WebKit built on my personal SL machine.  I&apos;ll take a look at this again next time I&apos;m WFH.  I do not have access to a SL machine at work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179254</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-10 20:56:01 -0800</bug_when>
    <thetext>These 7 test cases together seem to cause the failure:

fast/text/international/danda-space.html
fast/text/international/hindi-spacing.html
fonts/monospace.html
fonts/sans-serif.html
fonts/serif.html
platform/mac/editing/deleting/backward-delete.html
platform/mac/editing/input/devanagari-ligature.html

Removing any one test case seems to cause the test to pass.  I&apos;m not really sure what&apos;s going on here.  I expect this may be related to bug 33400 since they were both revealed by the same test re-ordering.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>179439</commentid>
    <comment_count>5</comment_count>
      <attachid>46291</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-01-11 11:17:54 -0800</bug_when>
    <thetext>Created attachment 46291
reduced test case (restart Safari to test)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286289</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2010-09-28 09:09:38 -0700</bug_when>
    <thetext>This bug does not seem to reproduce anymore on TOT.  Can we add the attached test case as a regression test and close the bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286299</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-09-28 09:31:39 -0700</bug_when>
    <thetext>Sounds reasonable. But the test will probably be too machine-dependent, with all these fonts used in it. Perhaps it should be converted into a text-only test for landing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>289918</commentid>
    <comment_count>8</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2010-10-05 15:25:46 -0700</bug_when>
    <thetext>Oops, test still fails on TOT.  Reduction gives me

          text run at (0,1) width 214: &quot;This should be a single character: &quot;
        RenderInline {SPAN} at (0,0) size 11x18
          RenderText {#text} at (214,1) size 11x18
            text run at (214,1) width 11: &quot;\x{915}\x{94D}\x{937}&quot;

but

WebKitTools/Scripts/run-webkit-tests --debug fast/text/international/danda-space.html fast/text/international/hindi-spacing.html fonts/monospace.html fonts/sans-serif.html fonts/serif.html platform/mac/editing/deleting/backward-delete.html platform/mac/editing/input/devanagari-ligature.html

fails. We probably made it harder to reproduce :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752813</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-10-27 12:06:02 -0700</bug_when>
    <thetext>I believe the SL port is dead for AppleMac and this can be closed.  Please re-open if I&apos;m mistaken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752857</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-27 17:26:53 -0700</bug_when>
    <thetext>I don&apos;t have a build to test on this machine, but from reading this bug, I don&apos;t see evidence that this got fixed. In January 2010, Snow Leopard was the latest release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>752862</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-10-27 18:28:22 -0700</bug_when>
    <thetext>http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/editing/input/devanagari-ligature-expected.png looks OK to me?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46291</attachid>
            <date>2010-01-11 11:17:54 -0800</date>
            <delta_ts>2010-01-11 11:23:16 -0800</delta_ts>
            <desc>reduced test case (restart Safari to test)</desc>
            <filename>combined.html</filename>
            <type>text/html</type>
            <size>433</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8bWV0YSBjaGFyc2V0PSJ1dGYtOCI+CjwvaGVhZD4KPGJvZHk+CjxzcGFu
PuCklTwvc3Bhbj5Gb288YnI+CgoKPGZvbnQgZmFjZT0ibW9ub3NwYWNlIj4KPGI+ITwvYj4KPGk+
ITwvaT4KPC9mb250PgoKPGZvbnQgZmFjZT0iSGVsdmV0aWNhIj4KPGI+ITwvYj4KPGk+ITwvaT4K
PC9mb250PgoKPGZvbnQgZmFjZT0iQXJpYWwiPgo8Yj4hPC9iPgo8aT4hPC9pPgo8L2ZvbnQ+CgoK
PGZvbnQgZmFjZT0iVGltZXMgTmV3IFJvbWFuIj4KPGI+ITwvYj4KPGk+ITwvaT4KPC9mb250PgoK
PGZvbnQgZmFjZT0ic2VyaWYiPgo8Yj4hPC9iPgo8aT4hPC9pPgo8L2ZvbnQ+Cgo8cD4K2LTZkteQ
1rHhhIDhhaHhhqjjgr/jgpnwkJCACjwvcD4KPHA+VGhpcyBzaG91bGQgYmUgYSBzaW5nbGUgY2hh
cmFjdGVyOiA8c3Bhbj7gpJXgpY3gpLc8L3NwYW4+PC9wPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>