镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add S and U phrasing elements - #876

Open
vankov1 wants to merge 3 commits into
mozilla:mainfrom
vankov1:complete-phrasing-elements-list
Open

vankov1 wants to merge 3 commits into
mozilla:mainfrom
vankov1:complete-phrasing-elements-list

Conversation

@vankov1

@vankov1 vankov1 commented Jun 6, 2024 •

Copy link
Copy Markdown
Contributor

S and U should be part of the phrasing elements list:
https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#phrasing_content

Leaving them out causes <p> elements to be placed within <u> or <s> like in the hukumusume test case, which is invalid.

P.S. I'm not sure how the test case should be handled, its expected.html is not correct.

@inhumantsar

Copy link
Copy Markdown
Contributor

@vankov1 you can run node generate-testcase.js hukumusume to regenerate expected.html and expected-metadata.json

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.

3 participants