W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Processing of <object><param /></object>

From: Rzepa, Henry <h.rzepa@ic.ac.uk>
Date: Thu, 29 Jun 2000 17:33:18 +0100
Message-Id: <p04320417b58129dfcbc8@[155.198.234.86]>
To: html-tidy@w3.org
Cc: g.gkoutos@ic.ac.uk
The following in the body 

    <object type="application/x-spt" width="250" height="250">
      <param name="button" value="push" >
      <param name="target" value="chair" >
      <param name="script" value="select *; color cpk; zoom 250" >
    </object>

Produces  from Tidy

   <object type="application/x-spt" width="250" height="250">
      <param name="button" value="push" />
      <param name="target" value="chair" />
      <param name="script" value="select *; color cpk; zoom 250" />
    </object>

But a second pass in Tidy discards the  <param> declarations.
Removing the  closing / in  /> inhibits the <param> removal.

Is this expected behaviour?  I would have thought a second pass
through Tidy should produce a null result? 
-- 

Henry Rzepa. +44 (0)20 7594 5774 (Office) +44 (0)20 7594 5804 (Fax)
Dept. Chemistry, Imperial College, London, SW7  2AY, UK. 
http://www.ch.ic.ac.uk/rzepa/
Received on Thursday, 29 June 2000 12:33:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT