Cannot inspect element style if another unrelated element's style is changing
Reported by
teo8...@gmail.com,
Jun 25 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Steps to reproduce the problem: 1. visit http://jsbin.com/xovola 2. right-click on the second paragraph and do "Inspect Element" 3. go to the "Computed" style panel, pick some css property that has a triangle next to it (e.g. "display") and try to expand it 4. good luck with that What is the expected behavior? First of all, the UI of all the Developer Tools should work smoothly. That there is an element whose style is being continuously updated is no good reason for the whole UI to become poorly responsive. Second and most important, at step 3 you should be able to expand any style property to see the rules that determine its value What went wrong? The whole Developer Tools UI is slow to respond to mouse interaction (apparently just because the value of the "style" property of a node is constantly being updated because of an animation) What's worst, you cannot expand a css property in the Computed style panel. You may manage to expand it for a fraction of a second but it will collapse back immediately. This shouldn't happen even with the node that is being frequently updated itself but it would be understandable (not forgivable) if it happened with that very node, and almost acceptable if it happened with just the very property being constantly updated. But it happens even with unrelated properties of unrelated nodes. Did this work before? N/A Chrome version: 51.0.2704.103 Channel: n/a OS Version: Flash Version: Shockwave Flash 22.0 r0
,
Jul 16 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cd1ef8eab1d95051b259d196133ae35d1d0ee4da commit cd1ef8eab1d95051b259d196133ae35d1d0ee4da Author: lushnikov <lushnikov@chromium.org> Date: Sat Jul 16 03:52:49 2016 DevTools: preserve computed properties expansion on Computed Style re-rendering Today, when the computed styles widget gets updated, it collapses all the previously expanded properties. This patch preserves property expansion on computed style re-rendering. BUG= 623317 R=dgozman Review-Url: https://codereview.chromium.org/2152313002 Cr-Commit-Position: refs/heads/master@{#405929} [modify] https://crrev.com/cd1ef8eab1d95051b259d196133ae35d1d0ee4da/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js [modify] https://crrev.com/cd1ef8eab1d95051b259d196133ae35d1d0ee4da/third_party/WebKit/LayoutTests/inspector/elements/styles-1/color-swatch.html [add] https://crrev.com/cd1ef8eab1d95051b259d196133ae35d1d0ee4da/third_party/WebKit/LayoutTests/inspector/elements/styles-3/computed-properties-retain-expanded-expected.txt [add] https://crrev.com/cd1ef8eab1d95051b259d196133ae35d1d0ee4da/third_party/WebKit/LayoutTests/inspector/elements/styles-3/computed-properties-retain-expanded.html [modify] https://crrev.com/cd1ef8eab1d95051b259d196133ae35d1d0ee4da/third_party/WebKit/Source/devtools/front_end/elements/ComputedStyleWidget.js
,
Jul 19 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by paulir...@chromium.org
, Jul 1 2016Status: Assigned (was: Unconfirmed)