mirror of
https://github.com/servo/servo.git
synced 2025-09-10 06:58:21 +01:00
Auto merge of #7277 - pcwalton:position-relative-stacking-context, r=glennw
layout: Make `position: relative` with non-auto `z-index` create a stacking context. Improves imgur.com and Fast Company articles. This change made `min-height-106.htm.ini` fail because the thing it was testing for never worked: we were relying on the incorrect stacking order of `position: relative` to get the green square to show up. r? @glennw <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7277) <!-- Reviewable:end -->
This commit is contained in:
commit
23657484ad
6 changed files with 48 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
|||
[floats-041.htm]
|
||||
[min-height-106.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -20,7 +20,6 @@
|
|||
left: 50px;
|
||||
width: 64px;
|
||||
height: 32px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#destination .img img{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue