wip: performance looks good, needs more testing
This commit is contained in:
1 parent
84b5ddded5
commit
4b6ca05f2c
9 files changed
+56
-42
No files matched your search
@@ -429,6 +429,11 @@ impl<'a> NodeFactory<'a> {
|
||||
is_volatile: bool,
|
||||
) -> Attribute<'a> {
|
||||
let (value, is_static) = self.raw_text(val);
|
||||
let is_volatile = match name {
|
||||
"value" | "checked" | "selected" => true,
|
||||
_ => false,
|
||||
};
|
||||
|
||||
Attribute {
|
||||
name,
|
||||
value,
|
||||
|
||||
Reference in new issue
Block a user