Created
September 30, 2019 20:49
-
-
Save septatrix/e6d7d0a67468ddd4811b7fe49a337fc2 to your computer and use it in GitHub Desktop.
Chromium text direction bug with angle brackets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bug</title> | |
<style> | |
div { | |
direction: ltr; | |
} | |
:checked + div { | |
direction: rtl; | |
} | |
</style> | |
</head> | |
<body> | |
<input type="checkbox"> | |
<div>1<2</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment