Auto merge of #8306 - glennw:fix-abd-overflow, r=pcwalton

Change overflow calculation to be calculated after compute_absolute_position.

Also include absolutely positioned elements in the overflow rect calculation.

Fixes #7797.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8306)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-04 08:15:58 +05:30
commit ca56ebbb09
10 changed files with 75 additions and 105 deletions

View file

@ -15,6 +15,18 @@
"deleted": [],
"items": {
"reftest": {
"css/abs-overflow-stackingcontext.html": [
{
"path": "css/abs-overflow-stackingcontext.html",
"references": [
[
"/_mozilla/css/abs-overflow-stackingcontext_ref.html",
"=="
]
],
"url": "/_mozilla/css/abs-overflow-stackingcontext.html"
}
],
"css/abs_float_pref_width.html": [
{
"path": "css/abs_float_pref_width.html",
@ -4804,6 +4816,18 @@
}
},
"reftest_nodes": {
"css/abs-overflow-stackingcontext.html": [
{
"path": "css/abs-overflow-stackingcontext.html",
"references": [
[
"/_mozilla/css/abs-overflow-stackingcontext_ref.html",
"=="
]
],
"url": "/_mozilla/css/abs-overflow-stackingcontext.html"
}
],
"css/abs_float_pref_width.html": [
{
"path": "css/abs_float_pref_width.html",