Skip to content

Add S and U phrasing elements#876

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

Add S and U phrasing elements#876
vankov1 wants to merge 3 commits intomozilla:mainfrom
vankov1:complete-phrasing-elements-list

Conversation

@vankov1
Copy link
Contributor

@vankov1 vankov1 commented Jun 6, 2024

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
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