tlong2
tlong2
I intend to implement an amp extension/tag named amp-auto-ads. This will be a framework for loading a configuration from a 3rd party server that is then used to control the...
Unless there are any objections, I'd like to add the ability to specify new margin sizes to the attemptChangeSize function in resources-impl.js. This would change it to something like: /**...
``s are not allowed to be placed inside ``s. The logic needs to be changed to prevent this ever happening, even if the config tries to instruct this to happen.
The isLayoutSupported function was removed from `` in https://github.com/ampproject/amphtml/commit/980e7ca38269b695def57bf99e7a8abd58630b21. isLayoutSupported is apparently called before the element is upgraded meaning it falls back to the BaseElement version which is: ` isLayoutSupported(layout)...
Adjacent `` elements get their margins collapsed, if we insert a 0x0 `` between two `` elements with margins then we prevent this margin collapsing, which causes a reflow. Info...
attemptChangeSize allows new margins to be specified: https://github.com/ampproject/amphtml/blob/master/src/service/resources-impl.js#L765. We should disallow margins being changed to negative values as this can cause element overlap and may also disrupt the logic that...
Currently to use amp-auto-ads a publisher has to place a `` tag in the `` as well as an `` tag in the body. It would make the set up...
Currently the experiment toggles are "cached" using a global variable defined at the file level: https://github.com/ampproject/amphtml/blob/master/src/experiments.js#L44. This means that for experiments using a simple traffic fraction, toggles determined in amp.js...