WHATWG HTML Standard VS dom

Compare WHATWG HTML Standard vs dom and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
WHATWG HTML Standard dom
137 30
7,695 1,535
2.0% 1.8%
9.4 6.5
3 days ago 7 days ago
HTML HTML
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

WHATWG HTML Standard

Posts with mentions or reviews of WHATWG HTML Standard. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-13.
  • Here are the 10 projects I am contributing to over the next 6 months. Share yours
    13 projects | dev.to | 13 Apr 2024
    WHAT-WG HTML
  • Add Writingsuggestions="" Attribute
    1 project | news.ycombinator.com | 12 Mar 2024
  • Streaming HTML out of order without JavaScript
    5 projects | news.ycombinator.com | 1 Mar 2024
    There's a long-standing WHATWG feature request open for it here: https://github.com/whatwg/html/issues/2791

    And several userland custom element implementation, like https://www.npmjs.com/package//html-include-element

    One of the cool things that you can do with client-side includes and shadow DOM is render the included HTML into a shadow root that has s, so that the child content of the include element is slotted into a shell implemented by the included HTML.

    This lets you do things like have the main page be the pre-page content and the included HTML be a heavily cached site-wide shell, and then another per-user include with personalized HTML - all cached appropriately.

  • An HTML Switch Control
    4 projects | news.ycombinator.com | 28 Feb 2024
  • YouTube video embedding harm reduction
    2 projects | news.ycombinator.com | 28 Feb 2024
    The `allow` attribute on iframes is a relatively recent API addition from 2017

    https://github.com/whatwg/html/pull/3287

  • Htmz – a low power tool for HTML
    10 projects | news.ycombinator.com | 19 Feb 2024
    I think there's a pretty strong argument at this point for this kind of replacing DOM with a response behavior being part of the platform.

    I think the first step would be an element that lets you load external content into the page declaratively. There's a spec issue open for this: https://github.com/whatwg/html/issues/2791

    And my custom element implementation of the idea: https://www.npmjs.com/package/html-include-element

    Then HTML could support these elements being targets of links.

  • The Ladybird Browser Project
    8 projects | news.ycombinator.com | 6 Feb 2024
    > Consider https://www.ietf.org/rfc/rfc1866.txt vs https://html.spec.whatwg.org/multipage/

    I thought, oh, that's not so bad. Then I realized what I was looking at was a 10 page index.

  • HTML Living Standard
    1 project | news.ycombinator.com | 28 Jan 2024
  • Is Htmx Just Another JavaScript Framework?
    9 projects | news.ycombinator.com | 11 Jan 2024
    I'd love to see something like HTMX get standardized, but I'm extremely pessimistic for HTMX's prospects for standardization in HTML.

    In talking to a few standards folks about it, they've all said, "oh, yeah, you want declarative AJAX; people have tried and failed to get that standardized for years." Even just trying to get

    to target a section of the page that isn't an has been argued about and hashed out for years.<p>Why is that? Well, for example, here's the form you have to fill out to start standardizing a front-end feature. <a href="https://github.com/whatwg/html/issues/new?assignees=&labels=addition%2Fproposal%2Cneeds+implementer+interest&projects=&template=1-new-feature.yml">https://github.com/whatwg/html/issues/new?assignees=&labels=...</a><p>It asks three main questions:<p>* What problem are you trying to solve?
  • New in Chrome 120 back button detection
    3 projects | news.ycombinator.com | 5 Dec 2023
    The issue with a single global event handler is discussed here: https://github.com/WICG/close-watcher#a-single-event

    If you use popover="", you get the kind of functionality you're discussing for free. For

    , the discussion is in progress and reaching a conclusion: https://github.com/whatwg/html/issues/9373

dom

