WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
63932
Web Inspector: add "element state" setting to the styles section title.
https://bugs.webkit.org/show_bug.cgi?id=63932
Summary
Web Inspector: add "element state" setting to the styles section title.
Pavel Feldman
Reported
2011-07-05 05:27:14 PDT
This is a part of the support for the :hover, :active, etc.
Attachments
[IMAGE] Draft icon for :active/:hover/:focus toggle.
(3.33 KB, image/png)
2011-07-05 05:43 PDT
,
Pavel Feldman
no flags
Details
[IMAGE] Looks with patch applied.
(21.84 KB, image/png)
2011-07-05 07:18 PDT
,
Pavel Feldman
no flags
Details
Patch
(18.77 KB, patch)
2011-07-05 07:47 PDT
,
Pavel Feldman
yurys
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2011-07-05 05:43:19 PDT
Created
attachment 99706
[details]
[IMAGE] Draft icon for :active/:hover/:focus toggle.
Pavel Feldman
Comment 2
2011-07-05 07:18:30 PDT
Created
attachment 99714
[details]
[IMAGE] Looks with patch applied.
Pavel Feldman
Comment 3
2011-07-05 07:47:43 PDT
Created
attachment 99715
[details]
Patch
Alexander Pavlov (apavlov)
Comment 4
2011-07-05 08:17:24 PDT
Comment on
attachment 99715
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=99715&action=review
> Source/WebCore/inspector/front-end/StylesSidebarPane.js:58 > + var muteEventListener = function(event) { event.stopPropagation(); event.preventDefault(); };
Any point in having this as a standalone var?
> Source/WebCore/inspector/front-end/StylesSidebarPane.js:722 > + var tr = document.createElement("tr");
a good shortcut: var tr = table.createChild("tr"); (also appends tr to table)
> Source/WebCore/inspector/front-end/StylesSidebarPane.js:727 > + tr = document.createElement("tr");
ditto
> Source/WebCore/inspector/front-end/StylesSidebarPane.js:732 > + this._elementStatePane.appendChild(table);
you could potentially use the same approach for table
> Source/WebCore/inspector/front-end/inspector.css:1775 > +
odd new blank line
> Source/WebCore/inspector/front-end/inspector.css:4556 > + border-spacing: 0;
You don't need this property here as it applies to tables only
> Source/WebCore/inspector/front-end/inspector.css:4567 > +
extra blank line
Pavel Feldman
Comment 5
2011-07-05 08:35:36 PDT
Committed
r90397
: <
http://trac.webkit.org/changeset/90397
>
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