mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Measure heap allocations hanging off selector components.
Bug: 1475191 Reviewed-by: emilio MozReview-Commit-ID: D7vZQ7v8owS
This commit is contained in:
parent
dd277be487
commit
a41127152b
5 changed files with 89 additions and 16 deletions
|
@ -40,7 +40,7 @@ macro_rules! pseudo_class_name {
|
|||
(bare: [$(($css:expr, $name:ident, $gecko_type:tt, $state:tt, $flags:tt),)*],
|
||||
string: [$(($s_css:expr, $s_name:ident, $s_gecko_type:tt, $s_state:tt, $s_flags:tt),)*]) => {
|
||||
/// Our representation of a non tree-structural pseudo-class.
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Debug, Eq, MallocSizeOf, PartialEq)]
|
||||
pub enum NonTSPseudoClass {
|
||||
$(
|
||||
#[doc = $css]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue