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

HTML4/5 Tag support #959

Open
belisoful opened this issue May 23, 2023 · 3 comments
Open

HTML4/5 Tag support #959

belisoful opened this issue May 23, 2023 · 3 comments

Comments

@belisoful
Copy link
Member

belisoful commented May 23, 2023

There are a whole host of HTML Tags that are not yet in PRADO.

I am specifically thinking of some HTML4/5 specific tags:

  • Dialog <dialog> is needed for better "modal div" support. Some JS may be needed for a dialog for an option if clicking outside the modal closes the modal. also <form method="dialog">?
  • Canvas?
  • Embed?
  • Main tag
  • Nav tag
  • Section tag
  • Menu tag
  • Code tag (Samp, var, and kbd)?
  • Output tag?
  • Meter tag?
  • Progress tag. Progress tags could also be active.
  • Samp
  • SVG tag?
  • video?
  • audio?
  • template tag. This should be two tags, one is the HTML Template, and the other is an instance of that template and/or a reference to that template in Javascript.

I'm also looking at <form method="dialog"> in dialog tags. Should this be supported?

The reason why these primary tags should be supported as PRADO tags is for Skinning purposes.

@belisoful
Copy link
Member Author

belisoful commented May 23, 2023

Also <input type=color> supersedes our color picker. type=time and type=date are also in html

@belisoful
Copy link
Member Author

Also, we might want to look at "Web Components" as a way to universalize PRADO web side components. I'm not sure how the tech would fit with PRADO and its JS, but it's something to consider.

@belisoful
Copy link
Member Author

There are many "new" input types:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input

  • Color. Replaces TColorPicker?
  • Date. Replaces TDatePicker?
  • DateTime-local
  • Email
  • Month
  • Number
  • Range. Replaces the TSlider?
  • Time

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

No branches or pull requests

1 participant