New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stylo: Bug 1357357 - Make the parser of transition-property match the spec. #16614
stylo: Bug 1357357 - Make the parser of transition-property match the spec. #16614
Conversation
Heads up! This PR modifies the following files:
|
@bors-servo r=emilio |
📌 Commit e647a1a has been approved by |
…y, r=emilio stylo: Bug 1357357 - Make the parser of transition-property match the spec. These are interdependent patches of Bug 1357357. We add one more arm, TransitionProperty::Unsupported, which stores the string of non-animatable, custom, or unrecognized property, so we can parse these kinds of properties and serialize them correctly. This is necessary because we need to start transitions even though some transition-properties are non-animatable, custom, or unrecognized. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug 1357357](https://bugzilla.mozilla.org/show_bug.cgi?id=1357357). - [X] There are tests for these changes. <!-- 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/16614) <!-- Reviewable:end -->
The commits should be squashed... |
OK, I will squash them |
Thanks! Didn't want to r- for this. |
e647a1a
to
7ff4042
Compare
@bors-servo r=emilio squash commits. |
📌 Commit 7ff4042 has been approved by |
⌛ Testing commit 7ff4042 with merge 1522645ec4429d961fb92a9a223968c2b27e7f76... |
7ff4042
to
0c704e7
Compare
@bors-servo r=emilio Fix the commit message. |
📌 Commit 0c704e7 has been approved by |
…y, r=emilio stylo: Bug 1357357 - Make the parser of transition-property match the spec. These are interdependent patches of Bug 1357357. We add one more arm, TransitionProperty::Unsupported, which stores the string of non-animatable, custom, or unrecognized property, so we can parse these kinds of properties and serialize them correctly. This is necessary because we need to start transitions even though some transition-properties are non-animatable, custom, or unrecognized. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug 1357357](https://bugzilla.mozilla.org/show_bug.cgi?id=1357357). - [X] There are tests for these changes. <!-- 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/16614) <!-- Reviewable:end -->
💔 Test failed - linux-rel-css |
0c704e7
to
5ad3da2
Compare
@bors-servo r=emilio Fix test failures. (I forgot to filter out unsupported cases in animation.rs.) |
📌 Commit 5ad3da2 has been approved by |
@bors-servo p=1 |
…y, r=emilio stylo: Bug 1357357 - Make the parser of transition-property match the spec. These are interdependent patches of Bug 1357357. We add one more arm, TransitionProperty::Unsupported, which stores the string of non-animatable, custom, or unrecognized property, so we can parse these kinds of properties and serialize them correctly. This is necessary because we need to start transitions even though some transition-properties are non-animatable, custom, or unrecognized. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug 1357357](https://bugzilla.mozilla.org/show_bug.cgi?id=1357357). - [X] There are tests for these changes. <!-- 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/16614) <!-- Reviewable:end -->
💔 Test failed - linux-rel-css |
1. We add a new arm to TransitionProperty, TransitionProperty::Unsupported, which contains an Atom, so it's better to remove the Copy trait from TransitionProperty. 2. TransitionProperty::Unsupported(Atom) represents any non-animatable, custom, or unrecognized property, and we use Atom to store the ident string for serialization.
5ad3da2
to
02fc178
Compare
@bors-servo r=emilio Fix shorthand order. |
📌 Commit 02fc178 has been approved by |
…y, r=emilio stylo: Bug 1357357 - Make the parser of transition-property match the spec. These are interdependent patches of Bug 1357357. We add one more arm, TransitionProperty::Unsupported, which stores the string of non-animatable, custom, or unrecognized property, so we can parse these kinds of properties and serialize them correctly. This is necessary because we need to start transitions even though some transition-properties are non-animatable, custom, or unrecognized. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug 1357357](https://bugzilla.mozilla.org/show_bug.cgi?id=1357357). - [X] There are tests for these changes. <!-- 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/16614) <!-- Reviewable:end -->
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev |
These are interdependent patches of Bug 1357357. We add one more arm, TransitionProperty::Unsupported, which stores the string of non-animatable, custom, or unrecognized property, so we can parse these kinds of properties and serialize them correctly. This is necessary because we need to start transitions even though some transition-properties are non-animatable, custom, or unrecognized.
./mach build -d
does not report any errors./mach test-tidy
does not report any errorsThis change is