Skip to content

Add for='' values to the subvalues of several concepts. Closes #12457#12458

Open
tabatkins wants to merge 2 commits into
whatwg:mainfrom
tabatkins:for-origin
Open

Add for='' values to the subvalues of several concepts. Closes #12457#12458
tabatkins wants to merge 2 commits into
whatwg:mainfrom
tabatkins:for-origin

Conversation

@tabatkins
Copy link
Copy Markdown
Contributor

@tabatkins tabatkins commented May 14, 2026

This is an editorial-only edit. It adds for="' attributes to the sub-dfns of four concepts, all of which happen to include "origin" as one of their sub-dfns. (They're mostly structs.)

This closes #12457, where the multiple un-for'd "origin" definitions cause Bikeshed trouble. Tho only the "origin" terms were problematic here, I added the for="" to all the sub-dfns for consistency, and to avoid future similar issues.

Beyond adding the attribute to several dfn elements, the only other changes are necessary rewrapping of the paragraphs.


/browsers.html ( diff )
/browsing-the-web.html ( diff )
/media.html ( diff )
/speculative-loading.html ( diff )

@tabatkins

This comment was marked as outdated.

Comment thread source Outdated
Comment thread source Outdated
Comment thread source Outdated
Comment thread source

<p>Each <span>media element</span> has a unique <dfn>media element event task source</dfn>.</p>
<p>Each <span>media element</span> has a unique <dfn for="media element">media element event task
source</dfn>.</p>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still somewhat surprised this is needed or desired. Who else is defining a media element event task source? Shouldn't they reference this one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, I added the attribute because I mistook it for being part of the preceding "media resource" block of sub-dfns, but this is still a sub-dfn and it's not wrong to give it a for value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Five different [=/origin=] possible definitions

2 participants