Procházet zdrojové kódy

Merge pull request #77 from ckeditor/t/ckeditor5/1571

Tests: Improve caret between inline widget rendering in manual tests. Closes ckeditor/ckeditor5#1571.
Kamil Piechaczek před 6 roky
rodič
revize
bec8bb0a46

+ 4 - 0
packages/ckeditor5-widget/tests/manual/inline-widget.html

@@ -14,6 +14,10 @@
 		padding: 4px 2px;
 		padding: 4px 2px;
 		outline-offset: -2px;
 		outline-offset: -2px;
 		line-height: 1em;
 		line-height: 1em;
+		/* Set margins before and after the inline widget so the cursor between two instances is visible when one of them is focused.
+		   Optimized for Firefox due to bug in rendering selection in ZWS on Chrome. See ckeditor5#1607. */
+		margin-right: 1px;
+		margin-left: 3px;
 	}
 	}
 
 
 	placeholder::selection {
 	placeholder::selection {