[Webkit-unassigned] [Bug 11824] CSSStyleSheet.title property is always null

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 14 12:46:01 PST 2006


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





------- Comment #4 from rwlbuis at gmail.com  2006-12-14 12:46 PDT -------
Hi Darin,

(In reply to comment #3)
> (From update of attachment 11840 [edit])
> -    void childrenChanged(Node*);
> +    void childrenChanged(Node*, const String& = String());
> 
> This is not a good change. Even though the declaration does not say so, this is
> an override of the childrenChanged function from Node.
> 
> By changing the parameters this no longer overrides the Node function, so
> callers that call the virtual function on Node won't call this function any
> more. I think this subtle semantic change probably creates bugs.
> 
> To make this clearer, the virtual keyword should be added to these functions in
> StyleElement.h. And we need to rethink how to do this -- I think it should be a
> separate function rather than a new parameter to childrenChanged.

You are right, I was already worried when writing it that way but did not
really have time to do better. Now I have and I'll apply a better patch (IMHO)
soon.
Cheers,

Rob.


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