-------- 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 : Tue, 29 Aug 2017 14:09:20 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 #10 by Adrien PROKOPOWICZ:

What do you mean by "complex CSS + trick that breaks compatibility" ? Have you 
even tried it ?
This is a very simple CSS rule, the closest thing to a "new trick" in it is the 
+ operator, which is supported since IE 7 !

Of course, this rule is not the right way to do, I put it because it's the 
simplest one to implement without having to change the HTML generated by the 
markdown parser.

However, since the <a> name attribute is obsolete, I think using an id 
attribute on the title element is the best solution : it does not require any 
additional CSS, it only relies on standard and non-obsolete behavior, and it does not 
bloat the HTML output.
I made a merge request implementing this, so that Benoît can review it if he 
wants.




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