mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement element.innerText getter
This commit is contained in:
parent
0d7c2271c2
commit
2a4535f43e
16 changed files with 844 additions and 16 deletions
|
@ -357,7 +357,7 @@ impl Element {
|
|||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-view/#css-layout-box
|
||||
fn has_css_layout_box(&self) -> bool {
|
||||
pub fn has_css_layout_box(&self) -> bool {
|
||||
self.style()
|
||||
.map_or(false, |s| !s.get_box().clone_display().is_none())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue