blob: e5c2c5d0efedd48381944c9be3d2d8e3139a428f [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: word-wrap - break-word (basic)</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
<link rel="help" href="http://www.w3.org/TR/css-text-3/#overflow-wrap-property">
<link rel="match" href="overflow-wrap-001-ref.html">
<meta name="flags" content="ahem">
<meta name="assert" content="The 'word-wrap' property set 'break-word' breaks the word at an arbitrary point">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#test {
border: 5px solid orange;
font: 20px/1 Ahem;
word-wrap: break-word;
width: 200px;
}
</style>
<body>
<p class="instructions">Test passes if the black box is within the orange box.</p>
<p id="test">FillerTextFillerTextFillerTextFillerText</p>
</body>