Posts with mentions or reviews of dom. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-25.
  • A Response to "Have Single-Page Apps Ruined the Web?"
    3 projects | news.ycombinator.com | 25 Apr 2024
    in plain htmx, you can target an area that doesn't disrupt a playing video (e.g. the comments box appending to the comments) or you can use a morphing algorithm that disrupts the DOM less.

    i have my own morphing algorithm (and a corresponding htmx plugin that allows you to use it) called idiomorph:

    https://github.com/bigskysoftware/idiomorph/

    i've also been working with the chrome team to get a feature added they are calling "atomic moves":

    https://github.com/whatwg/dom/issues/1255

    this would allow us to move elements around in the DOM without losing things like play state or focus or whatever

    very excited for this last idea, I think it will be a huge boon for the web in general, not just for htmx

  • HTML Attributes vs. DOM Properties
    2 projects | news.ycombinator.com | 24 Apr 2024
    What I said in my previous comment is observably true. Try making a demo where it isn't.

    > A DOM node is a living mutable thing, but the JavaScript object representing that node is not.

    The JavaScript object is mutable. The first example in the article shows this.

    > That is also why a node list is not an array.

    Modern APIs on the web return platform arrays (eg JavaScript arrays). https://webidl.spec.whatwg.org/#js-sequence - here's where the WebIDL spec specifies how to convert a sequence to a JavaScript array.

    I'm fully aware of NodeList. There's a reason the spec calls them "old-style" https://dom.spec.whatwg.org/#old-style-collections

    > I can understand how this is confusing if you have never operated without a framework, but otherwise it’s really straightforward

    Sighhhhhh. I've been a web developer for over 20 years, and spent a decade on the Chrome team working on web platform features. Most of my career has been on the low-level parts of the platform.

    Could it be possible that people are disagreeing with you, not because they're stupid, but because you're in the wrong? Please try to be open minded. Try creating some demos that test your opinions.

  • Using XPath in 2023
    8 projects | news.ycombinator.com | 16 Jul 2023
    Domenic Denicola (the man who ruined promises) probably will as well.

    https://github.com/whatwg/dom/issues/67

  • Which browser do you recommend, one for personal security-focused use and one for work?
    1 project | /r/browsers | 8 Jun 2023
    I'm pretty sure it is, since I get "TypeError: nodes[i].parentNode.href is undefined" and "TypeError: $mainmenu.parent(...).get(...) is undefined" errors on both Pale Moon and LibreWolf. Which is part of Shadow/DOM, and originated from google (https://hacks.mozilla.org/2015/06/the-state-of-web-components/). Not sure when this particular thing was introduced, since it's a "living standard"/experimental feature (https://dom.spec.whatwg.org/).
  • That people produce HTML with string templates is telling us something
    16 projects | news.ycombinator.com | 26 May 2023
    JSX chose to align names to the DOM spec [0]. Same for htmlFor and friends.

    [0] https://dom.spec.whatwg.org/#ref-for-dom-element-classname%E...

  • Notback BETA - A new PHP frontend framework
    5 projects | /r/PHP | 28 Mar 2023
    You can see why I say this here: https://dom.spec.whatwg.org
  • Understanding the Benefits of "Quirky" Web Languages
    6 projects | dev.to | 28 Mar 2023
    The product logos in this article's cover image include different languages and technologies some of which are still relevant for web development today: HTML, CSS, JavaScript / ES / TypeScript (and the DOM), SVG, PDF, PHP, SQL (mySQL, MariaDB), mongoDB, Node.js (the most successful server-side implementation of JavaScript so far).
  • Declarative Shadow DOM
    5 projects | news.ycombinator.com | 13 Feb 2023
    Thanks for the shout-out! I think I mention this in the talk, but note that YMMV. I designed that benchmark as a kind of "worst-case scenario" where shadow DOM / scoped styles really show a benefit. Depending on your CSS rules, DOM size, and amount of thrashing, the perf benefit could be small to large.

    Also, it's still possible to shoot yourself in the foot, especially if you have a large/complex stylesheet repeated across multiple shadow roots. (Not because of the repetition – that's optimized in browsers [1] – but rather because of the number of DOM nodes affected.)

    That said, I still think the perf benefits of shadow DOM have been undersung. And Declarative Shadow DOM makes it way more useful.

    [1]: https://github.com/whatwg/dom/issues/831#issuecomment-585489...

  • HTML DOM ️loves Javascript! 💕 #TLA 😘
    1 project | dev.to | 23 Jan 2023
    We luh-luh-luv you! They gestated and nurtured the spec. They fought over bike sheds! All for us!!
  • AI Found a Bug in My Code
    3 projects | news.ycombinator.com | 16 Nov 2022

What are some alternatives?

When comparing WHATWG HTML Standard and dom you can also consider the following projects:

caniuse - Raw browser/feature support data from caniuse.com

hyperHTML - A Fast & Light Virtual DOM Alternative

WebKit - Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.

extension-manager - A utility for browsing and installing GNOME Shell Extensions.

standards-positions

brutal - 🏢 An operating system inspired by brutalist design that combines the ideals of UNIX from the 1970s with modern technology and engineering

Retroactive - Retroactive only receives limited support. Run Aperture, iPhoto, and iTunes on macOS Sonoma, macOS Ventura, macOS Monterey, macOS Big Sur, and macOS Catalina. Xcode 11.7 on macOS Mojave. Final Cut Pro 7, Logic Pro 9, and iWork ’09 on macOS Mojave or macOS High Sierra.

IntersectionObserver - Intersection Observer

browser

Isotope - :revolving_hearts: Filter & sort magical layouts

exploits

domdiff - Diffing the DOM without virtual DOM