diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-08-10 18:05:29 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-08-12 08:28:35 -0700 |
commit | 8640cf55889c44b0d252eedab3da5f6153cd217b (patch) | |
tree | 8c704b9f545d0941c1ecb8cafe572aeecb9f0a1f /components/script | |
parent | 3ad49fc689ceb6067cd6dea1aa0d004321704b8e (diff) | |
download | servo-8640cf55889c44b0d252eedab3da5f6153cd217b.tar.gz servo-8640cf55889c44b0d252eedab3da5f6153cd217b.zip |
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.
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions