[Webkit-unassigned] [Bug 32077] textarea grows when you type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 21 11:22:31 PDT 2010


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com




--- Comment #33 from Darin Adler <darin at apple.com>  2010-05-21 11:22:30 PST ---
(In reply to comment #32)
> LayoutTests/fast/forms/script-tests/textarea-percentage-dimensions.js:13
>  +      shouldBe("window.heightBeforeInsert", "window.heightAfterInsert");
> If one of the test cases failed, it's not easy to identify what test case failed.
> Would you improve test result readabily?  e.g.  adding debug("A test for " + style); before shouldBe().

An even better way to improve the readability is to write a function that performs the test and then just use shouldBe, maybe a function that returns the change in height like this:

    shouldBe("heightChange('height:70%;')", "0");

-- 
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