diff --git a/web/text_layer_builder.css b/web/text_layer_builder.css index 21f3613f9..ce74c5732 100644 --- a/web/text_layer_builder.css +++ b/web/text_layer_builder.css @@ -35,6 +35,13 @@ transform-origin: 0% 0%; } +/* Only necessary in Google Chrome, see issue 14205, and most unfortunately + * the problem doesn't show up in "text" reference tests. */ +.textLayer span.markedContent { + top: 0; + height: 0; +} + .textLayer .highlight { margin: -1px; padding: 1px;