mirror of
https://github.com/servo/servo.git
synced 2025-07-02 13:03:43 +01:00
Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6
This commit is contained in:
parent
40c52d55e2
commit
349c75536d
7391 changed files with 304135 additions and 153491 deletions
|
@ -6,23 +6,25 @@
|
|||
<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="ahem" 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;
|
||||
border: 5px solid orange;
|
||||
font: 20px/1 Ahem;
|
||||
overflow-wrap: break-word;
|
||||
width: 200px;
|
||||
}
|
||||
#test {
|
||||
border: 1px solid blue;
|
||||
border: 5px solid blue;
|
||||
font: 20px/1 Ahem;
|
||||
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 class="instructions">Test passes if the black box overflows the blue border box, but fits within the orange border box.</p>
|
||||
<p id="ref">FillerTextFillerTextFillerTextFillerText</p>
|
||||
<p id="test">FillerTextFillerTextFillerTextFillerText</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue