mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add test for https://bugzilla.mozilla.org/show_bug.cgi?id=1345483
This commit is contained in:
parent
c11d398010
commit
83c820e5b1
3 changed files with 28 additions and 0 deletions
|
@ -11024,6 +11024,12 @@
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"css/bug_1345483.html": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/bug_1345483.html",
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
"css/empty-keyframes.html": [
|
"css/empty-keyframes.html": [
|
||||||
[
|
[
|
||||||
"/_mozilla/css/empty-keyframes.html",
|
"/_mozilla/css/empty-keyframes.html",
|
||||||
|
@ -20613,6 +20619,10 @@
|
||||||
"2ebf9c8f963a2f3971a3c1b64b6b01825eacdedc",
|
"2ebf9c8f963a2f3971a3c1b64b6b01825eacdedc",
|
||||||
"support"
|
"support"
|
||||||
],
|
],
|
||||||
|
"css/bug_1345483.html": [
|
||||||
|
"d5e1649c88102f27da5fe1ac16715cfee7f70f84",
|
||||||
|
"testharness"
|
||||||
|
],
|
||||||
"css/button_css_width.html": [
|
"css/button_css_width.html": [
|
||||||
"bb88fcb6c5856a1f5199599938e1b9c84aa8ea77",
|
"bb88fcb6c5856a1f5199599938e1b9c84aa8ea77",
|
||||||
"reftest"
|
"reftest"
|
||||||
|
|
3
tests/wpt/mozilla/meta/css/bug_1345483.html.ini
Normal file
3
tests/wpt/mozilla/meta/css/bug_1345483.html.ini
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[bug_1345483.html]
|
||||||
|
type: testharness
|
||||||
|
expected: CRASH
|
15
tests/wpt/mozilla/tests/css/bug_1345483.html
Normal file
15
tests/wpt/mozilla/tests/css/bug_1345483.html
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<!doctype html>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title></title>
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script>
|
||||||
|
test(function() {
|
||||||
|
var style = document.documentElement.style;
|
||||||
|
style.marginTop = "0";
|
||||||
|
assert_equals(style.marginTop, "0px");
|
||||||
|
style.margin = null; // This fails to unset a bit in a LonghandIdSet
|
||||||
|
assert_equals(style.marginTop, "");
|
||||||
|
style.marginTop = null; // This finds the bit and expect to find a corresponding declarations.
|
||||||
|
}, "regression for bug 1345483")
|
||||||
|
</script>
|
Loading…
Add table
Add a link
Reference in a new issue