Skip to content

style: Move clear CSS property outside mako - #21156

Merged
bors-servo merged 1 commit into
servo:masterfrom
kleinph:move-clear-outside-mako
Jul 10, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
kleinph:move-clear-outside-mako

Conversation

@kleinph

@kleinph kleinph commented Jul 10, 2018 •

Copy link
Copy Markdown
Contributor

This is part of issue #19015.

  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

@highfive

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @mbrubeck (or someone else) soon.

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @emilio: components/style/values/specified/box.rs, components/style/values/computed/box.rs, components/style/values/specified/mod.rs, components/style/properties/longhands/box.mako.rs, components/style/values/computed/mod.rs

@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 10, 2018
}
}

#[allow(missing_docs)]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about having the spec url (https://drafts.csswg.org/css-box/#propdef-clear) for enum Clear and removing this #[allow(missing_docs)]?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a doc comment for the enum, but I don't think it's worth to have comments for the variants.

@emilio emilio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks amazing, thanks again for this!

}
}

#[allow(missing_docs)]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a doc comment for the enum, but I don't think it's worth to have comments for the variants.

@emilio

emilio commented Jul 10, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 85af414 has been approved by emilio

@highfive highfive assigned emilio and unassigned mbrubeck Jul 10, 2018
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 10, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 85af414 with merge f66c9b6...

bors-servo pushed a commit that referenced this pull request Jul 10, 2018
style: Move `clear` CSS property outside mako

This is part of issue #19015.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21155

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/21156)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css1

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 10, 2018
@kleinph

kleinph commented Jul 10, 2018

Copy link
Copy Markdown
Contributor Author

Looks amazing, thanks again for this!

Thanks again!

Should I add the doc comment for the specified enum?

@jdm

jdm commented Jul 10, 2018

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only mac-rel-css1...

@emilio

emilio commented Jul 10, 2018

Copy link
Copy Markdown
Member

Should I add the doc comment for the specified enum?

That'd be nice if you want to! Maybe as a followup PR if CI is fine with this one? :)

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: emilio
Pushing f66c9b6 to master...

@bors-servo
bors-servo merged commit 85af414 into servo:master Jul 10, 2018
@kleinph
kleinph deleted the move-clear-outside-mako branch July 10, 2018 17:15
bors-servo pushed a commit that referenced this pull request Jul 11, 2018
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 -->
bors-servo pushed a commit that referenced this pull request Jul 11, 2018
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 -->
bors-servo pushed a commit that referenced this pull request Jul 12, 2018
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 -->
bors-servo pushed a commit that referenced this pull request Jul 16, 2018
MozReview-Commit-ID: FbN0hiUGzYa
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 16, 2018
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <[email protected]>

MozReview-Commit-ID: CLZN4FdUvDN
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 17, 2018
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <[email protected]>

MozReview-Commit-ID: CLZN4FdUvDN
xeonchen pushed a commit to xeonchen/gecko-cinnabar that referenced this pull request Jul 17, 2018
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <[email protected]>

MozReview-Commit-ID: CLZN4FdUvDN
xeonchen pushed a commit to xeonchen/gecko-cinnabar that referenced this pull request Jul 17, 2018
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <[email protected]>

MozReview-Commit-ID: CLZN4FdUvDN
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <emiliocrisal.io>

MozReview-Commit-ID: CLZN4FdUvDN

UltraBlame original commit: 62293a989ed23d16194315a37bed2b19dd6aec46
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <emiliocrisal.io>

MozReview-Commit-ID: CLZN4FdUvDN

UltraBlame original commit: fb59c8181fc969659ce9727af15d36cd86ac7ccb
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <emiliocrisal.io>

MozReview-Commit-ID: CLZN4FdUvDN

UltraBlame original commit: 62293a989ed23d16194315a37bed2b19dd6aec46
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <emiliocrisal.io>

MozReview-Commit-ID: CLZN4FdUvDN

UltraBlame original commit: fb59c8181fc969659ce9727af15d36cd86ac7ccb
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <emiliocrisal.io>

MozReview-Commit-ID: CLZN4FdUvDN

UltraBlame original commit: 62293a989ed23d16194315a37bed2b19dd6aec46
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <emiliocrisal.io>

MozReview-Commit-ID: CLZN4FdUvDN

UltraBlame original commit: fb59c8181fc969659ce9727af15d36cd86ac7ccb
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <[email protected]>

MozReview-Commit-ID: CLZN4FdUvDN
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
Imports servo/servo#21156.
Signed-off-by: Emilio Cobos Álvarez <[email protected]>

MozReview-Commit-ID: CLZN4FdUvDN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

style: Move clear outside mako

7 participants