/* 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/. */
usecrate::derives::*; usecrate::parser::{Parse, ParserContext}; usecrate::values::computed::corner_shape as computed; usecrate::values::computed::{Context, ToComputedValue}; usecrate::values::specified::Number; use cssparser::{Parser, Token}; use style_traits::{ParseError, StyleParseErrorKind};
/// The argument to the `superellipse()` function. /// /// `superellipse(K)` defines the corner shape using the unit equation /// `x^(2^K) + y^(2^K) = 1`. `infinity` and `-infinity` are accepted as /// special-cased keyword arguments. #[derive(Clone, Debug, MallocSizeOf, PartialEq, SpecifiedValueInfo, ToCss, ToShmem, ToTyped)] #[typed(todo_derive_fields)] pubenum SuperellipseArg { /// `<number>` argument.
Number(Number), /// The `infinity` keyword.
Infinity, /// The `-infinity` keyword (lexed as the literal text `-infinity`). #[css(keyword = "-infinity")]
NegativeInfinity,
}
/// The specified value of `corner-shape`. Stored per-corner. pubtype CornerShapeRect = crate::values::generics::border::GenericCornerShapeRect<CornerShape>;
impl CornerShapeRect { /// Initial value: `round` for all four corners. pubfn round() -> Self { Self::all(CornerShape::Round)
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-08-25)
¤
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.