aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/layout/box.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/servo/layout/box.rs')
-rw-r--r--src/servo/layout/box.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/servo/layout/box.rs b/src/servo/layout/box.rs
index 61e5fdaf826..91ce6555483 100644
--- a/src/servo/layout/box.rs
+++ b/src/servo/layout/box.rs
@@ -420,7 +420,11 @@ impl RenderBox : RenderBoxMethods {
TextBox(_,d) => {
list.append_item(~DisplayItem::new_Text(&abs_box_bounds,
~d.run.serialize(builder.ctx.font_cache),
- d.range))
+ d.range));
+ // debug frames for text box bounds
+ debug!("%?", {
+ list.append_item(~DisplayItem::new_Border(&abs_box_bounds, au::from_px(1), 0, 0, 200))
+ ; ()});
},
// TODO: items for background, border, outline
GenericBox(_) => {