WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
Bug 124779
Web Inspector: Styles: Truncate long URLs (e.g. base64)
https://bugs.webkit.org/show_bug.cgi?id=124779
Summary
Web Inspector: Styles: Truncate long URLs (e.g. base64)
Andrew Theroux
Reported
2013-11-22 09:32:01 PST
Consider truncating base64 encoded images and fonts. The encoded information is of little use to the developer, yet consumes a sizable amount of screen real estate. This is how Safari handles it:
http://cl.ly/image/021W1M320l2b
vs. Chrome:
http://cl.ly/image/1w2X1p0b2P3k
Attachments
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2013-11-22 09:57:45 PST
I wonder if we should just truncate everything after "base64", I don't see how any of that could be of use to the developer in the sidebar, and Cmd+click would show the full string in the stylesheet.
Joseph Pecoraro
Comment 2
2013-11-22 10:19:48 PST
(In reply to
comment #1
)
> I wonder if we should just truncate everything after "base64", I don't see how any of that could be of use to the developer in the sidebar, and Cmd+click would show the full string in the stylesheet.
Good idea! That sounds good to me.
Timothy Hatcher
Comment 3
2013-12-02 12:39:11 PST
I was thinking about this when it was brought to my attention on Twitter. Turing these URLs into a token (like addresses in Mail's address field) might be best — to make it look like an actionable item. CodeMirror has support for replaced ranges which would be useful for this. We can replace the whole URL with any DOM element we want. On entry into the range it can auto expand even. But likely just a single click to a context menu to edit the URL would be best.
Timothy Hatcher
Comment 4
2013-12-02 12:40:36 PST
In fact almost any long URL could be treated this way.
David Kilzer (:ddkilzer)
Comment 5
2016-09-09 11:11:17 PDT
<
rdar://problem/28228553
>
Matt Baker
Comment 6
2017-10-16 12:17:46 PDT
Closing. This is being resolved in: <
https://webkit.org/b/178176
> Web Inspector: Styles Redesign: apply syntax highlighting to property values
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