[Webkit-unassigned] [Bug 28182] New: The setter for CSSStyleRule.selectorText doesn't actually do anything.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 11 11:42:18 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28182
Summary: The setter for CSSStyleRule.selectorText doesn't
actually do anything.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andy at andymatuschak.org
One might expect that calling someCSSStyleRule.selectorText = ".someOtherClass"
might actually cause someCSSStyleRule's selector to change. That would be a
foolish assumption indeed!
See the attached sample .html; clicking the "foo" link should turn it black.
Also, the rule's cssText is logged to the console after being changed from
"foo" to "bar"; note that its selector is still ".foo".
Firefox doesn't seem to implement this setter either, but the property is
marked as readwrite in the spec:
http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleRule
--
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