[Webkit-unassigned] [Bug 110524] Add a way to watch pages for elements matching a CSS selector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 13 10:49:46 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=110524





--- Comment #21 from Jeffrey Yasskin <jyasskin at chromium.org>  2013-03-13 10:52:10 PST ---
@Dean, This is exposed to extensions via a JS API, not by having them insert CSS rules, for the reason you said. My difficulty was that I couldn't find a C++ API to use to tell WebCore to watch for the presence or absence of elements matching the relevant selectors.

I'll try Dmitri's suggestion of adding an ElementRuleCollector::matchCallbackSelectors that pulls the watched selectors off of the Document, and returns matched ones through the MatchResult.

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