WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15834
There are many subtle bugs in the Styles pane of the Web Inspector
https://bugs.webkit.org/show_bug.cgi?id=15834
Summary
There are many subtle bugs in the Styles pane of the Web Inspector
Timothy Hatcher
Reported
2007-11-04 14:58:57 PST
The styles pane has a few bugs. - Poor handling of duplicate properties in the same rule. Some of this can't be fixed since we can't only get the "winning" value for duplicate properties. So we should only show one entry per unique property name. - Computed style does not show font shorthand properties if font was used. - Property priority is broken, the wrong properties are crossed out. - Border shows null for the shorthand value. - Shorthands don't show their priority. - HSL and HEX colors have now preview swatch blocks. - Complex code, making it hard to reuse for console.log later. See attached file for some test cases.
Attachments
Test case
(1.10 KB, text/html)
2007-11-04 14:59 PST
,
Timothy Hatcher
no flags
Details
Patch
(64.87 KB, patch)
2007-11-04 15:06 PST
,
Timothy Hatcher
aroben
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2007-11-04 14:59:13 PST
Created
attachment 17037
[details]
Test case
Timothy Hatcher
Comment 2
2007-11-04 15:06:49 PST
Created
attachment 17038
[details]
Patch
Adam Roben (:aroben)
Comment 3
2007-11-04 15:57:56 PST
Comment on
attachment 17038
[details]
Patch +
Bug 15834
: There are many subtile bugs in the Styles pane of the Web Inspector Typo: Subtile -> Subtle + for (var i = 0; i < boxes.length; ++i) { + var name = boxes[i]; Even though you've defined name here, you still use boxes[i] later on. It looks like PropertiesSidebarPane.js has a bunch of tabs in it. I'm not really sure what the changes to the TreeOutline code are supposed to be doing (the ChangeLog didn't mention them). r=me
Timothy Hatcher
Comment 4
2007-11-04 16:23:16 PST
Fixed the issues Adam mentioned. Landed in r
r27431
.
http://trac.webkit.org/projects/webkit/changeset/27431
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