Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Somehow I assumed this had been done along side #1179764: Convert Bartik to HTML5, but seems not.
It's not that complicated I don't think, but time's running out.
Comment | File | Size | Author |
---|---|---|---|
#4 | Seven-HTML5-1913692-4.patch | 3.04 KB | mgifford |
#1 | Seven-HTML5-1913692-1.patch | 3.78 KB | mgifford |
Comments
Comment #1
mgiffordtagging and adding a simple patch.
Comment #2
mgifford#1: Seven-HTML5-1913692-1.patch queued for re-testing.
Comment #3
echoz CreditAttribution: echoz commentedWould this come before or after #1938864: [meta] Update all core themes to use Twig?
If before, code looks good but why add the bartik piece in this patch?
Comment #4
mgiffordI'm not sure about the order with regard to Twig. I do think since this patch is already written it would be fine to RTBC it (when it's just what it says it is).
The Twig folks may already be working on it (or not), but if we let them know they can decide how they want to approach it.
Comment #5
echoz CreditAttribution: echoz commentedOk, keeping the bartik piece separate is what I needed, rtbc it is!
Comment #6
Dries CreditAttribution: Dries commentedCommitted to 8.x. Thanks!
Comment #7
jessebeach CreditAttribution: jessebeach commentedSo, the
main
element is still really new and it's not without controversy.http://wiki.whatwg.org/wiki/Main_element
If we do end up keeping this version of
page.tpl.php
, we'll need to update the html5 shim in core.I've opened a postponed critical issue, tagged to be revisited before release, with a patch for that. This new issue also has a built-in trigger to remove the
main
element from our templates if it isn't widely implemented enough by the time we need to ship D8. This will block the release of D8.#1943120: Decide whether to keep the main tag in templates
Comment #8
jessebeach CreditAttribution: jessebeach commentedsorry, didn't mean to change the status. Setting it back to RTBC.
Comment #9
star-szrThanks @jessebeach! I think this can go to fixed since there was a commit in #6.
Comment #10
jessebeach CreditAttribution: jessebeach commentedmgifford, echoz, we need to get this followup committed: #1943142-1: Add the main element to the list of HTML5 elements that get set to display block
I just need a quick review from either of you (or anyone else). It's a one-line change.
Comment #11
jessebeach CreditAttribution: jessebeach commentedcrosspost with Cottser. Setting back to fixed.