servo/tests/unit/script
Kopanov Anton ad45fa0a19
script: Fix panic in htmlimageelement.rs using str::find() to find character boundaries. (#32980)
* fix loop with chars().enumerate() by using find()

Signed-off-by: Kopanov Anton <anton.kopanov@ya.ru>

* Add documentation to parser and fix some small issues

- Rename the properties of `Descriptor` so that they are full words
- Use the Rust-parser to parse doubles
- Add documentation and restructure parser to be more readable

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

---------

Signed-off-by: Kopanov Anton <anton.kopanov@ya.ru>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-08-24 08:22:39 +00:00
..
Cargo.toml Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
headers.rs Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
htmlareaelement.rs Format remaining files 2018-11-06 22:30:31 +01:00
htmlimageelement.rs script: Fix panic in htmlimageelement.rs using str::find() to find character boundaries. (#32980) 2024-08-24 08:22:39 +00:00
lib.rs Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
origin.rs Update MPL license to https (part 5) 2018-11-27 19:09:17 +01:00
size_of.rs script: Split style and layout data in DOM nodes (#31985) 2024-04-04 07:56:51 +00:00
textinput.rs Allow deletion from overflowed textinput 2020-01-10 19:02:41 +01:00
timeranges.rs Fixed some clippy warning by adding default implementations (#31989) 2024-04-04 09:33:30 +00:00