diff options
author | Ms2ger <Ms2ger@gmail.com> | 2015-12-09 01:48:05 -0500 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2015-12-10 10:03:03 -0500 |
commit | 35c74aecc22e60ccb3dbb03000c8546941b8250c (patch) | |
tree | 91cc0748250b0808b56652bd4162414074490410 /tests/wpt/css-tests/css-values-3_dev/xhtml1/support/util.js | |
parent | 9aa1b1e408f3c7cc9c7774da203d261ac0922866 (diff) | |
download | servo-35c74aecc22e60ccb3dbb03000c8546941b8250c.tar.gz servo-35c74aecc22e60ccb3dbb03000c8546941b8250c.zip |
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
Diffstat (limited to 'tests/wpt/css-tests/css-values-3_dev/xhtml1/support/util.js')
-rw-r--r-- | tests/wpt/css-tests/css-values-3_dev/xhtml1/support/util.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wpt/css-tests/css-values-3_dev/xhtml1/support/util.js b/tests/wpt/css-tests/css-values-3_dev/xhtml1/support/util.js index a7ce4283e45..b2fa69a97ec 100644 --- a/tests/wpt/css-tests/css-values-3_dev/xhtml1/support/util.js +++ b/tests/wpt/css-tests/css-values-3_dev/xhtml1/support/util.js @@ -5,14 +5,14 @@ function resizeViewportTo(viewportSelector, width, height) { iframe.width = width; iframe.height = height; - + iframe.contentWindow.document.body.offsetTop; } function injectStylesInIFrame(styleSelector, frameSelector) { var style = document.querySelector(styleSelector), frame = document.querySelector(frameSelector); - + frame.contentWindow.addNewStyles(style.textContent); } @@ -26,4 +26,4 @@ if (window.parent != window) { styleTag.appendChild(textNode); document.head.appendChild(styleTag); } -}
\ No newline at end of file +} |