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

Side by Side Diff: LayoutTests/fast/overflow/resize-inherit.html

Issue 639293008: Make CSS resize property non-inherited. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New baselines Created 6 years, 2 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 <script src="../../resources/js-test.js"></script>
3 <style>
4 .overflow {
5 overflow: scroll;
6 width: 200px;
7 height: 200px;
8 }
9 .resize {
10 resize: both;
11 }
12 .resize-inherit {
13 resize: inherit;
14 }
15 </style>
16 <div class="overflow resize">
17 <div class="overflow no-resize"></div>
18 <div class="overflow resize-inherit"></div>
19 </div>
20 <script>
21 description("CSS resize property is inherited:no");
22
23 shouldBe("getComputedStyle(document.querySelector('.overflow.resize')).resize", "'both'");
24 shouldBe("getComputedStyle(document.querySelector('.overflow.no-resize')).resize ", "'none'");
25 shouldBe("getComputedStyle(document.querySelector('.overflow.resize-inherit')).r esize", "'both'");
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698