Skip to content

amp-mathml: few fixes and validator tests - #13001

Merged
aghassemi merged 6 commits into
ampproject:masterfrom
aghassemi:mathml
Jan 24, 2018
Merged

amp-mathml: few fixes and validator tests#13001
aghassemi merged 6 commits into
ampproject:masterfrom
aghassemi:mathml

Conversation

@aghassemi

@aghassemi aghassemi commented Jan 24, 2018

Copy link
Copy Markdown
Contributor
  • 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
Comment thread extensions/amp-mathml/0.1/amp-mathml.js Outdated
});
});

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

Copy link
Copy Markdown
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".

Comment thread extensions/amp-mathml/0.1/amp-mathml.js Outdated
});

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

Copy link
Copy Markdown
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.

4 participants