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

Side by Side Diff: LayoutTests/fast/regions/cssom/element-region-overset-state-negative-letter-spacing.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 <html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
4 <style>
5 #content {
6 -webkit-flow-into: article;
7 letter-spacing: -1px;
8 direction: rtl;
9 }
10 #region_1, #region_2{
11 -webkit-flow-from: article;
12 overset:visible;
13 display:inline-block;
14 vertical-align:top;
15 margin:10px;
16 }
17
18 #region_1 { height:110px; width:200px; }
19 #region_2 { height:110px; width:200px; }
20
21 </style>
22 </head>
23 <body>
24 <h1 id="content">Lorem ipsum</h1>
25 <div id="region_1"></div>
26 <div id="region_2"></div>
27
28 <script>
29 description("Tests Element.webkitRegionOverset attribute")
30 if (window.testRunner) {
31 testRunner.dumpAsText();
32 }
33 var region_1 = document.getElementById("region_1");
34 var region_2 = document.getElementById("region_2");
35 var content = document.getElementById("content");
36 shouldBeEqualToString("region_1.webkitRegionOverset", "fit");
37 shouldBeEqualToString("region_2.webkitRegionOverset", "empty");
38 document.body.removeChild(region_1);
39 document.body.removeChild(region_2);
40 document.body.removeChild(content);
41
42 </script>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698