[Webkit-unassigned] [Bug 31611] Web Inspector: resource views in Resources and Scripts panels should allow line-wrapping as an option

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 17 19:21:02 PST 2009


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





--- Comment #1 from Patrick Mueller <pmuellr at yahoo.com>  2009-11-17 19:21:01 PST ---
Setting white-space:nowrap as a style for the <td>'s that contain the source
seems to be enough to turn the line wrapping off.  So, it seems like a CSS rule
based on a class on the table itself is one way to make this happen.  We can
then toggle the style in the table to wrap/not-wrap the <td>'s via the rule.

Not sure WHERE to put the wrap/not-wrap option.  One complication is that it's
needed for both the Resources and Scripts panel; I don't think we want two
different ways to turn this on or off, or different locations of the trigger,
depending on what panel you're on. 

An option 'button' next to the console button would probably work for now.  We
could also use the context-menu support that was added a while back - though
there is a discovery problem with that, I think.

Perhaps it's time we started thinking about a preferences panel, or popup. 
Perhaps something like the console, in the same area as the console.  Only one
of the console or preferences would ever be displayed at a time, or neither.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list