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.10.12
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.11.4
Choose a head ref
  • 11 commits
  • 56 files changed
  • 2 contributors

Commits on Oct 12, 2026

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

Commits on Nov 1, 2026

  1. fix: Report a redirect the checker can’t follow as an I/O error

    Problem: Checking a URL whose server redirects to an app link —
    https://platform.dongqiudi.com/open/oauth/dqd/verify, which redirects to
    a dongqiudi:// URL — with the checkerrorpages option on failed with
    “Oops. That was not supposed to happen”, and logged an internal-error
    stack trace. With the option off, the checker reported only “The HTTP
    status from the remote server was: 302.”
    
    Cause: Our HTTP client follows redirects. But when Jetty can’t follow
    one (a Location that’s not an http or https URL or has no host, a
    missing Location, or too many redirects), it hands back the redirect
    response as if it were the final one, and holds the failure until the
    body is read. PrudentHttpEntityResolver rejected that response for its
    status — unless checkerrorpages had turned the status check off. Then
    reading the body rethrew Jetty’s IllegalArgumentException, which reached
    the catch-all for RuntimeException in VerifierServletTransaction.
    
    Fix: A redirect response that reaches the resolver means following it
    failed. So the resolver now reports it as not retrievable before the
    status check, whatever checkerrorpages says. The message names the
    Location and the reason it couldn’t be followed: that it isn’t an http
    or https URL, that it isn’t a URL at all, or Jetty’s own reason.
    sideshowbarker committed Nov 1, 2026
    Configuration menu
    Copy the full SHA
    c711ffb View commit details
    Browse the repository at this point in the history
  2. fix: Respond with a 400 to a message filter that isn’t a regex

    Problem: A check with filterpattern=( got an HTTP 500 response, and
    logged two PatternSyntaxException stack traces.
    
    Cause: VerifierServletTransaction.service() passed the message filter —
    the filterpattern value and the filterurl patterns, joined with “|” — to
    Pattern.compile() without catching PatternSyntaxException.
    
    Fix: Catch it, and respond with a 400 that says the message filter isn’t
    a valid regular expression, and why.
    sideshowbarker committed Nov 1, 2026
    Configuration menu
    Copy the full SHA
    39eadd2 View commit details
    Browse the repository at this point in the history
  3. fix: Add filterurl patterns to filterpattern rather than replace it

    Problem: A check given both filterpattern and filterurl filtered out
    only the messages the filterurl patterns matched — so the filterpattern
    value had no effect. And when a filterurl couldn’t be fetched, the check
    still ran after the 500 response was sent.
    
    Cause: In VerifierServletTransaction.service(), the test for whether a
    filter was already set was inverted. So the filterurl patterns replaced
    a filter that was set, and were added with a leading “|” to one that
    wasn’t. Also, when the filterurl fetch failed, the catch block sent the
    500 response and then carried on rather than returning.
    
    Fix: Fix the test, and return after sending the 500.
    sideshowbarker committed Nov 1, 2026
    Configuration menu
    Copy the full SHA
    13b167f View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2026

  1. feat(css-validator): Support CSS anchor-positioning properties

    Check the position-area, position-try-fallbacks, position-try-order,
    position-try, position-anchor, position-visibility, anchor-name, and
    anchor-scope properties from CSS Anchor Positioning against the grammar
    in its current editor’s draft. Bikeshed’s definition panels use
    position-area and position-try-fallbacks — so every spec it generates
    got “Property doesn’t exist” errors for them.
    
    A position-area value is one keyword, or two keywords that each come
    from a different group of one form: physical, logical, or self-logical.
    Or both can come from one of the two forms that repeat a group
    (start/end, and self-start/self-end). And position-try-fallbacks runs
    the same check on each fallback that’s a position area, rather than a
    dashed ident with try tactics.
    
    Addresses w3c/css-validator#526
    sideshowbarker committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    d2c51ad View commit details
    Browse the repository at this point in the history
  2. feat(css-validator): Support anchor-center in align-self, justify-self

    Accept anchor-center from CSS Anchor Positioning as a self-position in
    align-self and justify-self (and so in place-self), alone or after safe
    or unsafe. That matches Blink’s IsSelfAlignmentKeyword() and Gecko’s
    parse_self_position(). Like Gecko, the check keeps it out of align-items
    and justify-items, which the spec doesn’t extend.
    sideshowbarker committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    36274b5 View commit details
    Browse the repository at this point in the history
  3. feat(css-validator): Support anchor(), anchor-size(), @position-try

    Check the anchor() and anchor-size() functions from CSS Anchor
    Positioning, both as values and inside calc() and the other math
    functions: The anchor name, the anchor side or anchor size, and the
    length-percentage fallback (which can itself be an anchor() or calc()
    value). Each resolves to a length — so like env(), it’s accepted in any
    property that takes a length, not just the inset, sizing, and margin
    properties the spec allows.
    
    Also check @position-try rules: A dashed-ident name, then a declaration
    block that accepts only the properties the spec lists for it — the
    inset, margin, sizing, and self-alignment properties, position-anchor,
    and position-area. But !important on any of those isn’t reported yet,
    although the spec disallows it there.
    
    The parser is regenerated with JavaCC 7.0.13, which is the version that
    reproduces the generated files upstream has checked in.
    sideshowbarker committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    03f83b5 View commit details
    Browse the repository at this point in the history
  4. ci: Build with Java 27 instead of 26, and with a Java 28 EA

    Java 27 shipped in September and replaced 26, which is no longer
    supported. So the Ubuntu-only builds now cover the 17 and 21 LTS
    releases and the current release, 27.
    
    Also build on Ubuntu with the latest Java 28 early-access JDK, so a
    breakage turns up before 28 ships. A failure in that job doesn’t fail
    the run, since the JDK it uses isn’t released yet.
    sideshowbarker committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    9fba9f3 View commit details
    Browse the repository at this point in the history
  5. fix(build): Parse a Java version with a “-beta” suffix

    Problem: The CI build with the Java 28 early-access JDK failed at its
    first step, “python checker.py dldeps”, with “ValueError: invalid
    literal for int() with base 10: '28-beta'”.
    
    Cause: main() in build/build.py took the Java major version from the
    “java -version” output by stripping an “-ea” suffix and calling int() on
    the rest. But the Zulu early-access JDK that setup-java installs reports
    its version as “28-beta” rather than “28-ea”.
    
    Fix: Take the leading digits of the version string instead, so the
    parsing works with any suffix.
    sideshowbarker committed Nov 3, 2026
    Configuration menu
    Copy the full SHA
    9f92151 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    93ef029 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2026

  1. ci: Check a spec generated by the latest Bikeshed

    Add tests/bikeshed/bikeshed-features.bs, a spec that uses the Bikeshed
    features that add their own CSS, scripts, or markup to the output:
    definition panels, WebIDL, syntax highlighting, railroad diagrams, and
    the like. A new “python checker.py bikeshed-test” task generates it with
    the current Bikeshed through the W3C spec generator, then checks the
    result with --also-check-css, the way w3c/spec-prod does.
    
    So when a Bikeshed release starts emitting something the checker doesn’t
    support yet — as with the position-area and position-try-fallbacks
    properties in its definition-panel CSS — this fails before spec editors
    run into it. A new workflow runs the task on every push and PR, and also
    daily, to catch a Bikeshed change even when nothing gets pushed here.
    sideshowbarker committed Nov 4, 2026
    Configuration menu
    Copy the full SHA
    70ae341 View commit details
    Browse the repository at this point in the history
Loading