mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
auto merge of #4264 : Ms2ger/servo/panic, r=jdm
This commit is contained in:
commit
507fdbeb6d
1 changed files with 2 additions and 1 deletions
|
@ -639,7 +639,8 @@ impl<'a> AttributeHandlers for JSRef<'a, Element> {
|
|||
Some(attribute) => {
|
||||
match *attribute.value() {
|
||||
UIntAttrValue(_, value) => value,
|
||||
_ => panic!("Expected a UIntAttrValue"),
|
||||
_ => panic!("Expected a UIntAttrValue: \
|
||||
implement parse_plain_attribute"),
|
||||
}
|
||||
}
|
||||
None => 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue