Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: validator/validator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 26.8.19
Choose a base ref
...
head repository: validator/validator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 26.8.30
Choose a head ref
  • 6 commits
  • 5 files changed
  • 2 contributors

Commits on Aug 19, 2026

  1. Configuration menu
    Copy the full SHA
    a24fc84 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2026

  1. feat: Allow the “for” attribute on the “template” element

    The “for” attribute on “template” elements names a <?marker> or <?start>
    PI whose location the template's content is inserted at, or whose range
    it replaces. See whatwg/html@2ff023fbe4.
    
    We don’t yet check the additional spec requirement that a <?marker> or
    <?start> PI with the given name must actually exist in the document.
    
    Fixes #2129
    sideshowbarker committed Aug 20, 2026
    Configuration menu
    Copy the full SHA
    388cb36 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2026

  1. Configuration menu
    Copy the full SHA
    d58f7e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2026

  1. Configuration menu
    Copy the full SHA
    9b5b796 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2026

  1. fix: Don’t index the languages array with a failed search result

    Problem: Checking a document whose lang attribute pairs a private-use
    language subtag with a script subtag — such as lang="qtz-Latn" — aborted
    the check with an ArrayIndexOutOfBoundsException, rather than reporting
    a result. On the server, that surfaced as a RuntimeException; on the
    command line, it terminated the process outright.
    
    Cause: isLanguage accepts the private-use range qaa..qtz on top of the
    entries of the languages array — so such a subtag passes that check
    without being in the array. shouldSuppressScript then looks the primary
    subtag up with Arrays.binarySearch and uses the result to index
    suppressedScriptByLanguage. The search fails for a subtag that’s not in
    the array, and returns a negative insertion point, which indexes out of
    bounds. That the index is non-negative was stated as an assert — which
    isn’t enabled at runtime. usesPrefixByExtlang looks the subtag up the
    same way — and gets the right answer only because the negative value
    happens to compare unequal to the expected prefix.
    
    Fix: Return early from both methods when the lookup fails. A private-use
    primary-language subtag has no registered suppressed script, and can’t
    be the registered prefix of an extlang — so, false is the answer in both
    cases. checkForValidPrefix indexes prefixesByVariant from a search
    result in the same way. But that’s reached only after isVariant — which
    accepts no range beyond the array. So, it’s left alone.
    sideshowbarker committed Aug 29, 2026
    Configuration menu
    Copy the full SHA
    c4720ca View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2026

  1. Configuration menu
    Copy the full SHA
    f84563f View commit details
    Browse the repository at this point in the history
Loading