CSS styles access

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

CSS styles access

Postby Mayhew » Mon Jun 10, 2013 3:12 pm

I am interested in accessing CSS styles rules via something like InspectorCSSAgent::getMatchedStylesForNode() from chromium\src\third_party\WebKit\Source\WebCore\inspector\InspectorCSSAgent.cpp from my CEF3 app. Basically I would like to be able to access data that seems to only exist deep in webkit. It appears that there is not currently a way to access things at that level via CEF's current DOM access methods. The purpose is to augment the somewhat limited capabilities of the Javascript getMatchedCSSRules method for pages hosted in my CEF browser.

Is there a way to achieve what I am looking to do?
Mayhew
Expert
 
Posts: 303
Joined: Mon Apr 18, 2011 8:02 pm

Re: CSS styles access

Postby magreenblatt » Mon Jun 10, 2013 3:40 pm

You could call getMatchedStylesForNode via the DevTools remote debugging protocol, but that's probably not what you're looking for. Anything else would involve C++ changes to CEF/Chromium/Blink.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 22 guests