- From: Irene Vatton <vatton@inrialpes.fr>
- Date: Wed, 31 Oct 2007 18:52:50 +0200
- To: Leon Stringer <leon.stringer@ntlworld.com>
- Cc: www-amaya@w3.org
On Wednesday 31 October 2007 16:43, Leon Stringer wrote: > Hi, > > In Amaya 9.99-1, link targets can't include other elements. I'm fairly > sure this would be valid and that older Amaya versions did it. > > I suppose this doesn't actually make any difference to the document as > only the start of the target is used by the browser, but it seems wrong. > > Test case: > > 1. Create a new XHTML document. > > 2. Type a sentence, e.g.: > > The quick brown fox jumped over the lazy dogs. > > 3. Select the word fox and add an in-line element (e.g. > XHTML->Information type->Emphasis (em)). > > 4. Press F2 to select the paragraph and select Links->Create target > > Only the first three words become the target. As the paragraph is selected, Amaya generates an id attribute on the paragraph instead of an anchor element inside the paragraph. What is disturbing for you is that the final selection is not extended to the last child of the paragraph. As in previous versions, the paragraph is now a possible target for a link. > > Regards, > > Leon... > > ----------------------------------------- > Email sent from www.virginmedia.com/email > Virus-checked using McAfee(R) Software and scanned for spam -- Irène. ----- Irène Vatton INRIA Rhône-Alpes INRIA ZIRST e-mail: Irene.Vatton@inria.fr 655 avenue de l'Europe Tel.: +33 4 76 61 53 61 Montbonnot Fax: +33 4 76 61 52 07 38334 Saint Ismier Cedex - France
Received on Wednesday, 31 October 2007 16:55:09 UTC