You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ge...@apache.org on 2020/03/05 23:30:52 UTC

[incubator-annotator] 02/02: Remove border because text nodes remain split.

This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch use-highlighter-in-demo
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit fc4afdbd425e75a0cef459cff8679ed085630a7b
Author: Gerben <ge...@treora.com>
AuthorDate: Fri Mar 6 00:10:42 2020 +0100

    Remove <mark> border because text nodes remain split.
    
    A motivation to merge split nodes again in the removeHighlight function,
    e.g. using Node.normalize().
---
 demo/index.html | 1 -
 1 file changed, 1 deletion(-)

diff --git a/demo/index.html b/demo/index.html
index facccec..0ae10c1 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -33,7 +33,6 @@ under the License.
     }
     mark {
       background-color: rgba(255, 255, 0, 0.5);
-      outline: 0.1px solid rgba(255, 100, 0, 0.8);
     }
     #parsed {
       height: 15rem;