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

Unified Diff: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-reconstruction-on-inserting-style-sheet.html

Issue 2338413005: Revert of IFrame Scrollbar needs reconstruction. (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-reconstruction-on-inserting-style-sheet.html
diff --git a/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-reconstruction-on-inserting-style-sheet.html b/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-reconstruction-on-inserting-style-sheet.html
deleted file mode 100644
index 9b22948386cf32914ca75f9a53101f8e832a7d0e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-reconstruction-on-inserting-style-sheet.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<iframe frameborder="0"></iframe>
-<div id = "content">
-<div style="width: 400px; height: 400px"></div>
-</div>
-<script>
- var idoc = document.querySelector("iframe").contentDocument;
- var sheet = idoc.head.appendChild(idoc.createElement("style")).sheet;
- idoc.body.innerHTML = document.querySelector('#content').innerHTML;
- document.body.offsetTop;
- sheet.insertRule("::-webkit-scrollbar { width: 50px; height: 20px; }", 0);
- sheet.insertRule("::-webkit-scrollbar-thumb { background: green; }", 1);
- </script>

Powered by Google App Engine
This is Rietveld 408576698