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

Unified Diff: third_party/WebKit/Source/web/tests/data/frame_owner_properties.html

Issue 1307013004: Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments for tests + merge blink/cr changes. Created 5 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/Source/web/tests/data/frame_owner_properties.html
diff --git a/third_party/WebKit/Source/web/tests/data/frame_owner_properties.html b/third_party/WebKit/Source/web/tests/data/frame_owner_properties.html
new file mode 100644
index 0000000000000000000000000000000000000000..bc09d7df1f72b1dea1916071402918108815ae28
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/frame_owner_properties.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+<div id="content"></div>
+<script>
+ var marginWidth = document.body.getAttribute('marginwidth') || 0;
+ var marginHeight = document.body.getAttribute('marginheight') || 0;
+ document.querySelector('#content').innerText = marginWidth + '/' + marginHeight;
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698