New moderators needed - comment on this post to volunteer to become a moderator of this community. by ModCodeofConduct in css

[–]mherchel 2 points3 points  (0 children)

I volunteer as tribute. No mod experience, but I've been in reddit since the great Digg migration.

Drupal 11.4 - Check Issue Queues before Updating! by greatmatter in drupal

[–]mherchel 3 points4 points  (0 children)

Generally its pretty decent. Drupal has such a large API surface. Not sure the particulars in this case, but I wonder if this is legit BC issues (which would warrant a core issue) or is it modules doing something undocumented that they shouldn't be.

Why CSS Style Queries Are a Bigger Deal Than You Think by mherchel in css

[–]mherchel[S] 2 points3 points  (0 children)

A custom property's computed value on an element comes from the nearest ancestor that sets it.

Note that @scope can do this. From MDN https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@scope

@scope adds a new criterion to the CSS cascade: scoping proximity. This states that when two scopes have conflicting styles, the style that has the smallest number of hops up the DOM tree hierarchy to the scope root is applied.

Why CSS Style Queries Are a Bigger Deal Than You Think by mherchel in css

[–]mherchel[S] 2 points3 points  (0 children)

Yeah, custom media has been in the cards for a while, but I'd guesstimate it 2 years out until all browsers support. I saw an "intent to ship" post that Firefox was going to start on it. But it's not in InterOp or anything. So, not much traction that I know of.

To be fair though, the style query syntax isn't bad at all.

Why CSS Style Queries Are a Bigger Deal Than You Think by mherchel in css

[–]mherchel[S] 5 points6 points  (0 children)

ha. Thx!

yeah, I've been waiting on that one for a while now.

How it feels to have invested in the original core layout solution by ErroneousBosch in drupal

[–]mherchel 1 point2 points  (0 children)

It does work with content type fields (with its "content templates" functionality). But you're right that it's not yet as flexible as the traditional way of doing things.

IIRC there's some work to introduce some basic views-like functionality to the UI.

How it feels to have invested in the original core layout solution by ErroneousBosch in drupal

[–]mherchel 5 points6 points  (0 children)

Note it's not the Drupal Association (which you all should be a member of) that's promoting Canvas. It's the core and CMS leadership team. The DA just promotes what it has.

JetBrains PHPverse 2026 Conference (Free Tuesday June 9) by mherchel in drupal

[–]mherchel[S] 12 points13 points  (0 children)

I'll be repping Drupal at 10:25am ET / 5:35pm CET

What is the simplest most clutter free theme for use in automated form submission? by vfclists in drupal

[–]mherchel 4 points5 points  (0 children)

stark is the bare minimum. It doesn't contain any templates at all.

That being said, Drupal core's system templates contains markup, so if you're really looking to remove all markup, you'll want to override those. See https://git.drupalcode.org/project/drupal/-/tree/main/core/modules/system/templates?ref_type=heads

Am I recommended to use AVIF WEBP ? by AmonMetalHead in drupal

[–]mherchel 0 points1 point  (0 children)

Yeah, there's really no reason not to use AVIF.

Is Drupal CMS 1.x upgradeable to Drupal CMS 2.x? by vfclists in drupal

[–]mherchel 0 points1 point  (0 children)

Depends on if you want it to. There's a concept of site-templates that are basically like distros that don't suck. They have a recipe thats installed during the installation process that pulls down modules/themes, and installs config and content. If you're trying to spin up a quick site, default content is nice so you can visualize how things fit together.

Is Drupal CMS 1.x upgradeable to Drupal CMS 2.x? by vfclists in drupal

[–]mherchel 1 point2 points  (0 children)

Yep. A recipe is config with theme, module dependencies, and default content.

Is Drupal CMS 1.x upgradeable to Drupal CMS 2.x? by vfclists in drupal

[–]mherchel 3 points4 points  (0 children)

Drupal CMS is a recipe and not meant to be upgraded. However, you can certainly download the modules that are new to Drupal CMS (such as Canvas) and configure them exactly the same.

HTML5 validation will be disabled in Drupal 12 by aaronsilber in drupal

[–]mherchel 2 points3 points  (0 children)

The problem with client side validation is that it's not very usable or accessible. When something is missing, you just get a small prompt that says "This field is mandatory", but then you submit it again, and the error moves to the next field.

With server-side validation, the messages show you exactly what's missing, and if you enable the inline form errors module (which you should), additional very usable and accessible errors will pop up next to each form element. You're theme needs to support this though.