From de6520b50e481ba588e9021abcab16d06ea61141 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Thu, 15 May 2008 19:38:00 +0000 Subject: Added some unit tests for position method. Fixed issue with position in IE. --- test/data/offset/absolute.html | 4 ++++ test/data/offset/relative.html | 3 +++ test/data/offset/scroll.html | 1 + test/data/offset/static.html | 1 + test/data/offset/table.html | 1 + test/unit/offset.js | 52 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 62 insertions(+) (limited to 'test') diff --git a/test/data/offset/absolute.html b/test/data/offset/absolute.html index 55d223d65..3bbc8417d 100644 --- a/test/data/offset/absolute.html +++ b/test/data/offset/absolute.html @@ -12,12 +12,15 @@ #absolute-1-1-1 { top: 1px; left: 1px; } #absolute-2 { top: 19px; left: 19px; } #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; } + p.instructions { position: absolute; bottom: 0; }