Run specfmt over source#12373
Open
keithamus wants to merge 1 commit intowhatwg:mainfrom
Open
Conversation
zcorpan
reviewed
Apr 15, 2026
Member
zcorpan
left a comment
There was a problem hiding this comment.
When running specfmt --full-spec source I get a much larger diff:
1 file changed, 10310 insertions(+), 10536 deletions(-)
Comment on lines
+4255
to
+4258
| and <dfn | ||
| data-x-href="https://drafts.csswg.org/geometry/#create-a-dommatrix-from-the-2d-dictionary">create | ||
| a <code>DOMMatrix</code> from a 2D dictionary</dfn> algorithms for | ||
| <code>DOMMatrix2DInit</code> or <code>DOMMatrixInit</code></li> |
Member
There was a problem hiding this comment.
I think this should stay as-is. It's a bit curious that the previous lines above weren't reflowed despite being too long.
See the first commit in #11640
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a simple editorial change that just runs
specfmt source, committing the result.I'm not sure if we want this, but running
specfmttoday introduces all of these changes which makes the tool more difficult to use than it could be.I'd be happy to explore this some more, including:
.git-blame-ignore-revsfile to ensure this commit doesn't appear in blame logs./browsers.html ( diff )
/browsing-the-web.html ( diff )
/comms.html ( diff )
/document-sequences.html ( diff )
/dom.html ( diff )
/embedded-content.html ( diff )
/form-elements.html ( diff )
/iframe-embed-object.html ( diff )
/infrastructure.html ( diff )
/input.html ( diff )
/interactive-elements.html ( diff )
/links.html ( diff )
/media.html ( diff )
/nav-history-apis.html ( diff )
/semantics-other.html ( diff )
/semantics.html ( diff )
/server-sent-events.html ( diff )
/urls-and-fetching.html ( diff )
/web-messaging.html ( diff )
/webappapis.html ( diff )
/workers.html ( diff )