Skip to content

Add compat data for HTMLCanvasElement#880

Merged
Elchi3 merged 4 commits into
mdn:masterfrom
maboa:HTMLCanvasElement
Jan 29, 2018
Merged

Add compat data for HTMLCanvasElement#880
Elchi3 merged 4 commits into
mdn:masterfrom
maboa:HTMLCanvasElement

Conversation

@maboa

@maboa maboa commented Jan 22, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@teoli2003 teoli2003 added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jan 22, 2018

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Well done, thanks!
Left some comments inline for you to fix.

Comment thread api/HTMLCanvasElement.json Outdated
"deprecated": false
}
},
"webgl context": {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This and the following are not nested under getContext which seems to be missing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

Comment thread api/HTMLCanvasElement.json Outdated
},
"chrome": {
"version_added": "9",
"notes": "Chrome 9 and Firefox 3.6 initially implemented this as <code>experimental-webgl</code>. Since Chrome 33 and Firfox 24 it is implemented as the standard <code>webgl</code>."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please only talk about Chrome here, use version ranges, and the alternative_name property.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

Comment thread api/HTMLCanvasElement.json Outdated
},
"edge": {
"version_added": true,
"notes": "Edge, Internet Explorer 11, WebKit 5.1 and Firefox Mobile implemented this as <code>experimental-webgl</code>."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This could be alternative_name without a note.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

Comment thread api/HTMLCanvasElement.json Outdated
"firefox": [
{
"version_added": "3.6",
"notes": "Chrome 9 and Firefox 3.6 initially implemented this as <code>experimental-webgl</code>. Since Chrome 33 and Firfox 24 it is implemented as the standard <code>webgl</code>."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please only talk about Firefox here, use version ranges, and the alternative_name property.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

Comment thread api/HTMLCanvasElement.json Outdated
],
"firefox_android": {
"version_added": true,
"notes": "Edge, Internet Explorer 11, WebKit 5.1 and Firefox Mobile implemented this as <code>experimental-webgl</code>."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This could be alternative_name without a note.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

Comment thread api/HTMLCanvasElement.json Outdated
"status": {
"experimental": false,
"standard_track": true,
"deprecated": true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

deprecated? I'd say no.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

Comment thread api/HTMLCanvasElement.json Outdated
"status": {
"experimental": false,
"standard_track": true,
"deprecated": true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not deprecated I think

Comment thread api/HTMLCanvasElement.json Outdated
"status": {
"experimental": true,
"standard_track": false,
"deprecated": true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not deprecated

Comment thread api/HTMLCanvasElement.json Outdated
},
"firefox": {
"version_added": "44",
"notes": "This feature is behind a feature preference setting. In about:config, set <code>gfx.offscreencanvas.enabled</code> to <code>true</code>."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please use a flags object

Comment thread api/HTMLCanvasElement.json Outdated
},
"firefox_android": {
"version_added": "4",
"notes": "This feature is behind a feature preference setting. In about:config, set <code>gfx.offscreencanvas.enabled</code> to <code>true</code>."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ditto flags object

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Almost!

Comment thread api/HTMLCanvasElement.json Outdated
]
},
"firefox_android": {
"version_added": "4",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

44

Comment thread api/HTMLCanvasElement.json Outdated
"deprecated": false
}
},
"Image quality parameter": {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No spaces in the identifier; please add a description.

@maboa

maboa commented Jan 29, 2018

Copy link
Copy Markdown
Contributor Author

done and done :)

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

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

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants