Open Bug 474963 Opened 16 years ago Updated 2 years ago

Selecting a part of a page then pressing Ctrl+U should act as "View selection source"

Categories

(Toolkit :: View Source, enhancement)

enhancement

Tracking

()

People

(Reporter: stifu, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090122 Shiretoko/3.1b3pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090122 Shiretoko/3.1b3pre

At the moment, when pressing Ctrl+U, it always acts as "View Page Source". I suggest the following behavior: make it act as "View selection source" if something in the page has been selected.

I reckon this would probably complicate the code a little bit, but I think it could still be nice. And it's the behavior I personally expected, but that may just be me.

What do you think?

Reproducible: Always
I searched for a key combination assigned to "View Selection Source" or an obvious duplicate of this bug but was not (yet) able to find it.
Status: UNCONFIRMED → NEW
Component: General → View Source
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: general → view.source
See also bug 276438, "View Selection Source should appear in toolbar menu".
OS: Windows Vista → All
Hardware: x86 → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.