RESOLVED FIXED 195774
Web Inspector: changes to CSS resources only take affect once editing stops
https://bugs.webkit.org/show_bug.cgi?id=195774
Summary Web Inspector: changes to CSS resources only take affect once editing stops
Devin Rousso
Reported 2019-03-14 15:44:50 PDT
# STEPS TO REPRODUCE: 1. inspect any page 2. find a CSS resource in the Resources/Sources tab 3. find a CSS color value 4. show the color popover 5. drag your mouse around the color wheel that appears => corresponding usage of the color doesn't change in the page 5. stop moving your mouse => color changes after almost 1s
Attachments
Patch (3.42 KB, patch)
2019-03-14 15:52 PDT, Devin Rousso
no flags
Radar WebKit Bug Importer
Comment 1 2019-03-14 15:45:11 PDT
Devin Rousso
Comment 2 2019-03-14 15:52:33 PDT
Nikita Vasilyev
Comment 3 2019-03-15 15:00:52 PDT
Comment on attachment 364709 [details] Patch Nice find! Using throttling instead of debouncing makes sense here. You changed the timeout from 500 to 100ms. Have you tested this on large stylesheets? What happens when you edit colors on https://stackoverflow.com ?
Devin Rousso
Comment 4 2019-03-15 15:23:40 PDT
(In reply to Nikita Vasilyev from comment #3) > You changed the timeout from 500 to 100ms. Have you tested this on large stylesheets? What happens when you edit colors on https://stackoverflow.com ? I tried editing colors on <https://webkit.org> and <https://apple.com> and both seemed fine.
WebKit Commit Bot
Comment 5 2019-03-20 09:28:22 PDT
Comment on attachment 364709 [details] Patch Clearing flags on attachment: 364709 Committed r243208: <https://trac.webkit.org/changeset/243208>
WebKit Commit Bot
Comment 6 2019-03-20 09:28:23 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.