mirror of
https://github.com/servo/servo.git
synced 2025-09-01 02:28:21 +01:00
layout: capitalize string for TextTransformCase::Capitalize
in fn rendered_text_collection_steps
(#37486)
Previously, `rendered_text_collection_steps` ignores `TextTransformCase::Capitalize` due to limitation of iterator. Now we handle the case outside. Testing: Added a new test as not covered by existing wpt-test, except for the indirectly related WebDriver test. `./mach test-wpt -r tests\wpt\tests\webdriver\tests\classic\get_element_text\get.py --product servodriver` Fixes: #37469 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
910cc0b687
commit
f60e9cdff5
6 changed files with 87 additions and 16 deletions
7
tests/wpt/meta/MANIFEST.json
vendored
7
tests/wpt/meta/MANIFEST.json
vendored
|
@ -612692,6 +612692,13 @@
|
|||
]
|
||||
]
|
||||
},
|
||||
"text-transform-capitalize-036.html": [
|
||||
"a47dc35b949b56c734a0090c9c7a4932c745c4cf",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"text-transform-upperlower-107.html": [
|
||||
"791edd14c0e144a945b4766a338725bca13da6bd",
|
||||
[
|
||||
|
|
3
tests/wpt/meta/css/css-text/text-transform/text-transform-capitalize-036.html.ini
vendored
Normal file
3
tests/wpt/meta/css/css-text/text-transform/text-transform-capitalize-036.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[text-transform-capitalize-036.html]
|
||||
[text-transform: capitalize test for not starting at word boundary]
|
||||
expected: FAIL
|
|
@ -5,15 +5,6 @@
|
|||
[test_no_such_element_with_shadow_root]
|
||||
expected: FAIL
|
||||
|
||||
[test_transform_capitalize[space\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_transform_capitalize[dash\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_transform_capitalize[underscore\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_shadow_root_slot[custom outside\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue