[Webkit-unassigned] [Bug 11952] style changes made through CSSMediaRule functions insertRule() and deleteRule do not show up on the screen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 23 23:25:45 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11952


ggaren at apple.com changed:

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




------- Comment #2 from ggaren at apple.com  2006-12-23 23:25 PDT -------
(From update of attachment 11991)
r=me

styleSheet() is a function that can return NULL, and other spots in WebCore
chck for NULL, so I think you should, too. If you know that styleSheet() should
never be NULL in this case (and, according to the spec, I don't think it
should), then use an ASSERT instead. Eventually, it may be worth clearing up
exactly when styleSheet() can return NULL. (I believe it's only in the case of
a computed style declaration.)


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