2 <html style="direction:ltr">
18 border: 1px solid blue;
24 border: 1px solid green;
28 #region1, #region2, #region3 {
29 border: 1px solid black;
51 <p>The text lines should not overflow the regions. The fragment boxes should respect the margin values for their regions.</p>
55 <div class="first-box">
56 <div class="second-box">
57 <p>This line of text should not get out of the region. This line of text <span style="line-height: 100px;">XXXXXXX</span></p>
63 <div class="content" style="margin-top: -33px;">
64 <div class="first-box">
65 <div class="second-box">
66 <p>should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</p>
67 <p>This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text <span style="line-height: 100px;">XXXXXX</span></p>
73 <div class="content" style="overflow: hidden;">
74 <div class="first-box" style="margin-top: -33px;">
75 <div class="second-box">
76 <p>should not get out of the region.</p>
77 <p>This line of text should not get out of the region.</p>