mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 1485951 - Adjust an assertion to account for the changes from bug 1485930. r=me
This commit is contained in:
parent
44843cf2d7
commit
385e2369c5
@ -257,7 +257,7 @@ impl PseudoElement {
|
||||
/// Returns `None` if the pseudo-element is not recognized.
|
||||
#[inline]
|
||||
pub fn tree_pseudo_element(name: &str, args: Box<[Atom]>) -> Option<Self> {
|
||||
debug_assert!(name.starts_with("-moz-tree-"));
|
||||
debug_assert!(starts_with_ignore_ascii_case(name, "-moz-tree-"));
|
||||
let tree_part = &name[10..];
|
||||
% for pseudo in TREE_PSEUDOS:
|
||||
if tree_part.eq_ignore_ascii_case("${pseudo.value[11:]}") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user