[Webkit-unassigned] [Bug 68452] Web Inspector: Feature request: onCSSSetProperty/onCSSRemoveProperty API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 20 13:30:11 PDT 2011


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





--- Comment #4 from Nikita Vasilyev <me at elv1s.ru>  2011-09-20 13:30:11 PST ---
(In reply to comment #2)
> >> At Yandex, we include just one stylesheet on the page. We have few hundreds of stylesheets; it's would be too slow to include all of them on the page. So we concatenate them on the server.
> 
> Pretty much everybody concatenates / minifies the scripts/styles. However, most frameworks support "development" mode where raw (non-concatenated) scripts/styles are served for the sake of better debugging.

Few hundreds of CSS files are too much even for development mode.

> >> My plan is to extend onCSSSetProperty/onCSSRemoveProperty methods to send some kind of CSS patch object to the server:
> 
> I am not sure I follow the "extend onCSSSetProperty/onCSSRemoveProperty" since we don't have such signals as is.

I would extend it if Inspector had something like this.


(In reply to comment #3)
> This is already available, though the interface is highly experimental and hence, potentially, volatile. See the test for reference (you're probably interested in webInspector.inspectedWindow.onResourceContentCommitted):
> 
> http://trac.webkit.org/browser/trunk/LayoutTests/inspector/extensions/extensions-resources.html

How can I use this API? Is it designed for Chrome and/or Safari extensions?

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