mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
31 lines
779 B
HTML
31 lines
779 B
HTML
<!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>
|