Changeset 96403 in webkit


Ignore:
Timestamp:
Sep 30, 2011 10:00:10 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

LayoutTests: Rewrite fast/dom/HTMLInputElement/input-size-attribute.html
https://bugs.webkit.org/show_bug.cgi?id=69130

Patch by Antaryami Pandia <antaryami.pandia@motorola.com> on 2011-09-30
Reviewed by Alexey Proskuryakov.

  • fast/dom/HTMLInputElement/input-size-attribute-expected.txt:
  • fast/dom/HTMLInputElement/input-size-attribute.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r96401 r96403  
     12011-09-30  Antaryami Pandia  <antaryami.pandia@motorola.com>
     2
     3        LayoutTests: Rewrite fast/dom/HTMLInputElement/input-size-attribute.html
     4        https://bugs.webkit.org/show_bug.cgi?id=69130
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * fast/dom/HTMLInputElement/input-size-attribute-expected.txt:
     9        * fast/dom/HTMLInputElement/input-size-attribute.html:
     10
    1112011-09-30  Chang Shu  <cshu@webkit.org>
    212
  • trunk/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute-expected.txt

    r96224 r96403  
    55
    66PASS input.size is 20
    7 PASS input.size is 20
    8 PASS input.size is 20
    9 PASS input.size is 1
    10 PASS input.size is 2
    11 PASS input.size is 20
    12 PASS input.size is 20
    13 PASS input.size is 20
    14 PASS input.size is 20
    15 PASS input.size is 10
     7PASS input.setAttribute('size', '-1'); input.size is 20
     8PASS input.removeAttribute('size'); input.size is 20
     9PASS input.setAttribute('size', '1'); input.size is 1
     10PASS input.setAttribute('size', '2'); input.size is 2
     11PASS input.removeAttribute('size'); input.size is 20
     12PASS input.setAttribute('size', 'a'); input.size is 20
     13PASS input.removeAttribute('size'); input.size is 20
     14PASS input.setAttribute('size', '0'); input.size is 20
     15PASS input.setAttribute('size', '10'); input.size is 10
    1616PASS successfullyParsed is true
    1717
  • trunk/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html

    r96224 r96403  
    1717shouldBe("input.size", "20");
    1818
    19 input.setAttribute("size", "-1");
    20 shouldBe("input.size", "20");
    21 
    22 input.removeAttribute("size");
    23 shouldBe("input.size", "20");
    24 
    25 input.setAttribute("size", "1");
    26 shouldBe("input.size", "1");
    27 
    28 input.setAttribute("size", "2");
    29 shouldBe("input.size", "2");
    30 
    31 input.removeAttribute("size");
    32 shouldBe("input.size", "20");
    33 
    34 input.setAttribute("size", "a");
    35 shouldBe("input.size", "20");
    36 
    37 input.removeAttribute("size");
    38 shouldBe("input.size", "20");
    39 
    40 input.setAttribute("size", "0");
    41 shouldBe("input.size", "20");
    42 
    43 input.setAttribute("size", "10");
    44 shouldBe("input.size", "10");
     19shouldBe("input.setAttribute('size', '-1'); input.size", "20");
     20shouldBe("input.removeAttribute('size'); input.size", "20");
     21shouldBe("input.setAttribute('size', '1'); input.size", "1");
     22shouldBe("input.setAttribute('size', '2'); input.size", "2");
     23shouldBe("input.removeAttribute('size'); input.size", "20");
     24shouldBe("input.setAttribute('size', 'a'); input.size", "20");
     25shouldBe("input.removeAttribute('size'); input.size", "20");
     26shouldBe("input.setAttribute('size', '0'); input.size", "20");
     27shouldBe("input.setAttribute('size', '10'); input.size", "10");
    4528
    4629var successfullyParsed = true;
Note: See TracChangeset for help on using the changeset viewer.