mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
* Enable `css-text` explicitly in include.ini The WPT test runner has some strange logic for determining the key's value for a node like `[css]` or `[css-text]`. In this logic, if the node doesn't have an explicit value for a key (here `skip`), then the implicit root node's setting (i.e key/value pair at the top of the file that is not nested under a heading) is used as the default fallback value [1]. Only when the implicit root node doesn't have an explicit value set does the logic starts looking at the current node's parent [2]. In our case, in `include.ini` the default value for `skip` is `true` as that is the first line in the file. Since `[css-text]` doesn't have `skip` set explicitly, the default value of `true` is used even though the parent's value is `false`. [1]:2bafcf9f18/tests/wpt/tests/tools/wptrunner/wptrunner/wptmanifest/backends/conditional.py (L265)[2]:2bafcf9f18/tests/wpt/tests/tools/wptrunner/wptrunner/manifestinclude.py (L59)Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Update text expectations --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
13 lines
410 B
INI
13 lines
410 B
INI
[letter-spacing-valid.html]
|
|
[e.style['letter-spacing'\] = "120%" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['letter-spacing'\] = "-10%" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['letter-spacing'\] = "calc(2ch - 30%)" should set the property value]
|
|
expected: FAIL
|
|
|
|
[e.style['letter-spacing'\] = "calc(40% + 50px)" should set the property value]
|
|
expected: FAIL
|