[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1146: wiki incorrectly points to wrong position on anchor click if there's a index implicit

Benoît Minisini gambas at ...1...
Mon Aug 28 23:04:49 CEST 2017



-------- 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 : bugtracker at ...3416...
Pour : adrien.prokopowicz at ...626..., mckaygerhard at ...626..., g4mba5 at ...1081....626...

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; }







More information about the User mailing list