WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
111173
Web Inspector: Move sidebar-specific styles to a separate file
https://bugs.webkit.org/show_bug.cgi?id=111173
Summary
Web Inspector: Move sidebar-specific styles to a separate file
Vladislav Kaznacheev
Reported
2013-03-01 05:57:47 PST
Create sidebarPane.css and load it on demand.
Attachments
Patch
(21.58 KB, patch)
2013-03-01 06:01 PST
,
Vladislav Kaznacheev
no flags
Details
Formatted Diff
Diff
Patch
(22.51 KB, patch)
2013-03-04 07:45 PST
,
Vladislav Kaznacheev
no flags
Details
Formatted Diff
Diff
Patch
(28.06 KB, patch)
2013-03-05 05:44 PST
,
Vladislav Kaznacheev
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Vladislav Kaznacheev
Comment 1
2013-03-01 06:01:01 PST
Created
attachment 190952
[details]
Patch
Pavel Feldman
Comment 2
2013-03-01 06:12:52 PST
Comment on
attachment 190952
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=190952&action=review
> Source/WebCore/inspector/front-end/sidebarPane.css:63 > +.sidebar-tabbed-pane .tabbed-pane-header {
SidebarPane does not know anything about tabbed-pane-header
> Source/WebCore/inspector/front-end/sidebarPane.css:131 > +.sidebar-pane-toolbar > select {
All of these are elementsPanel specific
> Source/WebCore/inspector/front-end/sidebarPane.css:287 > +.event-listener-breakpoints .event-category {
These are elements panel specific.
Vladislav Kaznacheev
Comment 3
2013-03-04 07:45:28 PST
Created
attachment 191244
[details]
Patch
Vladislav Kaznacheev
Comment 4
2013-03-04 07:49:02 PST
Comment on
attachment 190952
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=190952&action=review
>> Source/WebCore/inspector/front-end/sidebarPane.css:63 >> +.sidebar-tabbed-pane .tabbed-pane-header { > > SidebarPane does not know anything about tabbed-pane-header
SidebarPanes does not but SidebarTabbedPane does.
>> Source/WebCore/inspector/front-end/sidebarPane.css:131 >> +.sidebar-pane-toolbar > select { > > All of these are elementsPanel specific
Moved to elementsPanel.css
>> Source/WebCore/inspector/front-end/sidebarPane.css:287 >> +.event-listener-breakpoints .event-category { > > These are elements panel specific.
Moved to elementsPanel.css
Pavel Feldman
Comment 5
2013-03-05 03:56:21 PST
Comment on
attachment 191244
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=191244&action=review
> Source/WebCore/inspector/front-end/elementsPanel.css:534 > +.sidebar-pane-toolbar > select:hover {
I would imagine that this file only gets styles with ".elements-" prefix otherwise, you are at risk of breaking stuff on other panels (styles are unloaded when you switch off the panel).
> Source/WebCore/inspector/front-end/scriptsPanel.css:312 > +.sidebar-pane > .body .breakpoint-condition {
Like these ones are ok - they all mention breakpoint...
> Source/WebCore/inspector/front-end/scriptsPanel.css:328 > +ol.breakpoint-list {
And what about DOM Breakpoints? They might rely upon this style. I might be that breakpoints list view might need to have its own CSS.
> Source/WebCore/inspector/front-end/sidebarPane.css:73 > +.pane-title {
Should we rename this to .sidebar-pane-title?
Vladislav Kaznacheev
Comment 6
2013-03-05 05:38:38 PST
Comment on
attachment 191244
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=191244&action=review
>> Source/WebCore/inspector/front-end/elementsPanel.css:534 >> +.sidebar-pane-toolbar > select:hover { > > I would imagine that this file only gets styles with ".elements-" prefix otherwise, you are at risk of breaking stuff on other panels (styles are unloaded when you switch off the panel).
Prefixed all these rules with .panel.elements
>> Source/WebCore/inspector/front-end/scriptsPanel.css:312 >> +.sidebar-pane > .body .breakpoint-condition { > > Like these ones are ok - they all mention breakpoint...
Thanks, I guess.
>> Source/WebCore/inspector/front-end/scriptsPanel.css:328 >> +ol.breakpoint-list { > > And what about DOM Breakpoints? They might rely upon this style. I might be that breakpoints list view might need to have its own CSS.
You caught me red-handed. Created breakpointsList.css.
>> Source/WebCore/inspector/front-end/sidebarPane.css:73 >> +.pane-title { > > Should we rename this to .sidebar-pane-title?
Done
Vladislav Kaznacheev
Comment 7
2013-03-05 05:44:33 PST
Created
attachment 191475
[details]
Patch
Build Bot
Comment 8
2013-03-05 16:42:29 PST
Comment on
attachment 191475
[details]
Patch
Attachment 191475
[details]
did not pass mac-ews (mac): Output:
http://webkit-commit-queue.appspot.com/results/17015041
New failing tests: editing/selection/selection-invalid-offset.html
WebKit Review Bot
Comment 9
2013-03-06 07:25:19 PST
Comment on
attachment 191475
[details]
Patch Clearing flags on attachment: 191475 Committed
r144927
: <
http://trac.webkit.org/changeset/144927
>
WebKit Review Bot
Comment 10
2013-03-06 07:25:23 PST
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.
Top of Page
Format For Printing
XML
Clone This Bug