Skip to content

Commit b35e5ee

Browse files
authored
Fix Bikeshed build
- Migrates Makefile from the legacy CSS Spec Preprocessor URL (`https://api.csswg.org/bikeshed/`) to the new W3C spec generator URL (`https://www.w3.org/publications/spec-generator/`) - Adds `-F type=bikeshed-spec` form param required by the new endpoint - Fixes missing `</div>` tags in `index.src.html` which were causing the spec generator to die on warnings.
1 parent e12b7cf commit b35e5ee

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ else
1616
endif
1717
else
1818
@ echo "Building $@ remotely"
19-
@ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \
19+
@ (HTTP_STATUS=$$(curl https://www.w3.org/publications/spec-generator/ \
2020
--output $@ \
2121
--write-out "%{http_code}" \
2222
--header "Accept: text/plain, text/html" \
23+
-F type=bikeshed-spec \
2324
-F die-on=warning \
2425
-F file=@$<) && \
2526
[[ "$$HTTP_STATUS" -eq "200" ]]) || ( \

index.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6261,6 +6261,7 @@
62616261
conditions, such as allowing a site to mutate a codec input or output while
62626262
the underlying codec is still operating on that data. This concern is mitigated
62636263
by ensuring that input and output interfaces are immutable.
6264+
</div>
62646265

62656266
Privacy Considerations{#privacy-considerations}
62666267
===============================================
@@ -6308,6 +6309,7 @@
63086309
budget", which depletes as authors use WebCodecs and other identifying APIs.
63096310
Upon exhaustion of the privacy budget, codec capabilities could be reduced to a
63106311
common baseline or prompt for user approval.
6312+
</div>
63116313

63126314
Best Practices for Authors Using WebCodecs{#best-practices-developers}
63136315
======================================================================

0 commit comments

Comments
 (0)