[Webkit-unassigned] [Bug 10349] New: Anchor elements with dynamically created HREF attributes do not update their style

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Aug 11 10:01:29 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10349

           Summary: Anchor elements with dynamically created HREF attributes
                    do not update their style
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh PowerPC
               URL: http://code.clientside.net.au/safari/ahref.html
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: christopher.bentley at gmail.com


A bug exsists where an A element does not initially contain a HREF attribute
and then a HREF is created programatically after the page is initially loaded.

Both Safari Version 2.0.4 (419.3) and the nightly build (r15830) do not
dynamically update the style for an Anchor in the case where the HREF is later
added programatically.
see http://code.clientside.net.au/safari/ahref.html

My expectation is that the A element with no initial HREF attribute would
become styled, ether by the default style or a style with higher precedence
after a HREF is added programatically.

Firefox 1.5 on Mac behaves as expected.

Webkit nightly build (r15830) can be made to behave as expected if a CSS
attribute selector in the form "a[href] {}" is present in a stylesheet.
see http://code.clientside.net.au/safari/ahref2.html

(this report aslo posted by error as part of a comment to
http://bugzilla.opendarwin.org/show_bug.cgi?id=9603)


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list