Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Move all CDATA section tests into one file#170

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
not-my-profile wants to merge1 commit intohtml5lib:master
base:master
Choose a base branch
Loading
fromnot-my-profile:cdataSection.test

Conversation

not-my-profile
Copy link

All other initial states are referenced outside the section 13.2.5 Tokenization1 that describes the tokenizer state machine.

It's therefore reasonable to consider the 'CDATA section state' an implementation detail and as such a tokenizer may choose to avoid exposing it in it's public API.

In that scenario while all other tests could be integration tests that solely use the public API, the tests for the 'CDATA section state' would need to be performed internally rather than externally.

This commit moves all the 'CDATA section state' tests into a new separate cdataSection.test file to faciliate such testing.

All other initial states are referenced outside the section 13.2.5Tokenization[1] that describes the tokenizer state machine.It's therefore reasonable to consider the 'CDATA section state'an implementation detail and as such a tokenizer may choose toavoid exposing it in it's public API.In that scenario while all other tests could be integration teststhat solely use the public API, the tests for the 'CDATA section state'would need to be performed internally rather than externally.This commit moves all the 'CDATA section state' tests into a newseparate cdataSection.test file to faciliate such testing.[1]:https://html.spec.whatwg.org/multipage/parsing.html#tokenization
@annevk
Copy link
Contributor

To be clear, given that there's only a very high-level public API defined, most things are probably implementation details. Seems reasonable to move things around though.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@not-my-profile@annevk

[8]ページ先頭

©2009-2025 Movatter.jp