Devtools: Can not modify element style in the Styles pane
Reported by
debugz...@gmail.com,
Aug 11 2016
|
|||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2827.0 Safari/537.36
Steps to reproduce the problem:
1. Navigate to data:text/html,<div id="test" >test</div>
2. Open Devtools, Select div#test in Elements panel
3. Go to Console panel, evaluate document.getElementById('test').style.color='blue';
4. Go to Elements panel, edit div#test style
What is the expected behavior?
div#test style should be modified.
What went wrong?
Can not modify div#test style.
Did this work before? N/A
Chrome version: 54.0.2827.0 Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0
,
Sep 17 2016
What's the status of this?
,
Feb 18 2017
Sorry for the long reply and thank you for the great bugreport. I cannot reproduce this on 56.0.2924.87 - do you still experience this?
,
Feb 18 2017
,
Feb 18 2017
Able to reproduce the issue on 58.0.3017.0 (Developer Build) (64-bit)
,
Apr 15 2017
Able to reproduce the issue on Windows 7 using 60.0.3073.0 (Developer Build) (64-bit)
,
Dec 13 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/bfc75c0a27fff772ed4d96ef40dfd6f127ee29fa commit bfc75c0a27fff772ed4d96ef40dfd6f127ee29fa Author: Andrey Lushnikov <lushnikov@chromium.org> Date: Wed Dec 13 21:45:56 2017 DevTools: fix editing of inline styles This patch starts resetting cached line endings for the inline styles that were edited through style attribute modification. BUG= 637049 R=dgozman Change-Id: I80fd8becc6ef697d13196ac6bfc178d9f9b4a014 Reviewed-on: https://chromium-review.googlesource.com/823649 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#523893} [modify] https://crrev.com/bfc75c0a27fff772ed4d96ef40dfd6f127ee29fa/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/resources/inspector-protocol-test.js [add] https://crrev.com/bfc75c0a27fff772ed4d96ef40dfd6f127ee29fa/third_party/WebKit/LayoutTests/inspector-protocol/css/css-inline-style-ranges-after-attr-modification-expected.txt [add] https://crrev.com/bfc75c0a27fff772ed4d96ef40dfd6f127ee29fa/third_party/WebKit/LayoutTests/inspector-protocol/css/css-inline-style-ranges-after-attr-modification.js [modify] https://crrev.com/bfc75c0a27fff772ed4d96ef40dfd6f127ee29fa/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
,
Dec 13 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by kozyatinskiy@chromium.org
, Aug 11 2016Status: Assigned (was: Unconfirmed)