[Webkit-unassigned] [Bug 14586] New: Dynamically inserted stylesheets cannot be accessed via document.styleSheets
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 11 15:23:56 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14586
Summary: Dynamically inserted stylesheets cannot be accessed via
document.styleSheets
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hawkman at phantomgorilla.com
When adding a stylesheet by javascript (appendChild to the head element), it
cannot be accessed via document.styleSheets and therefore cannot be modified
(the styles do apply).
Reproduce: Add a stylesheet using javascript and attempt to find it (or its
rules) through document.styleSheets
Actual results: The browser behaves as if the stylesheet is not added (despite
using its contents).
Expected results: The stylesheet can be accessed through
document.getStylesheets.
Does not occur on Firefox 2.0.0.2 - it correctly makes the stylesheet
accessible.
--
Configure bugmail: http://bugs.webkit.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