You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure, if you really wanted a label to appear empty it's possible in all engines I suspect, it just depends on how persistent you are. (I would imagine whitespace of the non-ASCII variety to work in Chromium, for instance.)
There's probably not a good use case for that though.
So since all engines are different and it doesn't really matter, I guess I would opt for not changing the specification.
I found a chrome internal test which claims that the whitespace behavior is to match IE, so I'll change the behavior in chromium behind a flag and report back if any issues come up.
What is the issue with the HTML Standard?
The following HTML has different rendering in chrome, firefox, and safari:
Chrome: empty and whitespace label attributes are not used
Firefox: empty label attribute is not used, whitespace label attribute is used
WebKit: empty and whitespace label attributes are used
The spec says this:
Just based on reading the spec, I think that firefox is the compliant one. But what do yall think the best behavior is?
The text was updated successfully, but these errors were encountered: