Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Side by Side Diff: LayoutTests/fast/regions/overflow-size-change-with-stacking-context-rtl.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html style="direction:rtl">
3 <head>
4 <style>
5 body {
6 font: 16px/1.25 monospace;
7 }
8
9 #content {
10 -webkit-flow-into: flow1;
11 padding: 5px;
12 }
13
14 .first-box {
15 border: 1px solid blue;
16 }
17
18 .second-box {
19 margin: auto;
20 border: 1px solid green;
21 overflow: hidden;
22 width: 75%;
23 position: relative;
24 z-index: 0;
25 padding-bottom: 20px;
26 }
27
28 #region1, #region2, #region3 {
29 border: 1px solid black;
30 -webkit-flow-from: flow1;
31 }
32
33 #region1 {
34 width: 204px;
35 height: 100px;
36 }
37
38 #region2 {
39 width: 300px;
40 height: 180px;
41 }
42
43 #region3 {
44 width: 116px;
45 height: 120px;
46 }
47 </style>
48 </head>
49 <body>
50 <p style="direction:ltr">The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself and clips differently in each region.</p>
51
52 <div id="content">
53 <div class="first-box">
54 <div class="second-box">
55 <div style="width: 500px; opacity: 0.8;">Clipped line of tex t that should not be visible.</div>
56 <p>These lines will not spill out of the regions. These line s will not spill out of the regions.
57 These lines will not spill out of the regions. These lines w ill not spill out of the regions.
58 These lines will not spill out of the regions.</p>
59 <div style="width: 500px; position: absolute; bottom: 0">Cli pped line of text that should not be visible.</div>
60 </div>
61 </div>
62 </div>
63
64 <div id="container">
65 <div id="region1"></div>
66 <div id="region2"></div>
67 <div id="region3"></div>
68 </div>
69 </body>
70 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698