aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-08-10 18:05:29 -0700
committerPatrick Walton <pcwalton@mimiga.net>2015-08-12 08:28:35 -0700
commit8640cf55889c44b0d252eedab3da5f6153cd217b (patch)
tree8c704b9f545d0941c1ecb8cafe572aeecb9f0a1f /components/script
parent3ad49fc689ceb6067cd6dea1aa0d004321704b8e (diff)
downloadservo-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