Auto merge of #24551 - nox:i-am-very-smart, r=SimonSapin

Fix a ridiculous bug in layout-2020

Who needs CI anyway?
This commit is contained in:
bors-servo 2019-10-25 17:57:31 -04:00 committed by GitHub
commit 45113a6e41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 16 additions and 167 deletions

View file

@ -324,7 +324,7 @@ where
}
fn parent_node(self) -> Option<Self> {
TNode::next_sibling(&self)
TNode::parent_node(&self)
}
fn style(self, context: &SharedStyleContext) -> Arc<ComputedValues> {
@ -361,6 +361,9 @@ where
}
fn unset_boxes_in_subtree(self) {
assert!(self.is_element());
assert!(self.parent_node().is_some());
let mut node = self;
loop {
if node.is_element() {

View file

@ -1,2 +1,2 @@
[anonymous-box-generation-001.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +1,2 @@
[anonymous-boxes-inheritance-001.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +0,0 @@
[anonymous-inline-whitespace-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[block-in-inline-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[block-in-inline-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[block-in-inline-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[block-in-inline-007.xht]
expected: CRASH

View file

@ -1,2 +1,2 @@
[block-in-inline-008.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +0,0 @@
[block-in-inline-relpos-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[block-in-inline-relpos-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[box-generation-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[box-generation-002.xht]
expected: CRASH

View file

@ -1,2 +1,2 @@
[containing-block-001.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +1,2 @@
[containing-block-002.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +1,2 @@
[containing-block-003.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +1,2 @@
[containing-block-004.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +1,2 @@
[containing-block-005.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +1,2 @@
[containing-block-006.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +0,0 @@
[containing-block-008.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-009.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-010.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-019.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-020.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-021.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-022.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-023.xht]
expected: CRASH

View file

@ -1,2 +1,2 @@
[containing-block-026.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +0,0 @@
[containing-block-027.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-028.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[containing-block-029.xht]
expected: CRASH

View file

@ -1,2 +1,2 @@
[containing-block-030.xht]
expected: CRASH
expected: FAIL

View file

@ -1,2 +0,0 @@
[delete-block-in-inlines-beginning-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[delete-block-in-inlines-end-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[delete-block-in-inlines-middle-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[delete-inline-in-blocks-beginning-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[delete-inline-in-blocks-end-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[delete-inline-in-blocks-middle-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[delete-inline-in-blocks-middle-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[delete-inline-in-blocks-middle-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[descendant-display-none-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[descendant-display-override-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-005.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-006.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-007.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-008.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-009.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-010.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-011.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-012.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-013.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-014.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-015.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-016.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-017.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-018.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-change-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-none-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-none-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[display-none-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-begin-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-begin-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-begin-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-end-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-end-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-end-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-middle-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-middle-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-blocks-n-inlines-middle-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-inlines-beginning-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-inlines-end-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-block-in-inlines-middle-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-beginning-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-end-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-middle-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-middle-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-begin-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-begin-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-begin-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-end-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-end-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-end-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-middle-001.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-middle-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[insert-inline-in-blocks-n-inlines-middle-003.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[root-box-002.xht]
expected: CRASH

View file

@ -1,2 +0,0 @@
[root-box-003.xht]
expected: CRASH

View file

@ -1,2 +1,2 @@
[root-canvas-001.xht]
expected: CRASH
expected: FAIL