Test 4.2-1

1. The comment delimiter is --

The comment delimiter is --, not <!-- and -->. In the following sentence, the word INCORRECTLY should not appear:

This browser parses comments INCORRECTLY! Yes, I said incorrectly.

The markup used was:

     <P>This browser parses comments <!-- -- --> INCORRECTLY!
     Yes, I said in<!-- -- -->correctly.</P>

2. The effect of comments on whitespace collapsing

In the following, the words should not be spaced out any more than normal.

These words are not separated by comments. They should be spaced out as much as these words.

3. Comments should have no effect on the rendering

In the following block, the four lines should have the same width. However, lines three and four should each have a single space instead of a 4 in the number sequence, and the fifth line should be missing both the 4 and 5 characters, instead of which it should have two spaces. However, the final 0 in each line should line up vertically.

 1234567890
 1234567890
 123 567890  (4 missing)
 123 567890  (4 missing)
 123  67890  (4 and 5 missing)

4. Comment Terminator

The comment delimiter is --, so the end delimited is certainly not ->. In the following sentence, the word INCORRECTLY should not appear:

This browser parses comments correctly.

The markup used was:

     <P>This browser parses comments <!-- -> INCORRECTLY!
     Yes, I said in<!- -->correctly.</P>