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 4619 - Validator's scripts work only in tagsoup mode
Summary: Validator's scripts work only in tagsoup mode
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: Website (show other bugs)
Version: 0.8.0b2
Hardware: All All
: P2 normal
Target Milestone: 0.9.0
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://validator-test.w3.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-10 13:18 UTC by Kornel Lesinski
Modified: 2018-05-09 20:10 UTC (History)
0 users

See Also:
jordancarrillo530: needinfo+
jordancarrillo530: needinfo+


Attachments

Description Kornel Lesinski 2007-06-10 13:18:06 UTC
Validtor's XHTML is served as text/html, even to XHTML browsers.

If proper XML Content-Type is forced, the scripts cease to work: options aren't hidden initially, there are no DHTML effects.

(forgive me not telling exactly why - the amount and complexity of script used for this simple effect is disheartening)
Comment 1 Olivier Thereaux 2007-06-11 11:48:06 UTC
(In reply to comment #0)
> If proper XML Content-Type is forced, the scripts cease to work:

Indeed, it looks like the mootools libraries are using document.write, which won't work with XML. Forwarding the feedback.

> options aren't hidden initially, there are no DHTML effects.

But the interface does degrade "gracefully" when scripting is disabled or not working.
Comment 2 Ville Skyttä 2007-06-11 16:08:33 UTC
(In reply to comment #1)
> 
> But the interface does degrade "gracefully" when scripting is disabled or not
> working.

I'll have to disagree to some extent here.
http://lists.w3.org/Archives/Public/www-validator/2007Jun/0014.html

Even if Firefox 1.5.0.12 is probably the last one in the 1.5 series, it's not that old, and moreover I'm not sure if I understand the benefit of the "smooth transition/fading" effects for the validator's UI in the first place.


Comment 3 Olivier Thereaux 2007-06-11 20:15:15 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > 
> > But the interface does degrade "gracefully" when scripting is disabled or not
> > working.
> 
> I'll have to disagree to some extent here.
> http://lists.w3.org/Archives/Public/www-validator/2007Jun/0014.html

That's apparently a CSS problem, we're looking at it.
Comment 4 Olivier Thereaux 2007-06-12 20:21:18 UTC
(changing milestone, making sure we don't overlook this before releasing 0.8.0)
Comment 5 Olivier Thereaux 2007-07-18 06:25:49 UTC
The main scripting issues are fixed, and the mootools team is aware that the usage of document.write() is problematic - there is only one left in the library at the moment.

Keeping this open, to track in future.