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

Side by Side Diff: LayoutTests/fast/regions/cssom/flowed-content-bounding-client-rect-horizontal-bt.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
3 <link rel="stylesheet" href="../resources/region-style.css"></link>
4 <script type="text/javascript" charset="utf-8" src="../resources/helper.js"></sc ript>
5
6 <style>
7 html { -webkit-writing-mode: horizontal-bt; }
8
9 body { margin: 10px; }
10
11 #region1 {
12 position: absolute;
13 left: 100px;
14 top: 10px;
15 width: 50px;
16 height: 100px;
17 }
18
19 #region2 {
20 position: absolute;
21 top: 10px;
22 left: 200px;
23 width: 50px;
24 height: 50px;
25 padding: 10px 20px 30px 40px;
26 border: 1px solid black;
27 }
28
29 .finished #region1, .finished #region2 {
30 display: none;
31 }
32 </style>
33
34 <div id="flow" class="flowArticle">
35 <div id="green" class="greenBox"></div>
36 <div id="blue" class="blueBox"></div>
37 <div id="orange" class="orangeBox"></div>
38 </div>
39
40 <div id="region1" class="regionArticle"></div>
41 <div id="region2" class="regionArticle"></div>
42
43 <script>
44 if (window.testRunner)
45 testRunner.dumpAsText();
46
47 var expectedBoundingRects = {
48 green: [60, 100, 110, 150, 50, 50],
49 blue: [10, 100, 60, 150, 50, 50],
50 orange: [21, 241, 71, 291, 50, 50]
51 };
52
53 if (testBoundingRects(expectedBoundingRects))
54 document.body.className = "finished";
55 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698