Skip to content

Mark deprecated/non-standard HTMLElement interfaces as deprecated #360

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

Merged
merged 1 commit into from
May 14, 2019

Conversation

exoego
Copy link
Contributor

@exoego exoego commented May 13, 2019

Closes #272

@exoego exoego force-pushed the deprecate-elements branch from 50d4244 to 9b294ab Compare May 13, 2019 14:32
@sjrd
Copy link
Member

sjrd commented May 13, 2019

I'd approve, but the CI didn't pass.

@exoego exoego force-pushed the deprecate-elements branch from 9b294ab to 9b5dca2 Compare May 13, 2019 21:59
@exoego
Copy link
Contributor Author

exoego commented May 13, 2019

Fixed the missing @deprecated on type alias and def.

@sjrd sjrd merged commit 5f9cc71 into scala-js:master May 14, 2019
@exoego exoego deleted the deprecate-elements branch May 14, 2019 08:30
type BlockElement = raw.HTMLBlockElement
type Body = raw.HTMLBodyElement
type Button = raw.HTMLButtonElement
type BR = raw.HTMLBRElement
type Canvas = raw.HTMLCanvasElement
type Collection = raw.HTMLCollection
type DataList = raw.HTMLDataListElement
@deprecated("Non-standard.", "0.9.8")
type DD = raw.HTMLDDElement

Choose a reason for hiding this comment

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

Hello,
Why are the DD and DT considered non-standard?

Actually, this is valid HTML5 elements.
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd and https://www.w3.org/TR/html52/grouping-content.html#the-dt-element

Can we re-introduce those missing elements in the next release? 

@damercier damercier mentioned this pull request Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove/deprecate HTMLBlockElement & HTMLPhraseElement
3 participants