Broiler.Dom.Html 0.1.0-preview.14

This is a prerelease version of Broiler.Dom.Html.
dotnet add package Broiler.Dom.Html --version 0.1.0-preview.14
                    
NuGet\Install-Package Broiler.Dom.Html -Version 0.1.0-preview.14
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Broiler.Dom.Html" Version="0.1.0-preview.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Broiler.Dom.Html" Version="0.1.0-preview.14" />
                    
Directory.Packages.props
<PackageReference Include="Broiler.Dom.Html" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Broiler.Dom.Html --version 0.1.0-preview.14
                    
#r "nuget: Broiler.Dom.Html, 0.1.0-preview.14"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Broiler.Dom.Html@0.1.0-preview.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Broiler.Dom.Html&version=0.1.0-preview.14&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Broiler.Dom.Html&version=0.1.0-preview.14&prerelease
                    
Install as a Cake Tool

Broiler.DOM

The canonical, dependency-free DOM and HTML parsing component for Broiler, targeting .NET 10.

It contains:

  • Broiler.Dom: document, node, element, attribute, mutation, range, and traversal primitives.
  • Broiler.Dom.Html: HTML tokenization, document and fragment parsing, tree building, and serialization.

Continuous integration and publishing

Every push and pull request builds both libraries on Linux and Windows, runs both test suites, and packs the two packages to prove they still build. Both legs run the same platform-neutral code deliberately: a tokenizer is where two hosts disagree about newlines, string comparison and culture, and the character-reference decoding this component hands to the platform is a different platform on each.

Publish pushes to NuGet.org only, with automatic preview versions; CI packs every package and verifies a consumer restore on every run without pushing. See CI, packages, and releases for configuration, credentials, and local packaging commands.

Standards and rights

Both bodies that have stewarded the DOM and HTML — the WHATWG and the W3C — operate royalty-free patent policies. Both bind participants over Essential Claims and both let a participant exclude specific patents during a disclosure window, so neither is a statement that no relevant claim exists.

That, and what this repository does and does not contain, is recorded in the DOM IP and licensing register, where every row is now decided. Decided is not cleared: no lawyer reviewed it, patent-freedom is not claimed, and no freedom-to-operate determination has been made. Both patent policies let a participant exclude patents during a disclosure window, which is what keeps a royalty-free commitment from being a finding that no claim exists.

One finding is worth repeating outside the register. The HTML Standard's named character reference table — roughly 2,231 entries, and the largest thing an HTML parser might copy — is not in this repository. Two call sites hand the work to System.Net.WebUtility, and a guard test fails the build if a transcribed table ever appears. Neither library takes a package reference, no third-party conformance suite is committed, and no specification text is reproduced.

This component is a tokenizer, a tree builder and a serializer. It is not a browser engine and nothing here may describe it as one, or as HTML5-conformant.

Preview status

This is first-preview software. Its API and behavior may change without compatibility guarantees. Substantial implementation work was AI-assisted. Human-review approval is revision-scoped; consult HUMAN_REVIEW.md for the reviewed revision and conditions before describing the current checkout as approved.

Broiler.DOM is an independent Broiler component. It interoperates with Broiler.HTML, whose rendering lineage comes from HTML Renderer, but it must not be represented as an official HTML Renderer component or as endorsed by that project's contributors.

Ownership and compatibility

Broiler.Dom is the only mutable tree and owns engine-neutral DOM algorithms; Broiler.Dom.Html owns parsing and serialization. Renderer geometry and JavaScript wrappers remain in HtmlBridge because they depend on computed style, layout, or the script runtime.

The current HtmlBridge pipeline consumes this canonical model directly. Bridge-owned JavaScript wrappers do not constitute a second DOM tree, and bridge compatibility or public-surface work is owned by the main Broiler repository rather than this component.

Build and test

dotnet build Broiler.Dom.slnx
dotnet test Broiler.Dom.slnx

Documentation

License

Broiler.DOM is licensed under the Apache License 2.0. Third-party material, if present, retains the license identified with that material. The license provides the software on an “AS IS” basis, without warranties or conditions.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Broiler.Dom.Html:

Package Downloads
Broiler.HTML.Dom

HTML parsing into the Broiler DOM and the layout environment for the Broiler.HTML renderer.

Broiler.HtmlBridge.Core

Shared HtmlBridge DOM models, logging, scripting support, and lightweight bridge infrastructure.

Broiler.Documents.Html

HTML document codec for Broiler.Documents over the canonical Broiler DOM and HTML parser.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.14 804 10/7/2026
0.1.0-preview.13 581 10/6/2026
0.1.0-preview.12 154 10/6/2026
0.1.0-preview.11 926 9/25/2026
0.1.0-preview.10 56 9/25/2026
0.1.0-preview.9 75 9/25/2026
0.1.0-preview.8 641 9/22/2026
0.1.0-preview.7 439 9/22/2026