OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test of box-decoration break rendering when the a text is broken in m
ultiple lines</title> | 4 <title>Test of box-decoration break rendering when the a text is broken in m
ultiple lines</title> |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 body { | 6 body { |
7 width: 360px; | 7 width: 360px; |
8 font: monospace 10px; | 8 font: monospace 10px; |
9 } | 9 } |
10 span { | 10 span { |
11 display: block; | 11 display: block; |
12 width: 360px; | 12 width: 350px; |
13 } | 13 } |
14 #rightCutHighlight { | 14 #rightCutHighlight { |
15 display: inline; | 15 display: inline; |
16 border-top: 2px solid red; | 16 border-top: 2px solid red; |
17 border-right: 0px solid red; | 17 border-right: 0px solid red; |
18 border-left: 2px solid red; | 18 border-left: 2px solid red; |
19 border-bottom: 2px solid red; | 19 border-bottom: 2px solid red; |
20 background: yellow; | 20 background: yellow; |
21 box-shadow: 0px 1px 3px dimgrey; | 21 box-shadow: 0px 1px 3px dimgrey; |
22 } | 22 } |
(...skipping 22 matching lines...) Expand all Loading... |
45 <body> | 45 <body> |
46 <h1>Box-decoration-break: slice</h1> | 46 <h1>Box-decoration-break: slice</h1> |
47 <span>This long word should break in a new line : <span id="rightCutHighligh
t">veryveryveryveryveryveryvery-</span><br><span id="leftCutHighlight">-longword
</span>. box-decoration-break is set to cloned, | 47 <span>This long word should break in a new line : <span id="rightCutHighligh
t">veryveryveryveryveryveryvery-</span><br><span id="leftCutHighlight">-longword
</span>. box-decoration-break is set to cloned, |
48 so the right edge of the previous line is cut, and the left edge of the high
light in this line is cut too.</span> | 48 so the right edge of the previous line is cut, and the left edge of the high
light in this line is cut too.</span> |
49 <h1>Box-decoration-break: clone</h1> | 49 <h1>Box-decoration-break: clone</h1> |
50 <span>This long word should break in a new line : <span class="clone">veryve
ryveryveryveryveryvery-</span><br><span class="clone">-longword</span>. box-deco
ration-break is set to cloned, | 50 <span>This long word should break in a new line : <span class="clone">veryve
ryveryveryveryveryvery-</span><br><span class="clone">-longword</span>. box-deco
ration-break is set to cloned, |
51 so the right edge of the previous line is similar as its left edge, and the
left edge of the highlight in this line is similar as its right one. </span> | 51 so the right edge of the previous line is similar as its left edge, and the
left edge of the highlight in this line is similar as its right one. </span> |
52 </body> | 52 </body> |
53 </body> | 53 </body> |
54 </html> | 54 </html> |
OLD | NEW |