Re: Current bugs in amay 1.2 LINUX-ELF

Thanks for your comments.

> Scrolling still doesn't work well.  The horizontal scroll bar doesn't
> work.  Also, if I am near the top of the page, and I go up one page,
> amaya will sometimes go beyond the top of the page.

Horizontal scrolling is considered as an extension for a future
release.

> Also, amaya does not handle "<a name="asdf"></a>" gracefully.  For one
> example, look at
> "http://sdcc13.ucsd.edu/~bredelin/Essays/layer2.shtml".  This looks
> strange, and you will see why if you use the structure view.  Amaya has
> made LOTS of <a name> elements, instead of the original ONE in the
> source code.

In that particular case, the anchor element <a name="bulverism"> is not
closed by a </a> tag.  Amaya considers that the anchor applies to all
following elements until it encounters another <a> tag that is properly
closed.

Another problem with anchors in the documents you mention is that they
often appear in an invalid context.  The HTML 4.0 DTD (http://www.w3.org/TR/REC-html40/sgml/dtd.html), as well as 
previous HTML
DTDs, state that anchors are inline elements: they can only appear in
block elements such as paragraphs, headings, list items, etc.  In the
example below, the empty anchor named "how" should be placed within the
H3 element, not between that element and the previous UL.  When
properly placed, an empty anchor works correctly in Amaya.

To avoid any trouble, you may consider validating your pages.  See for
instance http://validator.w3.org/

> In this example, amaya draw two lists on top of each other:
> 
> --------------temp.shtml---------------------
> <HTML>
> <HEAD>
>   <TITLE>List of Questions</TITLE>
> </HEAD>
> 
> <BODY>
> <ul>
>   <li><h4>What is the exact meaning of the word "Ultimate?"</h4>
>   I'm not sure, but its completely socially constructed.  Futhermore
>   this word represents a concept, and so illustrates the fact that
>   everything we say is just one way of looking at things.  However,
>   this way of looking at concepts is not just one way among many, but
>   is the only way for all non-arrogant people.
> </ul>
> 
> <a name="how"></a><h3>Why do dogs like fire hydrants?</h3>
> <ul>
>   <li>
>   Since all answers are equally correct (being socially constructed),
>   we asked an informant from the idyllic !Kung tribe.  However, we
>   forgot the interpreter, so we "constructed" the following answer:
>   Once upon a time a man went to the store.  At the store he bought a
>   large watermelon.  The vodka is strong but the meat is rotten.
> </ul>
> </body>
> 
> </html>
> --------------------------end temp.shtml--------------------

Vincent.

-------------------------------------------------------
Vincent Quint                       INRIA Rhone-Alpes
W3C/INRIA                           ZIRST
e-mail: Vincent.Quint@w3.org        655 avenue de l'Europe
Tel.: +33 4 76 61 53 62             38330 Montbonnot St Martin
Fax:  +33 4 76 61 52 07             France

Received on Monday, 9 February 1998 03:59:30 UTC