@brucel is there a list of native HTML elements that do property/attribute reflection? Or do you know somebody who knows?
-
-
Replying to @PascalPrecht
@PascalPrecht i don't understand the terminology "property/attribute reflection"1 reply 0 retweets 0 likes -
Replying to @PascalPrecht
@brucel So the property value is not reflected back to the attribute. But there are elements that reflect back to the attribute.1 reply 0 retweets 0 likes -
Replying to @PascalPrecht
@brucel e.g. <img src="foo">; img.src = 'bar'; gets reflected AFAIK. Now I wonder which native elements do that kind of reflection.1 reply 0 retweets 0 likes -
Replying to @PascalPrecht
@PascalPrecht maybe@mathias knows of such a list?1 reply 0 retweets 0 likes
@brucel @PascalPrecht I don’t know of any such list, but you can search https://html.spec.whatwg.org/ for “reflect” to find them all.
-
-
Replying to @mathias
@mathias@brucel@PascalPrecht note that <input value> is reflected through defaultValue. The value property is about the current value.0 replies 0 retweets 3 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.