Skip to content
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

Move all CDATA section tests into one file #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 15, 2023

  1. Move all CDATA section tests into one file

    All other initial states are referenced outside the section 13.2.5
    Tokenization[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 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.
    
    [1]: https://html.spec.whatwg.org/multipage/parsing.html#tokenization
    not-my-profile committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    829de4a View commit details
    Browse the repository at this point in the history