[Webkit-unassigned] [Bug 43044] WebNode should provide access to computedStyle
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 27 13:37:29 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43044
--- Comment #6 from Darin Fisher (:fishd, Google) <fishd at chromium.org> 2010-07-27 13:37:29 PST ---
(In reply to comment #5)
> In particular, for this case I think all you need is to add these two functions
> to WebNode:
>
> bool hasComputedStyle();
> WebString computedStyleDisplay();
>
> If you end up needing to grab all sorts of different properties off of a node
> this will get cumbersome, but we should address that when we have a compelling
> need.
This just doesn't seem like something that should be a property of a DOM node (WebNode). Maybe it could be a property of a DOM element (WebElement). I think we should assume that we'll have more properties in the future, and so returning a WebComputedStyle object seems better to me (given past experience with the way the WebKit API has grown).
--
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