Repository navigation
Update style attributes on CSSStyleDeclaration changes - #11377
Merged
Merged
Conversation
Member
Author
|
@bors-servo r+ |
Contributor
|
📌 Commit acdec87 has been approved by |
Contributor
|
☔ The latest upstream changes (presumably #11287) made this pull request unmergeable. Please resolve the merge conflicts. |
from cssstyledeclaration.rs file For PropertyDeclaration impl, added shorthands method to get the shorthands associated with the current longhand For PropertyDeclarationBlock impl, added serialize algorithm
…essary calls to document.content_changed
… when inline style is changed
…g to string buffers to save string allocations for every result
… to handle shorthand serialization better
…order to avoid reparsing serialized output
SimonSapin
force-pushed
the
style-attr-ser-rebase
branch
from
May 25, 2016 07:32
acdec87 to
ff5cfb1
Compare
Member
Author
|
@bors-servo r+ |
Contributor
|
📌 Commit ff5cfb1 has been approved by |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
May 25, 2016
Update style attributes on CSSStyleDeclaration changes Rebase of #9410. Fixes #9410, fixes #9307. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11377) <!-- Reviewable:end -->
Contributor
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows |
Contributor
|
Thank you @craftytrickster |
This was referenced May 25, 2016
|
Just a quick heads up: If you're looking at dynamic changes to the style attribute, depending on what else you have implemented already, this may be a good time to have a look at https://drafts.csswg.org/css-ui-3/#resize, since it works by modifying the style attribute. |
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.
Rebase of #9410. Fixes #9410, fixes #9307.
This change is