mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
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>
This commit is contained in:
parent
e85491b5fc
commit
ad45fa0a19
7 changed files with 285 additions and 195 deletions
|
@ -1,3 +0,0 @@
|
|||
[fail-to-resolve.html]
|
||||
[<img srcset="//[, /images/red.png">]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue