Repository navigation
style: Split style resolution and dynamic change computation. - #17688
Merged
Merged
Conversation
MozReview-Commit-ID: HkTtrV5CcF0
MozReview-Commit-ID: yHldvHm87b
…yle data. This is unfortunate, but for now it complicates things, I would like not needing a ElementData to get the style of an Element in order to fix all the getDefaultComputedStyle bugs. MozReview-Commit-ID: LZvsdFEqrDE
…nter. There's no reason it wasn't done before. MozReview-Commit-ID: G0lMLWmfHbS
This still doesn't make use of it so far, but I prefer introducing it atomically, then introduce its usage. MozReview-Commit-ID: 9dRUsl3srHp
Removing the ugly. MozReview-Commit-ID: BvahbMKS7QU
…ng changes. MozReview-Commit-ID: 4BzjbLbFebF
…element. Before this refactoring, getComputedStyle could have side effects, and left the style data in the element, so we could never arrive there without data. There are a few crashtests that caught this, but this was already broken if you called animate() on an element deep in a display: none subtree. MozReview-Commit-ID: 1AvOvhAyOP3
Yay MozReview-Commit-ID: JiWTEz63AlE
They're unused now. We can add them back if needed. MozReview-Commit-ID: 92Y2Na0ZbVn
|
Heads up! This PR modifies the following files:
|
Member
Author
|
@bors-servo r=heycam,BorisChiou p=10 |
Contributor
|
📌 Commit e24d81d has been approved by |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Jul 12, 2017
…hiou style: Split style resolution and dynamic change computation. This is the Servo side of Mozilla bug 1379505.
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 |
2 of 5 tasks
bors-servo
pushed a commit
that referenced
this pull request
Jul 14, 2017
style: Kill some style sharing code. It's trivial to do so after #17688. <!-- 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/17713) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this pull request
Jul 14, 2017
style: Kill some style sharing code. It's trivial to do so after #17688. <!-- 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/17713) <!-- Reviewable:end -->
This file contains hidden or 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
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 the Servo side of Mozilla bug 1379505.
This change is