Files
servo/components/layout
bors-servo ea214e9bc3 Auto merge of #20752 - pyfisch:backgrounds42, r=emilio
Fix crash in DL building

Fix one crash and some style changes.

This HTML crashed servo before. Key parts are `background-clip: content-box` and `direction: rtl`

```html
<!DOCTYPE html>
<html>
    <style>
        #span1 {
            background-clip: content-box;
        }
        #span2
        {
            direction: rtl;
        }
    </style>
    <span id="span1">Filler Text <span id="span2">txeT relliF</span></span>
</html>
```
Should I add this as a test? And where do I put this "does-it-crash?" test?

I find always passing rectangles by value a lot easier as it avoids many references and dereferences and I assume that the compiler will always use the faster one either way. If you don't like the change feel free to only merge the first commit.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20752)
<!-- Reviewable:end -->
2018-05-19 11:02:01 -04:00
..
2018-01-20 15:33:39 +01:00
2018-05-05 17:19:06 +02:00
2018-04-22 13:13:45 +02:00
2018-04-25 10:25:21 +02:00
2018-05-19 10:15:17 +02:00
2018-04-22 13:13:45 +02:00
2017-08-23 21:38:44 +02:00
2018-04-22 13:13:45 +02:00
2018-05-19 10:15:17 +02:00
2018-04-28 10:26:47 +02:00
2018-04-22 13:13:45 +02:00
2018-05-19 10:15:17 +02:00