W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 1997

SPAN problem

From: Tom Hughes <thh@cyberscience.com>
Date: 21 Feb 1997 08:55:04 +0000
To: www-amaya@w3.org
Message-ID: <yeku3n6bkt3.fsf@elva.cyberscience.com>
I've just discovered that if a <SPAN> crosses several lines in the HTML
source then all except the first line are pushed down to the end of the
displayed page (in reverse order, with the first multi-line span last,
preceeded by the second multi-line span etc).

As a specific example, a piece of HTML like this:

<SPAN CLASS="comment">/*
 * This is a test of
 * the multi-line comment
 * detection
 */</SPAN>

is rendered with the leading /* in the right place, and all the other
lines at the end of the document.

Tom

-- 
Tom Hughes : thh@cyberscience.com : tom@compton.demon.co.uk
Software Engineer, Cyberscience Corporation
Rawdon House, High Street, Hoddesdon, Hertfordshire EN11 8BD
... Hard work never killed anyone but why take a risk?
Received on Friday, 21 February 1997 13:21:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:23 UTC