diff options
Diffstat (limited to 'layout/reftests/line-breaking/emoji-2-ref.html')
-rw-r--r-- | layout/reftests/line-breaking/emoji-2-ref.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/line-breaking/emoji-2-ref.html b/layout/reftests/line-breaking/emoji-2-ref.html new file mode 100644 index 000000000..8aaca9548 --- /dev/null +++ b/layout/reftests/line-breaking/emoji-2-ref.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset=utf-8> +<style> +.test { + width: 5em; + border: 1px solid silver; + margin: 1em; + padding: 2px; +} +.wrapped { + word-wrap: break-word; +} +.nowrap { + white-space: nowrap; +} +</style> +</head> +<body> +The emoji faces should wrap within the box; the series of flags should not wrap. +<div class="test"> + <span class="wrapped">😀😁😂😃😄😅😆😇<!-- +-->😈😉😊😋😌😍😎😏</span><!-- +--><span class="nowrap">🇯🇵🇰🇷🇩🇪🇨🇳<!-- +-->🇺🇸🇫🇷🇪🇸🇮🇹<!-- +-->🇷🇺🇬🇧</span> +</div> +</body> +</html> |