whatwg / webidl

Web IDL Standard
https://webidl.spec.whatwg.org/
Other
405 stars 162 forks source link

Move to WHATWG #1016

Closed annevk closed 2 years ago

annevk commented 3 years ago

I've started thinking about the steps needed to move this document to the WHATWG and I would appreciate some review (feel free to edit this comment as needed):

cc @heycam @TimothyGu @domenic @EdgarChen @foolip

domenic commented 3 years ago

Create a logo. Anyone ideas?

Curly brackets, e.g. {}, perhaps? Not sure the font is great but here's a hacked-together idea of what it would look like: https://jsbin.com/jefomakuma/edit?html,output

bathos commented 3 years ago

There's probably not gonna be anything iconographic that communicates it better so I think braces work. Though if it were {}; I'd know exactly what language it is given how often I forget they're required after blocks in Web IDL :)

This is probably just a local font thing, but what rendered for me is missing a space between the braces. Hopefully the real thing would have a gap; without, it kinda reads as "WHATWG With Wings":

screenshot of icon preview showing the two braces are flush, creating what looks more like a maxipad icon than a "code" icon

domenic commented 3 years ago

Haha that's a funny rendering. FWIW here's what I saw. But in the end we need to make it an actual <path>, and probably pick a more "code-like" font.

image

domenic commented 3 years ago

https://fonts.google.com/?category=Monospace&preview.text=%7B%7D&preview.text_type=custom is probably the place to search for fonts

annevk commented 3 years ago

