[Webkit-unassigned] [Bug 142463] New: Web Inspector: relative urls in CSS rules added through Inspector use an arbitrary, unexplained base path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 8 14:49:42 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=142463

            Bug ID: 142463
           Summary: Web Inspector: relative urls in CSS rules added
                    through Inspector use an arbitrary, unexplained base
                    path
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: burg at cs.washington.edu
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 248204
  --> https://bugs.webkit.org/attachment.cgi?id=248204&action=review
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150308/43c14fe7/attachment-0002.html>


More information about the webkit-unassigned mailing list