mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add doc comments to specified float
and clear
CSS property
This commit is contained in:
parent
f66c9b6160
commit
5e43fe330d
1 changed files with 2 additions and 0 deletions
|
@ -833,6 +833,7 @@ impl TransitionProperty {
|
|||
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
||||
SpecifiedValueInfo, ToCss)]
|
||||
/// https://drafts.csswg.org/css-box/#propdef-float
|
||||
pub enum Float {
|
||||
Left,
|
||||
Right,
|
||||
|
@ -846,6 +847,7 @@ pub enum Float {
|
|||
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
||||
SpecifiedValueInfo, ToCss)]
|
||||
/// https://drafts.csswg.org/css-box/#propdef-clear
|
||||
pub enum Clear {
|
||||
None,
|
||||
Left,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue