-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec: Fix algorithm declarations #147
Spec: Fix algorithm declarations #147
Conversation
9c23648
to
8ccaed2
Compare
@alexmturner PTAL! I'm not sure how exactly the Shared Storage monkey patches should be marked up, but there's an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, definitely an improvement! Mainly just needs a rebase (and hopefully that'll fix the presubmit too)
8ccaed2
to
676ad00
Compare
The Bikeshed Documentation (dated 8 March 2024) says, "Algorithms can be explicitly indicated in your markup by putting the algorithm attribute on a container element or a heading" [1]. Through trial and error, I discovered that algorithm-specific markup is not generated when you write <dfn algorithm>. Instead, the <dfn> tag must be wrapped in something like <div algorithm>. This change has at least two positive results: 1. Local variables are no longer declared in the global scope! 2. We can now click on local variables and they are highlighted in pretty colors. [1]: https://speced.github.io/bikeshed/#var-and-algorithms
676ad00
to
d106166
Compare
@alexmturner PTAL! |
Hey Alex, PTAL :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
SHA: 80fbc0f Reason: push, by alexmturner Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This adds a missing return step to the algorithm definition, adds an explicit instruction to throw when encryption fails, and attempts to clarify our commentary on RFC9180. Followup to patcg-individual-drafts#147
This adds a missing return step to the algorithm definition, adds an explicit instruction to throw when encryption fails, and attempts to clarify our commentary on RFC9180. Followup to patcg-individual-drafts#147
This adds a missing return step to the algorithm definition, adds an explicit instruction to throw when encryption fails, and attempts to clarify our commentary on RFC9180. Followup to #147
The Bikeshed Documentation (dated 8 March 2024) says, "Algorithms can be explicitly indicated in your markup by putting the algorithm attribute on a container element or a heading" 1.
Through trial and error, I discovered that algorithm-specific markup is not generated when you write
<dfn algorithm>
. Instead, the<dfn>
tag must be wrapped in something like<div algorithm>
.This change has at least two positive results:
Preview | Diff