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
Animation rules in normal restyle #17014
Merged
bors-servo
merged 6 commits into
servo:master
from
hiikezoe:animation-rules-in-norma-restyle
May 24, 2017
Merged
Animation rules in normal restyle #17014
bors-servo
merged 6 commits into
servo:master
from
hiikezoe:animation-rules-in-norma-restyle
May 24, 2017
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… restyles for normal restyle. In the case where we process an element which has SMIL animations in normal travesal the SMIL styles must have been computed in animation-only restyles. So we have only to pick the computed styles instead of recomputing it.
…estyle for normal restyle.
In case of ::before and ::after element, the generated content has no ElementHasAnimations flag, their parent has the flag.
Heads up! This PR modifies the following files:
|
highfive
added
the
S-awaiting-review
There is new code that needs to be reviewed.
label
May 24, 2017
@bors-servo r=emilio |
📌 Commit fce7c2d has been approved by |
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
May 24, 2017
I probably made a mistake during rebasing. |
oops, I saw a different try result.. |
We only use whether the return value is IMPORTANT_RULES_CHANGED or not, so we can just return true if an important rules was changed in the function. Also, we can just return false in case of animation rules changes sine for animation we can ensure there is no importan rules. Because of these changes, replace_rule_node does not borrow |result| so that we can drop a scope there.
highfive
added
S-awaiting-review
There is new code that needs to be reviewed.
and removed
S-awaiting-merge
The PR is in the process of compiling and running tests on the automated CI.
labels
May 24, 2017
@bors-servo r=emilio,birtles |
📌 Commit 976b3ba has been approved by |
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
May 24, 2017
nox
changed the title
Animation rules in norma restyle
Animation rules in normal restyle
May 24, 2017
Manishearth
added a commit
to Manishearth/servo
that referenced
this pull request
May 24, 2017
…le, r=emilio,birtles Animation rules in norma restyle <!-- Please describe your changes on the following line: --> This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1366631 and https://bugzilla.mozilla.org/show_bug.cgi?id=1367225 - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because it's for stylo <!-- 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/17014) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this pull request
May 24, 2017
Rollup of 9 pull requests - Successful merges: #16993, #17000, #17010, #17013, #17014, #17017, #17019, #17020, #17022 - Failed merges: <!-- 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/17027) <!-- Reviewable:end -->
highfive
removed
the
S-awaiting-merge
The PR is in the process of compiling and running tests on the automated CI.
label
May 24, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1366631 and https://bugzilla.mozilla.org/show_bug.cgi?id=1367225
./mach build -d
does not report any errors./mach test-tidy
does not report any errorsThis change is