auto merge of #3998 : Hoverbear/servo/fix_table_caption, r=jdm

Fixed #3997.
This commit is contained in:
bors-servo 2014-11-15 13:24:28 -07:00
commit 561fab57d6
2 changed files with 4 additions and 1 deletions

View file

@ -82,7 +82,7 @@ impl Flow for TableCaptionFlow {
} }
fn iterate_through_fragment_bounds(&self, iterator: &mut FragmentBoundsIterator) { fn iterate_through_fragment_bounds(&self, iterator: &mut FragmentBoundsIterator) {
self.iterate_through_fragment_bounds(iterator); self.block_flow.iterate_through_fragment_bounds(iterator);
} }
} }

View file

@ -17,5 +17,8 @@
t.caption = newCaption; t.caption = newCaption;
is(newCaption.parentNode, t); is(newCaption.parentNode, t);
is(t.caption, newCaption); is(t.caption, newCaption);
// Test for https://github.com/servo/servo/issues/3997
t.getBoundingClientRect();
</script> </script>
</html> </html>