Skip to content

Update style attributes on CSSStyleDeclaration changes - #11377

Merged
bors-servo merged 14 commits into
masterfrom
style-attr-ser-rebase
May 25, 2016
Merged

bors-servo merged 14 commits into
masterfrom
style-attr-ser-rebase

Conversation

@SimonSapin

@SimonSapin SimonSapin commented May 24, 2016 •

Copy link
Copy Markdown
Member

Rebase of #9410. Fixes #9410, fixes #9307.


This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @bholley: components/style/properties/properties.mako.rs
  • @KiChjang: components/script/dom/element.rs, components/script/dom/attr.rs, components/script/dom/cssstyledeclaration.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 24, 2016
@SimonSapin

Copy link
Copy Markdown
Member Author

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit acdec87 has been approved by SimonSapin

@highfive highfive assigned SimonSapin and unassigned Ms2ger May 24, 2016
@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 May 24, 2016
@SimonSapin SimonSapin changed the title Style attr ser rebase Update style attributes on CSSStyleDeclaration changes May 24, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #11287) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels May 24, 2016
craftytrickster and others added 14 commits May 25, 2016 09:24
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
…g to string buffers to save string allocations for every result
@SimonSapin
SimonSapin force-pushed the style-attr-ser-rebase branch from acdec87 to ff5cfb1 Compare May 25, 2016 07:32
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 25, 2016
@SimonSapin

Copy link
Copy Markdown
Member Author

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit ff5cfb1 has been approved by SimonSapin

@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. S-needs-rebase There are merge conflict errors. labels May 25, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit ff5cfb1 with merge 52f17a8...

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 -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit ff5cfb1 into master May 25, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 25, 2016
@SimonSapin
SimonSapin deleted the style-attr-ser-rebase branch May 25, 2016 12:36
@paulrouget

Copy link
Copy Markdown
Contributor

Thank you @craftytrickster

@frivoal

frivoal commented Jun 1, 2016

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

html style attribute not updated

8 participants