diff --git a/tests/wpt/mozilla/meta/css/position_fixed_a.html.ini b/tests/wpt/mozilla/meta/css/position_fixed_a.html.ini deleted file mode 100644 index d632a59e874..00000000000 --- a/tests/wpt/mozilla/meta/css/position_fixed_a.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[position_fixed_a.html] - type: reftest - disabled: https://github.com/servo/servo/issues/9106 diff --git a/tests/wpt/mozilla/tests/css/position_fixed_a.html b/tests/wpt/mozilla/tests/css/position_fixed_a.html index 961613c7f6c..d96cd783298 100644 --- a/tests/wpt/mozilla/tests/css/position_fixed_a.html +++ b/tests/wpt/mozilla/tests/css/position_fixed_a.html @@ -5,6 +5,11 @@ .container { display: block; background: blue; + + /* Use font available on all hosts, instead of system font, + because test reference depends on dynamic sizing, and different + fonts change the required margins. */ + font-family: 'Ahem'; } .fixed_block { background: green; @@ -26,19 +31,13 @@ top: 100px; bottom: 30px; } - .stretched_fixed_block { - position: fixed; - background: black; - top: 100px; - bottom: 30px; - }