Auto merge of #7243 - nox:border-collapse-panic, r=pcwalton

Avoid a panic when handling collapsing borders (fixes #7144)

There is no need to compute next_collapsed_borders_in_block_direction for all kind of flows when it's used only in the table row case. That also avoids a panic when the next child is a table colgroup (this should not happen when iterating over a table row).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7243)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-18 05:15:12 -06:00
commit 3d0951cf25
16 changed files with 28 additions and 59 deletions

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-colgroup-001.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-colgroup-002.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-colgroup-003.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-column-001.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-column-002.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-column-003.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-table-001.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-table-002.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[border-collapse-dynamic-table-003.htm]
type: reftest
expected: TIMEOUT

View file

@ -1,3 +1,3 @@
[table-backgrounds-bc-cell-001.htm]
type: reftest
expected: TIMEOUT
expected: FAIL

View file

@ -1,3 +1,3 @@
[table-backgrounds-bc-colgroup-001.htm]
type: reftest
expected: TIMEOUT
expected: FAIL

View file

@ -1,3 +1,3 @@
[table-backgrounds-bc-column-001.htm]
type: reftest
expected: TIMEOUT
expected: FAIL

View file

@ -1,3 +1,3 @@
[table-backgrounds-bc-row-001.htm]
type: reftest
expected: TIMEOUT
expected: FAIL

View file

@ -1,3 +1,3 @@
[table-backgrounds-bc-rowgroup-001.htm]
type: reftest
expected: TIMEOUT
expected: FAIL

View file

@ -1,3 +1,3 @@
[table-backgrounds-bc-table-001.htm]
type: reftest
expected: TIMEOUT
expected: FAIL