WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
142463
Web Inspector: relative urls in CSS rules added through Inspector use an arbitrary, unexplained base path
https://bugs.webkit.org/show_bug.cgi?id=142463
Summary
Web Inspector: relative urls in CSS rules added through Inspector use an arbi...
Brian Burg
Reported
2015-03-08 14:49:42 PDT
Created
attachment 248204
[details]
example of the bug You can see this in the 2nd level inspector, by adding a new rule to override an icon to use a different image. In the rules from CSS files, the path url(../Images/foo.svg) works. In a rule that is added "via Inspector", the path url(Images/foo.svg) is required instead. This is really confusing when looking at the Rules sidebar, since different stylesheets with different base paths are all shown together. We should think about some way to better communicate the base path for inspector-added styles. Or, provide better linked error messages when the resources don't load. Perhaps add a tooltip for striked out rules to explain why the don't match?
Attachments
example of the bug
(272.88 KB, image/png)
2015-03-08 14:49 PDT
,
Brian Burg
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-03-08 14:50:00 PDT
<
rdar://problem/20086745
>
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