Skip to content

[epub-rs-34] missing definition on DOMString parameter matching #2966

@himorin

Description

@himorin

Section

Appendix B. epubReadingSystem object

Describe the problem

epubReadingSystem object defines its interface as

boolean hasFeature(DOMString feature, optional DOMString version);

No description provided in appendix B. 3.1 for matching DOMString feature nor DOMString version, former might be ascii case insensitive match and could have restriction to ASCII characters as similar to other enum-ish specifications, and latter would be comparison after numerical (incl. decimal into floating point) converted.

Describe the fix or new feature you propose

Add clear definition of string matching, using something like is (exact / case sensitive match) or ASCII case-insensitive match from INFRA spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Spec-ReadingSystemsThe issue affects the EPUB Reading Systems 3.X Recommendationi18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.

    Type

    No type

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions