mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
layout: Centralize the logic that determines whether fragments get
layers in the fragment, so that it can be activated when we're forcing the creation of extra layers due to positioned descendants that themselves have layers. The newly failing tests were tests that accidentally passed due to incorrect stacking order. Closes #7281.
This commit is contained in:
parent
d48f6ffbad
commit
ec1c90df41
14 changed files with 167 additions and 67 deletions
|
@ -257,6 +257,7 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
|
|||
# Should be == with expected failure. See #2797
|
||||
!= overconstrained_block.html overconstrained_block_ref.html
|
||||
== overflow_auto.html overflow_simple_b.html
|
||||
== overflow_auto_stacking_order_a.html overflow_auto_stacking_order_ref.html
|
||||
# Should be ==?
|
||||
!= overflow_position_abs_inside_normal_a.html overflow_position_abs_inside_normal_b.html
|
||||
== overflow_position_abs_simple_a.html overflow_position_abs_simple_b.html
|
||||
|
|
22
tests/ref/overflow_auto_stacking_order_a.html
Normal file
22
tests/ref/overflow_auto_stacking_order_a.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
#a {
|
||||
background: red;
|
||||
overflow: auto;
|
||||
}
|
||||
#b {
|
||||
background: green;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
</style>
|
||||
<div id=a></div>
|
||||
<div id=b></div>
|
||||
|
18
tests/ref/overflow_auto_stacking_order_ref.html
Normal file
18
tests/ref/overflow_auto_stacking_order_ref.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
#a {
|
||||
background: green;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
</style>
|
||||
<div id=a></div>
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[abspos-overflow-010.htm]
|
||||
type: reftest
|
||||
expected:
|
||||
if os == "linux": FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[abspos-overflow-011.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[max-height-107.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[max-height-110.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[min-height-104.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[min-height-105.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[min-height-106.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,5 @@
|
|||
[min-width-not-important.html]
|
||||
type: reftest
|
||||
reftype: ==
|
||||
refurl: /html/rendering/non-replaced-elements/the-fieldset-element-0/ref.html
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue