mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
layout: Take relative position offsets for inlines and inline-blocks
into account only once. There were two bugs here: (1) relative position applied to scanned/unscanned text fragments independently of the container element that applied that relative position, causing double-counting; (2) relative position applied to inline block fragments independently of the wrapped block itself, causing double-counting. This commit also removes the `cascade_anonymous` function and the related `Fragment` constructor. They were unused, and their functionality has been replaced by the `modify_style_for_*` series of functions. Closes #7067.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
[floats-153.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
@@ -1,3 +0,0 @@
|
||||
[margin-collapse-001.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
@@ -1,3 +0,0 @@
|
||||
[position-relative-032.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
@@ -1,3 +0,0 @@
|
||||
[run-in-relpos-between-001.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
@@ -1,3 +0,0 @@
|
||||
[run-in-relpos-between-002.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
||||
Reference in New Issue
Block a user