<?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>5028</bug_id>
          
          <creation_ts>2005-09-17 13:46:25 -0700</creation_ts>
          <short_desc>9 layout tests fail following the change from long to int</short_desc>
          <delta_ts>2005-09-20 02:24:30 -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>New Bugs</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Geoffrey Garen">ggaren</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19799</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-09-17 13:46:25 -0700</bug_when>
    <thetext>After applying the patch for bug 4547, the following layout tests fail:

dom/html/level2/html/HTMLTableElement35
dom/html/level2/html/HTMLTableElement38
dom/html/level2/html/HTMLTableRowElement16
dom/html/level2/html/HTMLTableRowElement19
dom/html/level2/html/HTMLTableSectionElement26
dom/html/level2/html/HTMLTableSectionElement29
fast/js/date-big-setmonth
fast/js/date-parse-date
fast/dom/quadraticCurveTo (draws a sine with ~1px amplitude along the axis)

I&apos;m putting them all together in one bug because it&apos;s likely that they have a common root cause 
(something broken in the way JS does math), and because I&apos;m lazy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19971</commentid>
    <comment_count>1</comment_count>
      <attachid>3942</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2005-09-18 15:39:52 -0700</bug_when>
    <thetext>Created attachment 3942
Fix by rolling out simple_number.h changes

Because we have JavaScriptCore test failures on TOT, I can&apos;t be sure that this
patch is the right solution, but it fixes all the layout tests without
introducing additional regressions to the JavaScriptCore tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19972</commentid>
    <comment_count>2</comment_count>
      <attachid>3942</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2005-09-18 15:41:15 -0700</bug_when>
    <thetext>Comment on attachment 3942
Fix by rolling out simple_number.h changes

I think we should land this patch, land a fix for the other JSC regressions,
and then go back and redo the int/long modifications to simple_number.h, once
we have a working baseline of tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19998</commentid>
    <comment_count>3</comment_count>
      <attachid>3942</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2005-09-19 00:26:04 -0700</bug_when>
    <thetext>Comment on attachment 3942
Fix by rolling out simple_number.h changes

Given that this fixes the bug, r=me

This change should be revisited however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20028</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-09-19 15:24:26 -0700</bug_when>
    <thetext>I&apos;m marking this verified even though date-big-setmonth is still failing for me. I seem to remember it 
failing even before the long-&gt;int move.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20033</commentid>
    <comment_count>5</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2005-09-19 15:40:01 -0700</bug_when>
    <thetext>date-big-setmonth was failing because it&apos;s not written to be TZ independent. I&apos;ll fix that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20080</commentid>
    <comment_count>6</comment_count>
    <who name="">mitz</who>
    <bug_when>2005-09-20 02:24:30 -0700</bug_when>
    <thetext>Opened bug 5061 about date-big-setmonth</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3942</attachid>
            <date>2005-09-18 15:39:52 -0700</date>
            <delta_ts>2005-09-19 00:26:04 -0700</delta_ts>
            <desc>Fix by rolling out simple_number.h changes</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>2906</size>
            <attacher name="Geoffrey Garen">ggaren</attacher>
            
              <data encoding="base64">SW5kZXg6IHNpbXBsZV9udW1iZXIuaAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3ZzL3Jvb3QvSmF2
YVNjcmlwdENvcmUva2pzL3NpbXBsZV9udW1iZXIuaCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4x
NQpkaWZmIC11IC1yMS4xNSBzaW1wbGVfbnVtYmVyLmgKLS0tIHNpbXBsZV9udW1iZXIuaAkxNiBT
ZXAgMjAwNSAyMjo0MjozMCAtMDAwMAkxLjE1CisrKyBzaW1wbGVfbnVtYmVyLmgJMTggU2VwIDIw
MDUgMjI6Mzk6NTQgLTAwMDAKQEAgLTM2LDggKzM2LDYgQEAKIHVzaW5nIHN0ZDo6c2lnbmJpdDsK
ICNlbmRpZgogCi0jZGVmaW5lIEtKU19NSU5fTUFDUk8oYSwgYikgKChhKSA8IChiKSA/IChhKSA6
IChiKSkKLQogbmFtZXNwYWNlIEtKUyB7CiAKICAgICBjbGFzcyBWYWx1ZUltcDsKQEAgLTUzLDI5
ICs1MSwyMCBAQAogICAgIAogICAgIGNsYXNzIFNpbXBsZU51bWJlciB7CiAgICAgcHVibGljOgot
CWVudW0gewotICAgICAgICAgICAgdGFnID0gMSwKLSAgICAgICAgICAgIHNoaWZ0ID0gMiwKLSAg
ICAgICAgICAgIG1hc2sgPSAoMSA8PCBzaGlmdCkgLSAxLAotICAgICAgICAgICAgYml0cyA9IEt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RhdGljIGlubGluZSBib29sIGZpdHModW5zaWduZWQgaSkg
eyByZXR1cm4gaSA8PSAodW5zaWduZWQpbWF4OyB9CisJc3RhdGljIGlubGluZSBib29sIGZpdHMo
bG9uZyBpKSB7IHJldHVybiBpIDw9IG1heCAmJiBpID49IG1pbjsgfQorCXN0YXRpYyBpbmxpbmUg
Ym9vbCBmaXRzKHVuc2lnbmVkIGxvbmcgaSkgeyByZXR1cm4gaSA8PSAodW5zaWduZWQpbWF4OyB9
CisgICAgICAgIHN0YXRpYyBpbmxpbmUgYm9vbCBmaXRzKGxvbmcgbG9uZyBpKSB7IHJldHVybiBp
IDw9IG1heCAmJiBpID49IG1pbjsgfQorICAgICAgICBzdGF0aWMgaW5saW5lIGJvb2wgZml0cyh1
bnNpZ25lZCBsb25nIGxvbmcgaSkgeyByZXR1cm4gaSA8PSAodW5zaWduZWQpbWF4OyB9CisJc3Rh
dGljIGlubGluZSBib29sIGludGVnZXJGaXRzKGRvdWJsZSBkKSB7IHJldHVybiAhKGQgPCBtaW4g
fHwgZCA+IG1heCk7IH0KKwlzdGF0aWMgaW5saW5lIGJvb2wgZml0cyhkb3VibGUgZCkgeyByZXR1
cm4gZCA+PSBtaW4gJiYgZCA8PSBtYXggJiYgZCA9PSAoZG91YmxlKShsb25nKWQgJiYgIWlzTmVn
YXRpdmVaZXJvKGQpOyB9CisJc3RhdGljIGlubGluZSBWYWx1ZUltcCAqbWFrZShsb25nIGkpIHsg
cmV0dXJuIChWYWx1ZUltcCAqKSgoaSA8PCBzaGlmdCkgfCB0YWcpOyB9CiAgICAgfTsKIAogfQo=
</data>
<flag name="review"
          id="587"
          type_id="1"
          status="+"
          setter="mjs"
    />
          </attachment>
      

    </bug>

</bugzilla>