Skip to content

<amp-experiment> style mutation fix and improvment#23669

Merged
zhouyx merged 4 commits intoampproject:masterfrom
zhouyx:experiment
Aug 19, 2019
Merged

<amp-experiment> style mutation fix and improvment#23669
zhouyx merged 4 commits intoampproject:masterfrom
zhouyx:experiment

Conversation

@zhouyx
Copy link
Copy Markdown
Contributor

@zhouyx zhouyx commented Aug 3, 2019

This PR fixes how the style attribute should be set. So now it doesn't override the existing value.
We also allow setting multiple style pairs now.

Rename validate to parseAndValidate as well.

@zhouyx zhouyx requested a review from lannka August 3, 2019 00:11
@zhouyx
Copy link
Copy Markdown
Contributor Author

zhouyx commented Aug 9, 2019

All comments addressed. Please take another look. thanks

@zhouyx zhouyx added the Blocked label Aug 16, 2019
@zhouyx zhouyx merged commit e1dd1d6 into ampproject:master Aug 19, 2019
@zhouyx zhouyx deleted the experiment branch August 19, 2019 23:29
@zhouyx zhouyx assigned zhouyx and unassigned zhouyx Aug 19, 2019
westonruter added a commit to westonruter/amphtml that referenced this pull request Aug 20, 2019
* 'master' of github.com:ampproject/amphtml: (32 commits)
  ✨ Make tweet id a bindable attribute (ampproject#23953)
  🏗 Update Local AMP extension to allow custom base URLs (ampproject#24029)
  🏗 Improve serving from non-localhost host (ampproject#24066)
  Preventing half pixels. (ampproject#24050)
  Update callout-vendors.js (ampproject#23218)
  🏗 Fixes to `check-package-manager.js` (ampproject#24060)
  Rename AMP_MODE to __AMP_MODE. (ampproject#24052)
  Story media performance metrics. (ampproject#23962)
  Updating Story amp-sidebar width documentation. (ampproject#23894)
  Fixes race condition in amp-video-iframe (ampproject#24033)
  Rename ampExtendedElements to __AMP_EXTENDED_ELEMENTS (ampproject#24056)
  🏗🚮 Enable property inlining (ampproject#24053)
  ✨amp-ads: Added optional params for Directadvert network (ampproject#23724)
  <amp-experiment> style mutation fix and improvment (ampproject#23669)
  🐛 Allow http protocol for noscript > img fallbacks for parity with amp-img (ampproject#21686)
  🏗 Refactor transform-log-asserts (ampproject#24028)
  Automatically preconnect to source origins on page loads. (ampproject#24045)
  Support visibility API in the ampdoc (ampproject#23799)
  Amphtml visual tests should use relative path against root (ampproject#24042)
  FIX: check all fields' dirtiness on AMP form init (ampproject#23978)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants