Permalink
Browse files

Fix a few tests assuming implied position of top-left.

  • Loading branch information...
1 parent 49a16e3 commit 6099f22faf25754ec097e1559c7f05db451d0918 @mbostock mbostock committed Jun 12, 2010
Showing with 8 additions and 0 deletions.
  1. +1 −0 tests/mark/cursor.html
  2. +2 −0 tests/mark/event-prototype.html
  3. +4 −0 tests/mark/render-partial.html
  4. +1 −0 tests/mark/title.html
View
@@ -11,6 +11,7 @@
.height(300);
vis.add(pv.Bar)
+ .top(0)
.height(100)
.fillStyle("brown")
.cursor("hand")
@@ -22,6 +22,8 @@
.event("mouseout", function() label.textStyle("black").i(-1));
var label = panel.add(pv.Rule)
+ .top(0)
+ .left(0)
.width(10)
.anchor("right").add(pv.Label)
.def("i", -1)
@@ -15,6 +15,8 @@
.height(20);
panel1.add(pv.Label)
+ .top(0)
+ .left(0)
.textBaseline("top")
.text(function() "render 1: " + (++panel1.count || (panel1.count = 1)));
@@ -23,6 +25,8 @@
.height(20);
panel2.add(pv.Label)
+ .top(0)
+ .left(0)
.textBaseline("top")
.text(function() "render 2: " + (++panel2.count || (panel2.count = 1)));
View
@@ -11,6 +11,7 @@
.height(300);
vis.add(pv.Bar)
+ .top(0)
.height(100)
.fillStyle("brown")
.title("Hello, world!")

0 comments on commit 6099f22

Please sign in to comment.