Permalink
Browse files

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 -->
  • Loading branch information...
bors-servo committed Jul 11, 2018
2 parents a4e8164 + 5e43fe3 commit 95d47f0f23101ff9a48725ca05791ba3fc59e8ba
Showing with 2 additions and 0 deletions.
  1. +2 −0 components/style/values/specified/box.rs
@@ -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,

0 comments on commit 95d47f0

Please sign in to comment.