Add test for background crash

This commit is contained in:
Pyfisch 2018-05-06 11:04:22 +02:00
parent ee38fd6f0a
commit 89af7cbf55
3 changed files with 45 additions and 0 deletions

View file

@ -307,6 +307,18 @@
{}
]
],
"css/background_border_padding_crash.html": [
[
"/_mozilla/css/background_border_padding_crash.html",
[
[
"/_mozilla/css/background_border_padding_crash-ref.html",
"=="
]
],
{}
]
],
"css/background_clip_a.html": [
[
"/_mozilla/css/background_clip_a.html",
@ -7423,6 +7435,11 @@
{}
]
],
"css/background_border_padding_crash-ref.html": [
[
{}
]
],
"css/background_clip_ref.html": [
[
{}
@ -60140,6 +60157,14 @@
"a85620b9a57b3cb46b7629b7a8fead6417d2dd28",
"reftest"
],
"css/background_border_padding_crash-ref.html": [
"eae17c2be5646f7fa1dc26e5a28a89c527da00e6",
"support"
],
"css/background_border_padding_crash.html": [
"600d0c014aabfe13f09dec11757d5d7740a5ba74",
"reftest"
],
"css/background_clip_a.html": [
"e2d43d67ea0485e171fc1280498ac68a483e881a",
"reftest"

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<html>
<title>Assure that different writing modes do not crash background building in Servo</title>
<span>Filler Text txeT relliF</span>
</html>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<title>Assure that different writing modes do not crash background building in Servo</title>
<link rel=match href=background_border_padding_crash-ref.html>
<style>
#span1 {
background-clip: content-box;
}
#span2
{
direction: rtl;
}
</style>
<span id="span1">Filler Text <span id="span2">txeT relliF</span></span>
</html>