style: Fix namespace handling during keyframe parsing.

This commit is contained in:
Emilio Cobos Álvarez 2017-08-18 16:34:55 +02:00
parent a962c54928
commit 62d42a090b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 10 additions and 10 deletions

View file

@ -1509,10 +1509,6 @@ pub extern "C" fn Servo_KeyframesRule_AppendRule(
let contents = StylesheetContents::as_arc(&contents);
let global_style_data = &*GLOBAL_STYLE_DATA;
// FIXME(emilio): What happens with namespaces here?
//
// We seem to ignore it, but someone could still set content: attr(..) from
// a declaration inside the keyframe block.
match Keyframe::parse(css, &contents, &global_style_data.shared_lock) {
Ok(keyframe) => {
write_locked_arc(rule, |rule: &mut KeyframesRule| {