Hypertopic/LaSuli — Issue #29: Temporary and permanent highlights offsets
Author: benel
Created: 2012-02-18 15:11:22+00:00
State: open
Labels: Fix

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 ``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 that ``spheres`` 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.