[librsvg: 1/5] Intro: branch to switch from using Attribute to markup5ever::LocalName.



commit 88978f7513520528770acb0faf2f446979d05349
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue May 14 15:03:55 2019 -0500

    Intro: branch to switch from using Attribute to markup5ever::LocalName.
    
    Attribute is librsvg's generated perfect hash function of attribute
    names and CSS property names.
    
    markup5ever::LocalName is the same, but also adds element names.
    Basically, any name used in HTML/SVG is already present there.
    
    LocalName also has the bijective mapping between strings and atoms
    that librsvg lacked.
    
    This is to have a unified representation of "cacheable" names, which
    also matches well with how the rust-selectors crate wants to do things.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]