/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! Generic types for box properties.
usecrate::values::animated::ToAnimatedZero; use std::fmt::{self, Write}; use style_traits::{CssWriter, ToCss};
/// Note that we only implement -webkit-line-clamp as a single, longhand /// property for now, but the spec defines line-clamp as a shorthand for /// separate max-lines, block-ellipsis, and continue properties. /// /// https://drafts.csswg.org/css-overflow-3/#line-clamp #[derive(
Clone,
ComputeSquaredDistance,
Copy,
Debug,
MallocSizeOf,
PartialEq,
SpecifiedValueInfo,
ToComputedValue,
ToAnimatedValue,
ToAnimatedZero,
ToResolvedValue,
ToShmem,
)] #[repr(transparent)] #[value_info(other_values = "none")] pubstruct GenericLineClamp<I>(pub I);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.