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

Side by Side Diff: LayoutTests/fast/regions/cssom/flowed-content-transform-bounding-client-rect.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 body { margin: 10px; }
8
9 .box {
10 width: 50px;
11 height: 50px;
12 float: left;
13 }
14
15 #region1 { -webkit-transform: translate(10px, 10px); }
16 #region2 { -webkit-transform: translate(30px, 20px) rotate(45deg); }
17 #region3 { -webkit-transform: translate(70px, 30px) scale(2,2); }
18
19 .finished #region1, .finished #region2, .finished #region3 {
20 display: none;
21 }
22 </style>
23
24 <div class="flowArticle">
25 <div id="green" class="greenBox"></div>
26 <div id="blue" class="blueBox"></div>
27 <div id="orange" class="orangeBox"></div>
28 </div>
29 <div id="region1" class="regionArticle box"></div>
30 <div id="region2" class="regionArticle box"></div>
31 <div id="region3" class="regionArticle box"></div>
32
33 <script>
34 if (window.testRunner)
35 testRunner.dumpAsText();
36
37 var expectedBoundingRects = {
38 green: [20, 20, 70, 70, 50, 50],
39 blue: [20, 80, 90, 150, 70, 70],
40 orange: [15, 155, 115, 255, 100, 100]
41 };
42
43 if (testBoundingRects(expectedBoundingRects, 1))
44 document.body.className = "finished";
45 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698