github web-platform-tests/wpt merge_pr_48156

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
12 months ago

Don't consume into block in ConsumeAttributeReference

The streaming parser does not allow using Consume[IncludingWhitespace]
into a block. Fixed by peeking before consuming.

Fixes crash (DCHECK) for invalid values like "attr(())".

Change-Id: Ic1d26b21d5e82be8375f768b9626cec9e3da375a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5860123
Commit-Queue: Anders Hartvoll Ruud andruud@chromium.org
Reviewed-by: Munira Tursunova moonira@google.com
Cr-Commit-Position: refs/heads/main@{#1355134}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.