[Webkit-unassigned] [Bug 56434] REGRESSION (r64712): Safari removes the first blank line in a textarea

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 28 20:16:56 PDT 2011


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





--- Comment #15 from Kent Tamura <tkent at chromium.org>  2011-03-28 20:16:56 PST ---
(From update of attachment 87250)
View in context: https://bugs.webkit.org/attachment.cgi?id=87250&action=review

> LayoutTests/fast/forms/textarea-newline.html:12
> +<script>
> +    function checkValue(id, value) {
> +        var ta = document.getElementById(id);
> +        if (ta.value == value)
> +            document.getElementById(id + '_res').innerHTML = "Test Passed";
> +
> +    }
> +    function test() {
> +        if (window.layoutTestController)
> +            layoutTestController.dumpAsText();

This test is acceptable, however I recommend to use fast/js/resources/js-test-pre.js and js-test-post.js.  They make the test simpler.

> Source/WebCore/ChangeLog:8
> +        REGRESSION (r64712): Safari removes the first blank line in a textarea
> +        https://bugs.webkit.org/show_bug.cgi?id=56434
> +
> +        Test: fast/forms/textarea-newline.html

Would you write a reason why HTML5 tree builder made the regression and why this change fixes it please?

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