Skip to content

Commit

Permalink
Add test for background crash
Browse files Browse the repository at this point in the history
  • Loading branch information
pyfisch committed May 18, 2018
1 parent ee38fd6 commit 89af7cb
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/wpt/mozilla/meta/MANIFEST.json
Expand Up @@ -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",
Expand Down Expand Up @@ -7423,6 +7435,11 @@
{}
]
],
"css/background_border_padding_crash-ref.html": [
[
{}
]
],
"css/background_clip_ref.html": [
[
{}
Expand Down Expand Up @@ -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"
Expand Down
@@ -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>
15 changes: 15 additions & 0 deletions tests/wpt/mozilla/tests/css/background_border_padding_crash.html
@@ -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>

0 comments on commit 89af7cb

Please sign in to comment.