Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amp-mathml: few fixes and validator tests #13001

Merged
merged 6 commits into from Jan 24, 2018
Merged

Conversation

aghassemi
Copy link
Contributor

@aghassemi aghassemi commented Jan 24, 2018

  • hides the unformatted formula until rendered.
  • preserves more height until resizing happens for less of a jump.
  • adding inline attribute to the documentation
  • script name for validator was wrong.

@cathyxz cathyxz self-requested a review January 24, 2018 01:39
});
});

// set data-formula so 3P script case use it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: "can use it".

});

// set data-formula so 3P script case use it.
this.element.setAttribute('data-formula',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit confusing. Why have the extra formula attribute if you're just going to use it to set the data-formula attribute and not just use data-formula? Basically what happens if the developer sets the data-formula attribute? We should at least make this clear in the doc.

@aghassemi aghassemi merged commit 06297c7 into ampproject:master Jan 24, 2018
This was referenced Jan 26, 2018
honeybadgerdontcare added a commit that referenced this pull request Jan 26, 2018
* Revision bump for #12862

* Revision bump for #13001

* Revision bump for #12906
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
* Revision bump for ampproject#12862

* Revision bump for ampproject#13001

* Revision bump for ampproject#12906
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
* Revision bump for ampproject#12862

* Revision bump for ampproject#13001

* Revision bump for ampproject#12906
protonate pushed a commit to protonate/amphtml that referenced this pull request Mar 15, 2018
* Revision bump for ampproject#12862

* Revision bump for ampproject#13001

* Revision bump for ampproject#12906
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants