2 <html style="direction:rtl">
3 <link rel="stylesheet" href="resources/region-style.css">
5 body { -webkit-font-smoothing: none; font: 16px/1.25 monospace; }
12 #region1, #region2, #region3 {
13 border: 1px solid black;
32 <p style="direction:ltr">The first and last lines of text in the regions below should be clipped to the green box. The overflow
33 section sizes itself independently in each region.</p>
37 <div class="overflowContent">
38 <div class="overflowFirstBox">
39 <div class="overflowSecondBox secondBox">
40 <div style="width: 500px">Clipped line of text that should not be visible.</div>
48 <div class="overflowContent" style="padding-top: 0px;">
49 <div class="overflowFirstBox" style="border-top-width: 0px;">
50 <div class="overflowSecondBox secondBox" style="margin-top: 0px; border-top-width: 0px;">
51 <p style="margin-top: 0px;">These lines will not spill out of the regions. These lines will not spill out of the regions.
52 These lines will not spill out of the regions.</p>
59 <div class="overflowContent" style="padding-top: 0px;">
60 <div class="overflowFirstBox" style="border-top-width: 0px;">
61 <div class="overflowSecondBox secondBox" style="margin-top: 0px; border-top-width: 0px;">
62 <div style="width: 500px">Clipped line of text that should not be visible.</div>