[Webkit-unassigned] [Bug 44886] Reflected attribute input.size wraps on negative values (Chrome), or returns them (Safari)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 28 07:48:15 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=44886


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #108965|review?, commit-queue?      |review+, commit-queue+
               Flag|                            |




--- Comment #17 from Darin Adler <darin at apple.com>  2011-09-28 07:48:15 PST ---
(From update of attachment 108965)
View in context: https://bugs.webkit.org/attachment.cgi?id=108965&action=review

> LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html:20
> +input.setAttribute("size", "-1");
> +shouldBe("input.size", "20");

There’s another way to write this that makes the test output clearer:

    shouldBe("input.setAttribute('size', '-1'); input.size", "20");

By putting the work inside the macro you can actually see it in the test output. We can always patch it to that new style after landing the initial version, though.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list