Skip to content

Commit

Permalink
Work around new requirements from respec for updated recs
Browse files Browse the repository at this point in the history
instead of using a configuration key, respec now search for markup to determine whether a spec contains corrections or additions; but since the markup is added as post-processing in this spec, the detection fails. Instead, adding hidden markup to trigger the right effect.

That markup will have to have the classes proposed-addition / proposed-correction if/when we reach that status
  • Loading branch information
dontcallmedom committed Aug 19, 2024
1 parent ab84c0a commit f5017b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</p>
</section>
<section id="sotd" class="updateable-rec">
<p>This document includes <a href="#changes">Candidate Amendments</a> to the current <a href="https://www.w3.org/TR/2021/REC-webrtc-20210126/">W3C Recommendation dated January 26, 2021</a>.</p>
<p><span hidden class="correction addition"></span>This document includes <a href="#changes" >Candidate Amendments</a> to the current <a href="https://www.w3.org/TR/2021/REC-webrtc-20210126/">W3C Recommendation dated January 26, 2021</a>.</p>
<p>
Its <a href=
"https://github.com/web-platform-tests/wpt/tree/master/webrtc">associated
Expand Down
1 change: 0 additions & 1 deletion webrtc.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ var respecConfig = {

testSuiteURI: "https://github.com/web-platform-tests/wpt/tree/master/webrtc/",
implementationReportURI: "https://w3c.github.io/webrtc-interop-reports/webrtc-pc-report.html",
revisionTypes: ["addition", "correction"],
lint: {
"wpt-tests-exist": true
},
Expand Down

0 comments on commit f5017b9

Please sign in to comment.