mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Keep custom-ident and string separate in animation/keyframes name.
This commit is contained in:
parent
82c04113d0
commit
1146921866
13 changed files with 123 additions and 67 deletions
|
@ -163,6 +163,12 @@ impl WeakAtom {
|
|||
}
|
||||
}
|
||||
|
||||
/// Returns whether this atom is the empty string.
|
||||
#[inline]
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.len() == 0
|
||||
}
|
||||
|
||||
/// Returns the atom as a mutable pointer.
|
||||
#[inline]
|
||||
pub fn as_ptr(&self) -> *mut nsIAtom {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue