Mix stacking contexts into the positioned content list

Sometimes positioned content needs to be layered on top of stacking
contexts. The layer synthesis code can do this, but the current design
prevents it because stacking contexts are stored in a separate struct
member. In order to preserve tree order, mix stacking contexts into the
positioned content list, by adding a new StackingContextClass
DisplayItem. Such items do not have a base DisplayItem.

In some ways this simplifies the code, because we no longer have to
have a separate code path in the StackingContextLayerCreator.

Fixes #7779.
Fixes #7983.
Fixes #8122.
Fixes #8310.
This commit is contained in:
Martin Robinson 2015-10-13 17:29:29 -07:00
parent 5c11c88e92
commit c1a38e240a
13 changed files with 330 additions and 295 deletions

View file

@ -1,3 +0,0 @@
[floats-154.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[left-offset-position-fixed-001.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[max-height-107.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[max-height-110.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[min-height-104.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[min-height-105.htm]
type: reftest
expected: FAIL