This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8653 - Browser "back" button does not work properly on http://validator.w3.org/
Summary: Browser "back" button does not work properly on http://validator.w3.org/
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: Website (show other bugs)
Version: 0.8.5
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://validator.w3.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 03:40 UTC by David Houlder
Modified: 2018-05-09 20:09 UTC (History)
1 user (show)

See Also:
jordancarrillo530: needinfo+


Attachments

Description David Houlder 2010-01-06 03:40:27 UTC
To reproduce:

1. Go to http://validator.w3.org/
2. Click the "Validate by File Upload" tab
(URL chnages to http://validator.w3.org/#validate_by_upload and file upload interface appears)
3. Click the browser "back" button
4. URL changes back to http://validator.w3.org/ but file upload tab remains selected.

The same behaviour is apparent with all the tabs: clicking on a tab selects it, but the browser back button won't take you back to previous tabs, despite the URL changing as you'd expect.

Tested with Firefox 3.0.16

My guess is you need something like this:
http://digitarald.de/project/history-manager/

cheers
Comment 1 Ville Skyttä 2010-01-07 22:54:38 UTC
Indeed.  HistoryManager appears to be targeted at MooTools 1.1 while what we currently have is some 1.2dev version, there could be some rough edges.  Also, based on some comments, the original author version might not work with IE 8.

I've experimented locally with updating the validator to MooTools 1.2.4 and it doesn't seem that hard at all, but doing that would practically double the size of the javascript to be downloaded without any gains I'm aware of... apart from possibly being able to introduce this history feature using one of the HistoryManager versions a few people mention being updated to work with MooTools 1.2.
Comment 2 David Houlder 2010-01-11 10:34:42 UTC
(In reply to comment #1)
Alternatively, you could turn it back into a traditional web app using a different URL path for each tab - less bloat, the back button will work, and won't even require javascript. For an application like this I'm not sure what the mootools-based tab mechanism achieves. For W3C (of all sites) to provide an app that violates #1 of http://www.useit.com/alertbox/990530.html is a bit embarrassing if you ask me. 
cheers