Closed benel closed 11 years ago
Contrary to what we thought earlier, this bug has nothing to do with HTML page structure, it can be reproduced with a simple TXT file:
Le soleil resonne sur le mode antique dans le choeur harmonieux des spheres.
Highlight in the following order:
choeur
harmonieux
soleil
When soleilis highlighted, harmonieuxis offset.
Now highlight:
antique
You can see that harmonieux gets more offset.
Then highlight:
spheres
Now refresh the page. You can see that the offset of harmonieux was just a visual bug, but that spheres was created with incorrect coordinates.
A workaround to this major bug is to refresh the page as soon as an offset appeared. Otherwise further highlights will be faulty.
This was caused by commit dc8357075c8790f9bb20895d15b18323a06493fc.
Contrary to what we thought earlier, this bug has nothing to do with HTML page structure, it can be reproduced with a simple TXT file:
Highlight in the following order:
choeur
harmonieux
soleil
When
soleil
is highlighted,harmonieux
is offset.Now highlight:
antique
You can see that harmonieux gets more offset.
Then highlight:
spheres
Now refresh the page. You can see that the offset of
harmonieux
was just a visual bug, but thatspheres
was created with incorrect coordinates.Workaround
A workaround to this major bug is to refresh the page as soon as an offset appeared. Otherwise further highlights will be faulty.