Skip to content

Remove redundant processing requirement for hreflang attribute - #2343

Merged
mattgarrish merged 2 commits into
mainfrom
fix/hreflang-req
Jul 1, 2022
Merged

Remove redundant processing requirement for hreflang attribute#2343
mattgarrish merged 2 commits into
mainfrom
fix/hreflang-req

Conversation

@mattgarrish

Copy link
Copy Markdown
Member

As discussed in w3c/epub-tests#173, we have a redundant requirement on language processing for the hreflang attribute.

The internationalization section already defines that language and direction are obtained from resources, not information in the package document, and specifically calls out hreflang as one case.

This pull request just removes the redundant must for now, replacing it with a pointer to the overarching requirement, but I'm easily convinced we can drop the entire paragraph. It only seems to serve the purpose of reminding a developer of an existing requirement, but we don't repeat this for every element that has a language or direction property, so why here?

EPUB Reading Systems 3.3:

@iherman iherman left a comment

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.

You asked, in w3c/epub-tests#173 (comment)

I'll open a pull request with an additional reference to this paragraph, but I wonder if we can delete this bit of duplication completely?

I would be in favour of keeping it. It does not harm, it does not add any normative text, but may be helpful for RS implementers.

@iherman

iherman commented Jul 1, 2022

Copy link
Copy Markdown
Member

I would think this could be merged, @mattgarrish. If you do, could you also close w3c/epub-tests#173 without merge?

@mattgarrish
mattgarrish merged commit 92fc4a9 into main Jul 1, 2022
@mattgarrish
mattgarrish deleted the fix/hreflang-req branch July 1, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants