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
hgroup element removal #472
Comments
|
Fully agreed. In fact, I wasn't even aware |
I just realised it after looking at the code. I think removing it is the only correct thing to do. |
A couple of points:
Translation: it's not hurting anybody; if it appears in markup, it's no big deal, so don't worry about it. Personally, I'd just leave it alone… |
Hi @alwillis, what you're referring to as "Mozilla's HTML reference" is in it's fundamentals a wiki, where everybody can participate in and Mozilla might go over certain contributions or take care of certain articles in doubt. |
I don't want to rehash the whole thing; the point I was making is As a web developer, I’m familiar with @stevefaulkner and his work; however, I don't believe one person should be able to change what's supposed to be a global, open, and consensus-driven specification just because he disagrees with it. |
Ok, I wasn't by any means saying that one person should or is able to change a specification, nor does any of the links I've included. But your reference to MDN made it look like it's one of the places for looking for the definitive answer, whereas it is IMHO a consensus based collection of knowledge, partly clarified by employers of one of the big browser vendors. For the decision here, it should be taken into account what
Otherwise normalize is handling a rare edge case, and that should be up to the single developers on rare edge cases. |
@alwillis On this point, which is an unecessary mischaracterisation:
<hgroup> was removed by consensus, it was not added by consensus, The whatwg spec is by design NOT developed via consensus, so please take the time to understand reality before making such assertions. In regards to including CSS rules for hgroup in normalize.css, I see no issue, note that although it is obsolete in HTML5 the parsing rules and UA default CSS advice for it remains in the spec as do the rules for other obsoleted elements such as <font> or <center> |
I agree with that no issue is caused by leaving |
Thanks to all the responses. They make interesting reading.
I don't quite follow the logic here. Should we include of Although I acknowledge there is no real world harm at the moment, I do think that allowing developers to decide for themselves which elements they wish to use, regardless of their status within agreed standards, is step backwards. It does not help the industry, other developers, or ultimately, their customers. Just my personal view on the matter. |
Providing styling for a hgroup, an element previously standardized by W3C and is still a recognized element by the most current WHATWG HTML 5.1 living standard is nothing like providing styling for FONT or any of the other proprietary tags put forth by Microsoft and Netscape back in the day. Normalize is supposed to be about giving developers a consistent starting point for CSS across a wide variety of browsers; not about the politics of browser standards or telling developers what they should and shouldn’t do. Normalize styles hgroup as a block element for browsers that don't themselves provide styling in the UA’s default stylesheet even when hgroup was fully supported by all standards bodies. That’s it. And there’s nothing about that prevents developers from using current or future standards. Providing styling for hgroup is just being thorough while proving for compatibility with both recognized HTML standards while not interfering anything else that might become a standard in the future. — Al
|
you are getting your specs mixed up the WHATWG HTML standard is unversioned The latest W3C HTML specification working draft is 5.1 http://www.w3.org/TR/html51/ As a side note I recently raised a related issue on the WHATWG HTML spec in regards to the outline algorithm and there is suggestion that the algorithm and the section element will be dropped from the WHATWG HTML along with hgroup (as it was added to support the algorithm). |
True—the WHATWG HTML standard isn’t versioned; what I meant was as of today, To me, the issue isn’t so much about that; Normalize is supposed to give a sane staring point for styling CSS across different browsers, including applying Here’s WebKit’s default stylesheet; line 50 styles |
It’s kind of disingenuous and misguided to suggest setting Since the most current versions of Chrome, Firefox, IE 11, Edge and Safari all set
|
Hi Al, please tone down the rhetoric, it's not helpful. You appear to misunderstand how standards and implementations in browsers work, even if the whatwg spec obsoletes hgroup, browsers will not remove default styling and parser support for it as long as there are statistically significant instances of its use on the web, the same as for the many other elements and attributes that have been implemented in browsers and later been made obsolete in HTML |
Appearances can be deceiving. Steve, I was just being sarcastic; I know the default styling and parsing won’t change, for example, as I may have implied in my mini-rant. But I also didn’t expect it to be taken literally either. Before I became a full-time web developer, I worked many years in MIT’s main IT organization; believe me, I get what means to change the support status of something and the the details regarding that. What you didn’t mention is what I wrote in all seriousness that was intended to understood as I wrote it, which was is factual and not sarcasm:
Hopefully we can move on from this now? |
Since If there is an issue with how things are deprecated or removed from Normalize.css, I think it’s fair to create a new issue for that. If there is an issue with the spec, that is pretty out of scope for Normalize.css to resolve. |
Thank you! |
|
Okay, let's just remove this issue, seems like we're going nowhere. I'll personally just continue to remove it from Normalize whenever I use it; mainly because I NEVER - in my entire life - used |
The Edit: Clarified my point better. I initially made a few mistakes -- claiming hgroup had never been part of any HTML specification. |
And yet here’s a description of And for something that you claim has never been standard HTML, Chrome 45, Firefox 40, Safari 9.0 and Edge provide styling for |
Sorry Al, I miswrote in my last post. My apologies. I was on my phone and should have waited until I was back at my desk. I meant to say that I suppose if you subscribe to the WHATWG version of HTML, then |
This was first raised over two years ago (here: #180). It's been raised several times since then: #268 #227 #316 #317. However, most of these are simply posts telling people to read #180. Things have changed since this was first raised, including the fact that the
hgroup
element has now been formally removed from the final HTML5 spec (http://www.w3.org/TR/html5/obsolete.html), so I thought I would try and raise a modern discussion about it.The only argument I've read for keeping this obsolete element in Normalize.css is this: Some people have previously used it (before the HTML5 was finalised), and so future versions of Normalize.css should support these people.
Personally, I think this seems backwards facing. I fully support attempts at pushing both users and developers to use modern tools and standards.
Regardless of what I think, however, I'd love to hear what others have to say.
Thanks a lot.
The text was updated successfully, but these errors were encountered: