odoo.define('web.dom_tests', function (require) { "use strict"; var dom = require('web.dom'); var testUtils = require('web.test_utils'); /** * Create an autoresize text area with 'border-box' as box sizing rule. * The minimum height of this autoresize text are is 1px. * * @param {Object} [options={}] * @param {integer} [options.borderBottomWidth=0] * @param {integer} [options.borderTopWidth=0] * @param {integer} [options.padding=0] */ function prepareAutoresizeTextArea(options) { options = options || {}; var $textarea = $('