Inspector Impetus
Last week I promised to write a blog post to talk about why Mozilla’s building an inspector into Firefox. This is that blog post, and I also hope to explain a bit about the direction we’re taking with it and to ask all of you for feedback on what you’d like to see it do.
Currently, we include View Source in Firefox 3.6. I’ve blogged about how important view source is and how awesome it is that we have it, but inspection is a different kind of activity. Whereas view-source is linear, letting you view the underlying document from which your page was created, inspection is dynamic, letting you dip into a webpage to view a particular node and its associated properties. To find a node and its rules in view source, you might need to browse to several linked documents to locate the specific set of rules. Inspection locates everything for you. Of course, the inspector won’t show you the documents and their relation to each other on the server. For that, you’ll still need view-source. Further, inspection will show you live changes to the document as they occur. View-source is a moment in the life of the web page, and remains static.
Most web developers use a combination of tools outside of their browser to create attractive pages and interesting content: design and graphics tools like Illustrator and Photoshop and a broad array of content editors from Frontpage to Notepad++. For the inspector, we talked about some of the different interactions we wanted to give to developers and looked to these other programs for inspiration. The tool should feel dynamic and yet be easy to get out of the way if you want to go back to browsing the web. You should be able to quickly inspect a piece on a webpage and get as much information out of it as you wanted. Maybe you’d like to make a quick change or remove an element? Manipulate some DOM attributes, or move an element around in a page and have the Inspector make the positioning adjustments for you.
We’re not there yet. I’m still cobbling together pieces to provide some of the basics. But we’re hopeful that with these foundation blocks in place, we can start to build on them to provide unique interactions that have a more “designery” feel like the tools people already enjoy using to create content. We’re hoping the inspector will feel comfortable and intuitive to you.
Over the next little while, I’m rewriting the Tree panel, adding editing capabilities, redesigning the highlighter to look more like what’s in the mockup on the project page, adding rulers and guides to help with layout, and a few basic controls for making all of this easier to manage. The initial Style and DOM panels are waiting in the wings ready for review.
This is a different approach to inspection, for a different kind of user. We’re not looking to replace tools like Firebug and DOM Inspector – they are awesome, and we’re still totally committed to helping them be the best they can be. We think there’s a group however, that doesn’t need the depth of Firebug, but does want tools with a more “designery” feel. My hope is that Firefox and Firebug will complement each other in somewhat the same way that tools like Lightroom and Photoshop do.
To get your ideas and suggestions heard, reply here or on the dev.apps.firefox thread.

13 Comments