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

Unified Diff: LayoutTests/fast/frames/frame-programmatic-noresize-expected.txt

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-programmatic-noresize-expected.txt
diff --git a/LayoutTests/fast/frames/frame-programmatic-noresize-expected.txt b/LayoutTests/fast/frames/frame-programmatic-noresize-expected.txt
index cfb6654f0c11e46d274ddee74068efebffecdcd4..53043e01494f0f1856f782d9014ccaa4474afe69 100644
--- a/LayoutTests/fast/frames/frame-programmatic-noresize-expected.txt
+++ b/LayoutTests/fast/frames/frame-programmatic-noresize-expected.txt
@@ -11,25 +11,25 @@ Frame: 'results'
This tests that frame resizing is allowed and disallowed when programmatically removing and adding the noresize attribute, respectively.
Test disallow frame resize via noResize IDL attribute:
-PASS document.getElementById("testFrame").width is 200
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 200
Test allow frame resize when noResize IDL attribute has value undefined:
-PASS document.getElementById("testFrame").width is 210
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 210
Test allow frame resize when noResize IDL attribute has value null:
-PASS document.getElementById("testFrame").width is 220
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
Test disallow frame resize via noresize content attribute:
-PASS document.getElementById("testFrame").width is 220
-PASS document.getElementById("testFrame").width is 220
-PASS document.getElementById("testFrame").width is 220
-PASS document.getElementById("testFrame").width is 220
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
Test disallow then allow frame resize via noResize IDL attribute (i.e. increase frame width by 10 pixels):
-PASS document.getElementById("testFrame").width is 220
-PASS document.getElementById("testFrame").width is 230
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 220
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 230
Test disallow then allow frame resize via noresize content attribute (i.e. increase frame width by 10 pixels):
-PASS document.getElementById("testFrame").width is 230
-PASS document.getElementById("testFrame").width is 240
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 230
+PASS document.getElementById("testFrame").getBoundingClientRect().width is 240

Powered by Google App Engine
This is Rietveld 408576698