-
Notifications
You must be signed in to change notification settings - Fork 201
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
Merging custom keys from computed meta + in-document metadata doesn't seem to work #1161
Comments
Spotted the problem - the default "join" strategy between different sources for custom metadata (anything with a I'll change it to be consistent and append in both cases. Let me know if I need to offer more functionality here and give you a choice between the two (like a "clear" option or something). |
Done, and confirmed that it works as desired with your reduction. They'll append in priority order - defaults, then in-document, then command line, then computed-metadata, and maintain their relative ordering within each of those categories. |
Hmm, for our purposes computed-metadata is higher priority than in-document, but it's not a big deal. (It only applies to two specs with this legacy bugs situation; no other metadata is affected.) |
Yes, that's what I mean - the list I gave is the order they'll show up in. So computed-metadata will always show up last. |
Yeah, whereas it'd be kind of nicer if those "defaults" showed up first, whereas the in-document "extras" showed up at the bottom of the "Participate" list. But again, not a big deal. |
Doing that reasonably would require me to finally do the correctness-rewrite of metadata handling I've been intending for a while. Something for the future. ^_^ |
This can be seen in whatwg/dom#553 and whatwg/mimesniff#54 with #1155 applied. I haven't tried for a minimal repro, but the basic setup is:
computed-metadata.include:
spec.bs:
The fix here should be sure to group them together according to the
Metadata Order
.The text was updated successfully, but these errors were encountered: