RESOLVED FIXED137375
Web Inspector: Cannot add a new CSS Rule to elements with 3 or more class names
https://bugs.webkit.org/show_bug.cgi?id=137375
Summary Web Inspector: Cannot add a new CSS Rule to elements with 3 or more class names
Joseph Pecoraro
Reported 2014-10-02 18:13:00 PDT
* TEST <div class="one two three"></div> * STEPS TO REPRODUCE 1. Inspect the <div> in the test 2. Open Styles Detail Sidebar 3. Open Rules tab 4. Click "+ Add Rule" => nothing happens, expected a new rule section * NOTES: - Clicking the button sends: frontend: {"method":"CSS.addRule","params":{"contextNodeId":5,"selector":".one.two three"},"id":99} That selector looks wrong. It should be ".one.two.three" not ".one.two three".
Attachments
[PATCH] Proposed Fix (1.34 KB, patch)
2014-10-02 18:15 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2014-10-02 18:13:10 PDT
Joseph Pecoraro
Comment 2 2014-10-02 18:15:57 PDT
Created attachment 239168 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 3 2014-10-02 18:25:12 PDT
Comment on attachment 239168 [details] [PATCH] Proposed Fix Nice catch!
WebKit Commit Bot
Comment 4 2014-10-02 19:07:21 PDT
Comment on attachment 239168 [details] [PATCH] Proposed Fix Clearing flags on attachment: 239168 Committed r174254: <http://trac.webkit.org/changeset/174254>
WebKit Commit Bot
Comment 5 2014-10-02 19:07:24 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.