Hah, I was also thinking about curly brackets after posting this! Though I thought that perhaps it should be just { to align with ?, !, and .

foolip commented 3 years ago

For webidl.spec.whatwg.org, I intend to try hosting it on AWS S3, as a first step to hosting all of our specs and static sites somewhere other than the current marquee VM, see https://github.com/whatwg/misc-server/issues/107.

annevk commented 3 years ago

What do you all think about

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 825 825">
  <circle cx="412.5" cy="412.5" r="371.25" fill="#fff" stroke="#3c790a" stroke-width="82.5"/>
  <path d="M249.10714 387.55814v48.92442c22.50001 0 40.17858 4.79651 53.03572 12.47093 14.46429 7.67442 22.49999 19.18605 27.32143 32.61628 4.82141 13.43024 6.42857 37.41279 6.42857 70.98837 0 33.57559 1.60714 55.63954 3.21429 66.19186 3.21429 17.26745 8.03571 30.69767 14.46429 40.2907 6.42856 10.55232 16.07141 18.22675 25.71427 23.98256 9.64285 5.75581 24.10714 10.55232 38.57145 14.38954 11.24999 1.9186 28.92856 3.8372 53.0357 3.8372H495v-47.00581h-12.85714c-28.92857 0-49.82142-3.83721-59.4643-11.51162-9.64285-7.67443-14.46426-23.98257-14.46426-50.84303 0-49.88372-1.60716-81.5407-3.2143-94.97094-4.82142-22.06395-12.85714-40.29069-27.32143-53.72092-14.46427-13.43024-33.75-23.98256-57.85713-30.69768 32.14285-10.55232 56.25-25.90116 69.10712-44.12791 12.85716-18.22674 19.28574-48.92442 19.28574-92.09302 0-39.33139 0-62.35465 1.60714-70.02907 1.60713-13.43023 8.03572-23.02326 16.07141-27.81977 9.64287-4.79651 27.32144-7.67442 54.64286-7.67442h12.85715V123.75h-24.10715c-27.32142 0-48.21427 1.91861-61.07141 4.79651-17.67858 4.79651-33.75001 11.51163-45 22.06396-11.25001 10.55232-19.28573 23.98256-22.50001 39.33139-3.21429 16.30814-4.82143 42.2093-6.42859 77.70349 0 36.45349-3.21427 61.39535-6.42855 74.82558-4.82144 13.43023-14.4643 24.94186-27.32144 32.61628-14.46427 7.67442-32.14286 12.47093-53.03571 12.47093z" fill="#3c790a"/>
</svg>

?

bathos commented 3 years ago

i love it, weight is more consistent with the circle-question-mark icon and it is just slightly psychologically unnerving to see an unmatched brace (good)

domenic commented 3 years ago

LGTM!

TimothyGu commented 3 years ago

@annevk Looks good!

(Here's a render for convenience)

webidl-whatwg

annevk commented 3 years ago

Status: at this point I consider everything ready for the move. What remains:

Sound good? (See https://github.com/heycam/webidl/issues/1016#issue-982830993 for the more detailed steps.)

foolip commented 3 years ago

I'm trying to make this the first static site we host on S3, but if it proves too time-consuming to figure out I will fall back to putting it on marquee.

foolip commented 3 years ago

https://webidl.spec.whatwg.org/ exists now, I've checked some of the boxes in the checklist.

triple-underscore commented 3 years ago

There are a number of paragraphs marked as class="advertisement" (and class="deprecated") which was presented with a specific style (for W3C's documents). They might need an appropriate style (or need to mark up as notes, etc.).

marcoscaceres commented 3 years ago

Just FYI, we need to figure out what to do with:

annevk commented 3 years ago

@marcoscaceres see https://github.com/w3c/whatwg-coord/issues/3. That's best tracked there.

I'll have a look at the minor styling issues today. Hopefully Tab can look at the ToC one.

marcoscaceres commented 3 years ago

Ok, great. Thanks!

annevk commented 2 years ago

This is done. Shepherd did well it seems and you can find a Review Draft here: https://webidl.spec.whatwg.org/review-drafts/.

ben221199 commented 1 month ago

Just FYI, we need to figure out what to do with:

I know this is an old (closed) issue, but why is http://www.w3.org/TR/WebIDL-1/ redirecting to https://webidl.spec.whatwg.org/ at this moment (28-08-2024)?

I understand that http://www.w3.org/TR/WebIDL/ does, because the one at WHATWG is the latest WebIDL specification, but I don't understand it for http://www.w3.org/TR/WebIDL-1/, because W3C published a recommendation for WebIDL Level 1 (https://www.w3.org/TR/2016/REC-WebIDL-1-20161215/) and the WHATWG specification is more like a living standard for WebIDL Level 2 (or just WebIDL 2).

I don't know if the people at WHATWG are able to disable this redirect at W3C, but if they do, I think this would make sense to do.

annevk commented 1 month ago

Hmm, no, the WHATWG standard supersedes all prior publications and levels. So this is accurate. This was decided in https://github.com/w3c/whatwg-coord/issues/3.

ben221199 commented 1 month ago

I see. I agree that it should be made clear that WebIDL Level 1 is superseded and that the spec at WHATWG is the up-to-date one, but I think I don’t agree that the redirect on that specific URL should be there. As example, https://www.w3.org/TR/DOM-Level-1/ still points to the latest DOM1 spec, even when it is superseded by DOM2, DOM3, DOM4 and the living WHATWG spec DOM5.

annevk commented 1 month ago

Perhaps that should redirect as well. The dated copies should not redirect however.

cc @sideshowbarker

ben221199 commented 1 month ago

No, DOM may redirect to DOM5 (the WHATWG) one, but DOM-1 should show the latest DOM-1 draft or recommendation. The same with WebIDL. WebIDL may redirect to WebIDL-2 (the WHATWG) one, but WebIDL-1 should show the latest WebIDL-1 draft or recommendation. The fact you redirect version 1 to version 2 is strange.

annevk commented 1 month ago

It's not your call, it's not called DOM5, and generally any of these being seen as levels or versions has been accepted as a mistake by the industry.

ben221199 commented 1 month ago

Agreed, it isn't my call, but I just gave my opinion on why I think that redirect shouldn't be there. I called it WebIDL 2 and DOM5 to distinguish it from the older W3C recommendations, like we did with HTML5 (as in: the thing that came after HTML4).