Amphtml: Is there any specific reason to disallow HTML <progress> Tag?

Created on 4 Jan 2017  路  6Comments  路  Source: ampproject/amphtml

Is there any specific reason to disallow HTML <progress> Tag?
It's a HTML5 element, is there an issue to allow this tag?

caching

Most helpful comment

I don't see any reason why not. I'm unsure why it was missed. I'll add it.

All 6 comments

/to @Gregable

I don't see any reason why not. I'm unsure why it was missed. I'll add it.

OK, now I see why it was originally left out. It's part of section 4.10 (forms) of the HTML5 spec. Forms weren't originally supported in AMP and so form related elements were also left out.

There is no reason not to add them in at this point. I'll also add <meter> and <output> while at it.

@Gregable: Remember to ban <output>s with special name properties.

Yep, @honeybadgerdontcare reminded me of this one as I was implementing. Change is simple, but it'll be a while before released.

This is now live in prod.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aghassemi picture aghassemi  路  3Comments

Download picture Download  路  3Comments

choumx picture choumx  路  3Comments

devanes picture devanes  路  3Comments

edhollinghurst picture edhollinghurst  路  3Comments