RESOLVED FIXED 62982
Web Inspector: It would be useful to be able to pause on element's style change.
https://bugs.webkit.org/show_bug.cgi?id=62982
Summary Web Inspector: It would be useful to be able to pause on element's style change.
Ilya Tikhonovsky
Reported 2011-06-20 06:23:11 PDT
Current workaround is to use mutation events but it's awkward and doesn't compare — usability-wise — to what could be implemented as native support in web inspector. In complex applications, being able to see which code causes element to change its style is indispensable. Note that Firebug supposedly has experimental support for this — http://getfirebug.com/doc/breakpoints/demo.html#css
Attachments
[patch] initial version (8.03 KB, patch)
2011-06-20 06:25 PDT, Ilya Tikhonovsky
yurys: review+
loislo: commit-queue-
Ilya Tikhonovsky
Comment 1 2011-06-20 06:25:58 PDT
Created attachment 97792 [details] [patch] initial version
Yury Semikhatsky
Comment 2 2011-06-20 06:56:46 PDT
Comment on attachment 97792 [details] [patch] initial version View in context: https://bugs.webkit.org/attachment.cgi?id=97792&action=review > Source/WebCore/inspector/InspectorDOMDebuggerAgent.cpp:146 > + InspectorDebuggerAgent* debuggerAgent = m_debuggerAgent; It seems that m_debuggerAgent is never 0. If so please remove this check here and in other places in this file.
Ilya Tikhonovsky
Comment 3 2011-06-20 07:11:00 PDT
Note You need to log in before you can comment on or make changes to this bug.