Skip to content

Commit

Permalink
Fix inheritance.sub.html WPT to work on Servo
Browse files Browse the repository at this point in the history
  • Loading branch information
azharcodeit authored and Loirooriol committed Mar 8, 2024
1 parent 6005049 commit f840c5b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 29 deletions.
@@ -1,21 +1,6 @@
[inheritance.sub.html]
[Inheritance of CSS Backgrounds and Borders properties]
expected: FAIL

[Property background-position has initial value 0% 0%]
expected: FAIL

[Property background-position does not inherit]
expected: FAIL

[Property border-bottom-width has initial value undefined]
expected: FAIL

[Property border-left-width has initial value undefined]
expected: FAIL

[Property border-right-width has initial value undefined]
expected: FAIL

[Property border-top-width has initial value undefined]
expected: FAIL
2 changes: 1 addition & 1 deletion tests/wpt/meta/MANIFEST.json
Expand Up @@ -522299,7 +522299,7 @@
]
],
"inheritance.sub.html": [
"01bb8422991ee48da525087d5462c380c5eb8b84",
"8af2dada5217ccf1b59620ab400afba052ff460f",
[
null,
{}
Expand Down
12 changes: 0 additions & 12 deletions tests/wpt/meta/css/css-backgrounds/inheritance.sub.html.ini

This file was deleted.

2 changes: 1 addition & 1 deletion tests/wpt/tests/css/css-backgrounds/inheritance.sub.html
Expand Up @@ -31,7 +31,7 @@
</style>
<script>
const transparentColor = 'rgba(0, 0, 0, 0)'; // https://www.w3.org/TR/css-color-3/#transparent
const mediumWidth = getComputedStyle(document.getElementById('reference')).columnRuleWidth; // e.g. 3px
const mediumWidth = '3px'; // https://www.w3.org/TR/css-backgrounds-3/#valdef-line-width-medium
const currentColor = 'rgb(2, 3, 4)';
container.style.color = currentColor;

Expand Down

0 comments on commit f840c5b

Please sign in to comment.