mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Use map_or and fix manifest
This commit is contained in:
parent
ab2aeb6d97
commit
25c5a4c045
4 changed files with 25 additions and 9 deletions
|
@ -774,6 +774,7 @@ impl HTMLElement {
|
|||
.count() as u32
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#the-directionality.
|
||||
// returns Some if can infer direction by itself or from child nodes
|
||||
// returns None if requires to go up to parent
|
||||
pub fn directionality(&self) -> Option<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue