mirror of
https://github.com/servo/servo.git
synced 2025-07-30 18:50:36 +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.) |
||
---|---|---|
.. | ||
canvas | ||
compositing | ||
devtools | ||
devtools_traits | ||
gfx | ||
layout | ||
layout_traits | ||
msg | ||
net | ||
net_traits | ||
plugins | ||
profile | ||
script | ||
script_traits | ||
servo | ||
style | ||
util | ||
webdriver_server |