RESOLVED DUPLICATE of bug 205900 40202
Web Inspector: Would like to be able to edit rules from user style sheet
https://bugs.webkit.org/show_bug.cgi?id=40202
Summary Web Inspector: Would like to be able to edit rules from user style sheet
Adam Roben (:aroben)
Reported 2010-06-04 22:42:55 PDT
The Inspector currently doesn't let you edit rules from the user style sheet. It would be nice to be able to do this.
Attachments
Picture of Safari preferences, showing setting for User Stylesheet (300.13 KB, image/png)
2015-11-20 15:51 PST, Darin Adler
no flags
Adam Roben (:aroben)
Comment 1 2010-06-04 22:43:28 PDT
Blaze Burg
Comment 2 2015-11-20 13:12:38 PST
The USer stylesheet is mostly an anachronism; it isn't exposed as a configurable thing by any WebKit clients. We don't allow editing User Agent style rules in the sidebar or editors. Rules in author stylesheets are fair game though.
Darin Adler
Comment 3 2015-11-20 15:50:37 PST
(In reply to comment #2) > The User stylesheet is mostly an anachronism; it isn't exposed as a > configurable thing by any WebKit clients. What about in Safari? <screenshot attached>
Darin Adler
Comment 4 2015-11-20 15:51:21 PST
Created attachment 266007 [details] Picture of Safari preferences, showing setting for User Stylesheet
Blaze Burg
Comment 5 2015-11-20 15:59:04 PST
(In reply to comment #3) > (In reply to comment #2) > > The User stylesheet is mostly an anachronism; it isn't exposed as a > > configurable thing by any WebKit clients. > > What about in Safari? <screenshot attached> Haha, I misspoke! I have never seen this dialog before. I think the bigger UI problem right now is that rules jump away after you edit them, since "editing" is implemented by serializing to text and replacing an entire stylesheet. There's no persistent object model for rules; we found the CSSOM code to be too buggy and/or incomplete to use for Web Inspector.
Blaze Burg
Comment 6 2020-09-23 16:32:51 PDT
This was fixed in 2020! *** This bug has been marked as a duplicate of bug 205900 ***
Note You need to log in before you can comment on or make changes to this bug.