mirror of
https://github.com/servo/servo.git
synced 2025-07-28 09:40:33 +01:00
This fixes a panic if this code was ever called on an element with a class attribute in a non-null namespace. In this case, the attribute would not have been parsed into a list of tokens, so value_tokens_forever() would have returned None. However, this function is, as far as I can tell, never called, because of the way selectors are evaluated in layout. ('Return the selectors that match this node' rather than 'return the nodes that match this selector'; the latter uses only each_class.) |
||
---|---|---|
.. | ||
dom | ||
parse | ||
build.rs | ||
Cargo.toml | ||
cors.rs | ||
devtools.rs | ||
layout_interface.rs | ||
lib.rs | ||
makefile.cargo | ||
network_listener.rs | ||
page.rs | ||
script_task.rs | ||
textinput.rs | ||
timers.rs |