mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Correct a variety of documentation issues (#34786)
Fix some warnings in documentation as well as some faulty documentation introduced in #34776. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
3aa9e00e4e
commit
93ae8d22fc
11 changed files with 20 additions and 19 deletions
|
@ -522,7 +522,7 @@ fn process_offset_parent_query_inner(
|
|||
/// is eligible to be a parent element for offset* queries.
|
||||
///
|
||||
/// From <https://www.w3.org/TR/cssom-view-1/#dom-htmlelement-offsetparent>:
|
||||
/// >
|
||||
///
|
||||
/// > Return the nearest ancestor element of the element for which at least one of the following is
|
||||
/// > true and terminate this algorithm if such an ancestor is found:
|
||||
/// > 1. The computed value of the position property is not static.
|
||||
|
|
|
@ -8,7 +8,7 @@ use style::properties::ComputedValues;
|
|||
|
||||
use super::convert;
|
||||
|
||||
/// A wrapper struct for anything that Deref's to a [`stylo::ComputedValues`], which
|
||||
/// A wrapper struct for anything that Deref's to a [`ComputedValues`], which
|
||||
/// implements Taffy's layout traits and can used with Taffy's layout algorithms.
|
||||
pub struct TaffyStyloStyle<T: Deref<Target = ComputedValues>>(pub T);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue