[Webkit-unassigned] [Bug 45889] Style visibility: hidden on <br/> tags causes input fields to lose focus after deleting all content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 7 20:03:30 PST 2011


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #81495|review?                     |review+
               Flag|                            |




--- Comment #31 from Ryosuke Niwa <rniwa at webkit.org>  2011-02-07 20:03:30 PST ---
(From update of attachment 81495)
View in context: https://bugs.webkit.org/attachment.cgi?id=81495&action=review

Thanks for fixing this bug!

> LayoutTests/editing/deleting/textfield-loose-focus-with-br.html:5
> +br{visibility:hidden}

Let's put spaces between words and semi-colon at the end as in br { visibility: hidden; }

> LayoutTests/editing/deleting/textfield-loose-focus-with-br.html:11
> +<script>
> +if (window.layoutTestController) {
> +    layoutTestController.dumpAsText();
> +}
> +</script>

You should put this in the script element inside body so that you don't have to have a separate script element.

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