mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Get the fundamentals of the HTMLDetailsElement rendering stuff working.
Still need to implement the style invalidation. Part of #9395
This commit is contained in:
parent
e551ea7322
commit
9d9c5398a8
13 changed files with 294 additions and 27 deletions
|
@ -536,6 +536,8 @@ pub fn process_resolved_style_request<N: LayoutNode>(
|
|||
let layout_node = match pseudo {
|
||||
&Some(PseudoElement::Before) => layout_node.get_before_pseudo(),
|
||||
&Some(PseudoElement::After) => layout_node.get_after_pseudo(),
|
||||
&Some(PseudoElement::DetailsSummary) => layout_node.get_details_summary_pseudo(),
|
||||
&Some(PseudoElement::DetailsContent) => layout_node.get_details_content_pseudo(),
|
||||
_ => Some(layout_node)
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue