WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
9321
WebKit HTML Source view should "pretty print" by default
https://bugs.webkit.org/show_bug.cgi?id=9321
Summary
WebKit HTML Source view should "pretty print" by default
Eric Seidel (no email)
Reported
2006-06-05 21:52:49 PDT
HTML Source view, once it's finally moved down into WebKit (from Safari) should pretty-print by default. Meaning, it should remove unnecessary spaces, indent, etc. One example of god-awful generated HTML is here:
http://www.anntaylor.com/IWCatSectionView.process?IWAction=Load&RestartFlow=t&Merchant_Id=1&Section_Id=7992
There are millions other examples out there. I think developers would really like such a feature.
Attachments
Add attachment
proposed patch, testcase, etc.
kangax
Comment 1
2011-11-07 06:33:18 PST
This is probably no longer needed, given web dev tools and "elements" tab?
Alexey Proskuryakov
Comment 2
2011-11-07 10:09:37 PST
Also, deciding how to display page source is up to the browser, and thus out of scope for WebKit.
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