WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 166786
166297
REGRESSION (
r209396
): Web Inspector: Uncommenting CSS properties doesn't work for inline styles
https://bugs.webkit.org/show_bug.cgi?id=166297
Summary
REGRESSION (r209396): Web Inspector: Uncommenting CSS properties doesn't work...
Nikita Vasilyev
Reported
2016-12-20 17:08:32 PST
Created
attachment 297569
[details]
[HTML] Reduction Steps: 1. Open attached reduction. 2. Inspect "Paragraph". 3. In the Styles sidebar, click on the checkbox to comment out "color: red" rule. 4. Click on this checkbox again. Expected: Uncommented rule, e.g. "color: red". Actual: Doubly commented rule, e.g. "/* /* color: red */ */".
Attachments
[HTML] Reduction
(35 bytes, text/html)
2016-12-20 17:08 PST
,
Nikita Vasilyev
no flags
Details
Patch
(1.42 KB, patch)
2016-12-20 17:11 PST
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
[Animated GIF] With patch applied
(14.68 KB, image/gif)
2016-12-20 17:19 PST
,
Nikita Vasilyev
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Nikita Vasilyev
Comment 1
2016-12-20 17:11:09 PST
Created
attachment 297570
[details]
Patch
Nikita Vasilyev
Comment 2
2016-12-20 17:19:06 PST
Created
attachment 297572
[details]
[Animated GIF] With patch applied Before the patch:
https://bug-165831-attachments.webkit.org/attachment.cgi?id=297480
Radar WebKit Bug Importer
Comment 3
2016-12-20 23:30:33 PST
<
rdar://problem/29767412
>
Blaze Burg
Comment 4
2016-12-21 10:47:50 PST
Comment on
attachment 297570
[details]
Patch r=me
WebKit Commit Bot
Comment 5
2016-12-21 11:14:15 PST
Comment on
attachment 297570
[details]
Patch Clearing flags on attachment: 297570 Committed
r210069
: <
http://trac.webkit.org/changeset/210069
>
WebKit Commit Bot
Comment 6
2016-12-21 11:14:20 PST
All reviewed patches have been landed. Closing bug.
Nikita Vasilyev
Comment 7
2016-12-21 17:16:31 PST
The new CSS parser somehow broke this.
https://trac.webkit.org/changeset/209396/trunk
WebKit Commit Bot
Comment 8
2016-12-22 15:12:42 PST
Re-opened since this is blocked by
bug 166439
Nikita Vasilyev
Comment 9
2017-01-06 13:38:22 PST
Before the new CSS parser, disabling a CSS property by clicking a checkbox would result in WebInspector.CSSStyleDeclaration.Event.PropertiesChanged event being fired: { addedProperties: [], removedProperties: [ { _text: "color: red", _enabled: true, ... } ] } It stopped happening with the new parser (
r209396
+).
Joseph Pecoraro
Comment 10
2017-01-06 17:04:08 PST
Duping to the single bug to handle CSS Toggling issues: *** This bug has been marked as a duplicate of
bug 166786
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug