forked from servo/servo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 servo#7281.
- Loading branch information
Showing
14 changed files
with
166 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
|
||
|
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata-css/css21_dev/html4/abspos-overflow-010.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[abspos-overflow-010.htm] | ||
type: reftest | ||
expected: | ||
if os == "linux": FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/abspos-overflow-011.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[abspos-overflow-011.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/max-height-107.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[max-height-107.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/max-height-110.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[max-height-110.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/min-height-104.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[min-height-104.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/min-height-105.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[min-height-105.htm] | ||
type: reftest | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
tests/wpt/metadata-css/css21_dev/html4/min-height-106.htm.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[min-height-106.htm] | ||
type: reftest | ||
expected: FAIL |
5 changes: 5 additions & 0 deletions
5
...l/rendering/non-replaced-elements/the-fieldset-element-0/min-width-not-important.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |