aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-variables-1_dev/html/reference
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-08-13 09:49:40 -0700
committerPatrick Walton <pcwalton@mimiga.net>2015-09-03 10:24:59 -0700
commitee8741b7a8d7313a3ad1ea6ef81cebf7cb262891 (patch)
treebf12a7adb6f5cfb485a535342601e0c5cbfbed81 /tests/wpt/css-tests/css-variables-1_dev/html/reference
parent3f9b6f8586b60929ccbfe1cf51b84887ef711b77 (diff)
downloadservo-ee8741b7a8d7313a3ad1ea6ef81cebf7cb262891.tar.gz
servo-ee8741b7a8d7313a3ad1ea6ef81cebf7cb262891.zip
layout: Fix several bugs relating to inline borders, padding, and
margins. * The code that attempted to strip out borders that span multiple fragments in the same element could go wrong if fragments were stripped out due to text clumping or whitespace stripping. This patch rewrites that code to maintain flags in the inline fragment context specifying whether the node is the beginning or end of the element. Not only is this easier to maintain, it's closer in spirit to what roc originally suggested two years ago: it's isomorphic to "begin element, end element" markers for inline layout. * Padding and margins for spans containing inline-blocks are now properly handled via a division of labor between the `InlineBlock` fragment and the `BlockFlow` that represents the inline-block. * Unscanned text fragments may not be joined together into a text run if borders, padding, or margins separate them. Because Servo now matches the rendering of Gecko and WebKit on the `input_button_margins_a` reftest, I had to modify it to add some vertical alignment. The combined effect of all of these fixes places "Advertising" on the right place on google.com.
Diffstat (limited to 'tests/wpt/css-tests/css-variables-1_dev/html/reference')
0 files changed, 0 insertions, 0 deletions