mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #21159 - kleinph:doc-specified-float-clear, r=jdm
Add doc comments to specified `float` and `clear` CSS properties As discussed in #21156. I also added the doc comment to `float`. - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ No tests needed as this in only a doc change. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21159) <!-- Reviewable:end -->
This commit is contained in:
commit
4dfb41fdb3
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