-------- Message transféré --------
Sujet : [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong 
position on anchor click if there's a index implicit
Date : Mon, 28 Aug 2017 21:01:48 GMT
De : bugtrac...@gambaswiki.org
Pour : adrien.prokopow...@gmail.com, mckaygerh...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1146&from=L21haW4-

Comment #7 by Adrien PROKOPOWICZ:

Actually, the name attribute on <a> elements is obsolete since HTML5 : 
https://www.w3.org/TR/html5/obsolete.html#obsolete-but-conforming-features .

It only fails on the first element because of the index (see attached screenshot) : 
The <a> element is on the same line as the previous element, but since the 
index is very tall, well the line is also huge … which creates the bug.

I think the best fix would be to use ids instead of <a> elements, but I think 
this CSS rule could also do the trick :

.index + * { display: block; }




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to