mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix inheritance.sub.html WPT to work on Servo (#31534)
This commit is contained in:
parent
0748579803
commit
a5a0e1cb3c
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
|
||||
|
|
|
@ -522299,7 +522299,7 @@
|
|||
]
|
||||
],
|
||||
"inheritance.sub.html": [
|
||||
"01bb8422991ee48da525087d5462c380c5eb8b84",
|
||||
"8af2dada5217ccf1b59620ab400afba052ff460f",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
[inheritance.sub.html]
|
||||
[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
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue