mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix typo for PresentationalHintsSynthesizer
This commit is contained in:
parent
d5efed6c6a
commit
dd5f73750c
5 changed files with 13 additions and 13 deletions
|
@ -267,7 +267,7 @@ pub unsafe fn raw_note_descendants<E, B>(element: E) -> bool
|
|||
}
|
||||
|
||||
/// A trait used to synthesize presentational hints for HTML element attributes.
|
||||
pub trait PresentationalHintsSynthetizer {
|
||||
pub trait PresentationalHintsSynthesizer {
|
||||
/// Generate the proper applicable declarations due to presentational hints,
|
||||
/// and insert them into `hints`.
|
||||
fn synthesize_presentational_hints_for_legacy_attributes<V>(&self, hints: &mut V)
|
||||
|
@ -290,7 +290,7 @@ impl AnimationRules {
|
|||
|
||||
/// The element trait, the main abstraction the style crate acts over.
|
||||
pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
|
||||
ElementExt + PresentationalHintsSynthetizer {
|
||||
ElementExt + PresentationalHintsSynthesizer {
|
||||
/// The concrete node type.
|
||||
type ConcreteNode: TNode<ConcreteElement = Self>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue