[Webkit-unassigned] [Bug 24093] Autofocus inputs don't always honor selector input:focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 8 07:09:07 PST 2011


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


Kent Tamura <tkent at chromium.org> changed:

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




--- Comment #5 from Kent Tamura <tkent at chromium.org>  2011-11-08 07:09:07 PST ---
(From update of attachment 114010)
View in context: https://bugs.webkit.org/attachment.cgi?id=114010&action=review

> LayoutTests/fast/forms/autofocus-input-css-style-change.html:18
> +if (window.layoutTestController) {
> +    layoutTestController.dumpAsText();
> +}
> +
> +var test = document.getElementById("test");
> +if (document.defaultView.getComputedStyle(test, null).getPropertyValue('background-color') == "rgb(0, 128, 0)")
> +    result.innerHTML = "PASS";

The code style is consistent. The first if has {} for 1-line body, and the second if has no {} for 1-line body.

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