[Webkit-unassigned] [Bug 67699] New: CSS 3 Attribute Selector does not work when the value of an attribute is changed on onfocus event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 00:07:08 PDT 2011


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

           Summary: CSS 3 Attribute Selector does not work when the value
                    of an attribute is changed on onfocus event
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jai.ism at gmail.com


I have an input field and on onfocus event of the field, I set a data-attribute on one of the parent node of the field. For example, onfocus event, I set

data-focus="true"

Based on the value of this attribute, I want to change the background color of an a child of the parent node using css3 selector. But it does not change the background color. It does work as expected on all other major browsers.

Please find the sample html file that repros this bug.

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