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

Unified Diff: LayoutTests/fast/frames/frame-js-url-clientWidth.html

Issue 427563002: Remove HTMLFrameElement.width/height (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix tests Created 6 years, 5 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: LayoutTests/fast/frames/frame-js-url-clientWidth.html
diff --git a/LayoutTests/fast/frames/frame-js-url-clientWidth.html b/LayoutTests/fast/frames/frame-js-url-clientWidth.html
index 4ace48ce256d7ee2337ff3489743fa354b954598..78bef7c1cefb2cecafb86025abd829c343f2fc74 100644
--- a/LayoutTests/fast/frames/frame-js-url-clientWidth.html
+++ b/LayoutTests/fast/frames/frame-js-url-clientWidth.html
@@ -35,9 +35,9 @@ function shouldBe(a, b)
'when executing a javascript: load. If the test passes, you\'ll see a series of ' +
'\'PASS\' messages below.\n'
);
- top.shouldBe('frame.frameElement.width', 250);
+ top.shouldBe('frame.frameElement.getBoundingClientRect().width', 250);
top.shouldBe('frame.frameElement.clientWidth', 250);
- top.shouldBe('frame.frameElement.height', 250);
+ top.shouldBe('frame.frameElement.getBoundingClientRect().height', 250);
top.shouldBe('frame.frameElement.clientHeight', 250);
"
>

Powered by Google App Engine
This is Rietveld 408576698