servo/components
Patrick Walton ee8741b7a8 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.
2015-09-03 10:24:59 -07:00
..
canvas webgl: Add shader validation and translation 2015-08-30 14:23:14 +02:00
canvas_traits webgl: Add shader validation and translation 2015-08-30 14:23:14 +02:00
compositing Implement viewport functions for window #1718 2015-09-02 00:40:52 +02:00
devtools Make devtools depend on plugins. 2015-09-02 19:51:23 +02:00
devtools_traits Send the start and end half of a TimelineMarker to the devtools PullTimelineMarkers thread together. 2015-08-28 20:48:07 +02:00
gfx Auto merge of #7499 - nerith:style, r=metajack 2015-09-02 12:05:58 -06:00
gfx_traits Layerize canvas 2015-05-20 19:10:50 +02:00
layout layout: Fix several bugs relating to inline borders, padding, and 2015-09-03 10:24:59 -07:00
layout_traits sort all uses 2015-08-20 20:47:12 +08:00
msg Implement viewport functions for window #1718 2015-09-02 00:40:52 +02:00
net net: use connection pooling 2015-09-02 12:46:53 -04:00
net_traits Only use the resource manager's HSTS list. 2015-08-30 12:14:02 +10:00
plugins Auto merge of #7499 - nerith:style, r=metajack 2015-09-02 12:05:58 -06:00
profile Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01) 2015-09-02 09:22:17 +02:00
profile_traits Auto merge of #7179 - connorimes:add-heartbeats, r=larsbergstrom 2015-08-22 17:23:50 -06:00
script Remove unnecessary uses of DOMRefCell. 2015-09-02 15:21:57 -07:00
script_traits Fix existing syntactics nits. 2015-08-16 10:30:43 -04:00
servo Upgrade rust-block to silence warning 2015-09-03 00:00:48 -04:00
style layout: Fix several bugs relating to inline borders, padding, and 2015-09-03 10:24:59 -07:00
util Fix reported test-tidy errors 2015-09-01 16:30:42 -04:00
webdriver_server sort all uses 2015-08-20 20:47:12 +08:00
webdriver_traits Add support for switching frames with the webdriver API. 2015-06-01 23:18:55 +01:00