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

Side by Side Diff: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html

Issue 1340643004: Stop propagating customscrollbar styles across iframe boundaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 4 years, 6 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 ::-webkit-scrollbar {
5 width: 150px;
6 height: 150px;
7 }
8 iframe {
9 width: 300px;
10 border: 0;
11 outline: 1px solid blue;
12 }
13 </style>
14 <iframe srcdoc="
15 <style>
16 body { margin: 0; padding: 10px; height: 500px; font: 10pt monospace; }
17 </style>
18 "></iframe>
19 <script>
20 onload = function() {
21 var body = document.querySelector("iframe").contentDocument.body;
22 shouldBe("285", String(body.clientWidth));
23 };
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698