mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +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))]
|
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
||||||
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
||||||
SpecifiedValueInfo, ToCss)]
|
SpecifiedValueInfo, ToCss)]
|
||||||
|
/// https://drafts.csswg.org/css-box/#propdef-float
|
||||||
pub enum Float {
|
pub enum Float {
|
||||||
Left,
|
Left,
|
||||||
Right,
|
Right,
|
||||||
|
@ -846,6 +847,7 @@ pub enum Float {
|
||||||
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
||||||
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
||||||
SpecifiedValueInfo, ToCss)]
|
SpecifiedValueInfo, ToCss)]
|
||||||
|
/// https://drafts.csswg.org/css-box/#propdef-clear
|
||||||
pub enum Clear {
|
pub enum Clear {
|
||||||
None,
|
None,
|
||||||
Left,
|
Left,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue