From 0cb9bd91af9cf5f15d8f27c17835e9bc82bab661 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 25 Jul 2011 18:45:37 -0400 Subject: [PATCH] prefer to use offsetWidth & offsetHeight when applicable. Add auto_test for dygraph div sizing. --- auto_tests/misc/local.html | 1 + auto_tests/tests/css.js | 129 +++++++++++++++++++++++++++++++++++++++++++++ dygraph.js | 40 ++++++++------ 3 files changed, 155 insertions(+), 15 deletions(-) create mode 100644 auto_tests/tests/css.js diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index 881c10f..3480130 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -25,6 +25,7 @@ +