mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><meta charset="utf-8">
|
||||
<title>CSS Text Test: overflow-wrap - break-word and white-space - nowrap</title>
|
||||
<link href="http://www.intel.com" rel="author" title="Intel">
|
||||
<link href="mailto:shiyoux.tan@intel.com" rel="author" title="Shiyou Tan">
|
||||
<link href="http://www.w3.org/TR/css-text-3/#overflow-wrap" rel="help" title="6.2. Overflow Wrapping: the 'word-wrap'/'overflow-wrap' property">
|
||||
<link href="http://www.w3.org/TR/css-text-3/#white-space" rel="help">
|
||||
<link href="reference/overflow-wrap-002-ref.htm" rel="match">
|
||||
<meta content="" name="flags">
|
||||
<meta content="Test checks that the 'overflow-wrap' property has effect if and only if the 'white-space' allows wrapping" name="assert">
|
||||
<style>
|
||||
#ref {
|
||||
border: 1px solid black;
|
||||
overflow-wrap: break-word;
|
||||
width: 200px;
|
||||
}
|
||||
#test {
|
||||
border: 1px solid blue;
|
||||
overflow-wrap: break-word;
|
||||
white-space: nowrap;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<p>Test passes if the 'FillerText' overflows the blue border box, but breaks line within the black border box.</p>
|
||||
<p id="ref">FillerTextFillerTextFillerTextFillerText</p>
|
||||
<p id="test">FillerTextFillerTextFillerTextFillerText</p>
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue