Repository navigation
Bump AngleSharp and AngleSharp.Css - #1964
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps AngleSharp from 1.8.6 to 1.9.0 Bumps AngleSharp.Css from 1.2.0 to 1.3.1 --- updated-dependencies: - dependency-name: AngleSharp dependency-version: 1.9.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: AngleSharp.Css dependency-version: 1.3.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This was referenced Nov 2, 2026
This branch has not been deployed
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.
Updated AngleSharp from 1.8.6 to 1.9.0.
Release notes
Sourced from AngleSharp's releases.
1.9.0
Released on Friday, October 30 2026.
What's Changed
TextContent,:contains(),GetElementById,GetElementsByName,GetElementsByClassName,GetElementsByTagNameandNormalize, which also continue with an explicit stack below 128 levels instead of recursing (#1389) @michaelthyregodIHtmlParser.ParseFragmentand of inserting many nodes at once (Append,Prepend, ...): finding a template's host no longer scans the whole document, and removing a node's last child no longer scans its siblingsinnerHTML) takes linear time; each node with children also allocates one object lesstable, a text run split by ignored end tags (x</q>x</q>...), and repeatedhtml/bodystart tags piling up attributes; attribute name lookups on elements with many attributes no longer scan them:has(): relative arguments only walk what they can reach (:has(> a)the descendants,:has(+ a)/:has(~ a)the following siblings) instead of the parent's whole subtree, the walk no longer allocates, and a:has()is tested after the rest of its compound and its ancestor chain, so rules such as.tree :has(.skeleton):hoveronly walk subtrees of hovered elements inside.treesetIntervalwith a delay of 0 never yielding: every round completed synchronously and queued tasks until memory ran out; a negative delay ofsetTimeoutorsetIntervalthrew instead of counting as 0 (nested intervals now wait at least 4ms, as in browsers)ParseFragment,innerHTML) to break out ofsvg/mathon HTML start tags such asp,bordiv, which previously stayed foreign elementsCreateElement<TElement>()depending on reflection that trimming can break;IElement,IHtmlElementandISvgElementnow throw instead of returning an arbitrary element @michaelthyregodIHtmlParser.ParseFragmentto keep an SVG or MathML context element in its namespace (and anannotation-xmlcontext'sencoding), instead of parsing as if the context were an HTML element of the same name, and to find aformancestor of the context, so a nested<form>start tag is ignored as withinnerHTMLtemplateinto its own contents not throwing aHierarchyRequestErrorAwaitEventAsyncremoving its listener off-thread while a dispatch was still running (#1397) @michaelthyregodIHtmlSelectElement.SelectedIndexgaining a setter; setOptions.SelectedIndexto change the selection (#1395) @SimonCroppAwaitEventAsyncoverload taking aCancellationToken@michaelthyregodIsAotCompatible) for the .NET 8 and .NET 10 targets (#1398) @michaelthyregodSubmitAsync,Attr,VirtualResponse.HeadersandToDictionary, which calls with an anonymous object bind to when recompiled; theObjectoverloads are now obsolete @michaelthyregodNew Contributors
Full Changelog: AngleSharp/AngleSharp@v1.8.6...v1.9.0
Commits viewable in compare view.
Updated AngleSharp.Css from 1.2.0 to 1.3.1.
Release notes
Sourced from AngleSharp.Css's releases.
1.3.1
Released on Sunday, November 1 2026.
What's Changed
MaxNestingDepth) (#258) @michaelthyregodRender(element, parent)to the window, rendering the subtree of an element again below its parent's render node from an earlier render tree (e.g. after its inline style changed)Cssoverload; theObjectoverload is obsolete (#257) @michaelthyregodNew Contributors
Full Changelog: AngleSharp/AngleSharp.Css@v1.3.0...v1.3.1
1.3.0
Released on Wednesday, October 28 2026.
What's Changed
:root)position: absoluteorfloat) to not merge all inherited declarations into the element's computed style[data-color-mode]) and by the arguments of:is(),:where(), and:matches(), and to skip rules with an invalid selectorborder: var(--w) solid var(--c)) and the tokens of custom properties across elements::beforeand::afterby grouping the rules targeting pseudo-elements by the id, class, or tag name of the element they belong to, instead of matching all of them against every elementborder-bottom-width), which looked through the declarations of all ancestors, and of the shorthands containing it, only to discard what it found(min-width: 768px)) again for each style computation*(the IE7 hack*zoom: 1) being taken for a nested rule that swallowed the following declarations or the rest of the style sheet; it is dropped up to its semicolonbackgroundshorthand with a single position keyword followed by another value (e.g.background: url(i.svg) center no-repeatorcenter red) being dropped as invalid1.12em), which only quirks mode gives themCssParserOptions.IsNotResolvingRelativeUrlsto prevent resolving the relative URLs in linked and imported style sheetsfont-variant-east-asian(normal,jis78/jis83/jis90/jis04/simplified/traditional,full-width/proportional-width,ruby), which used to be dropped as an unknown propertyinnerWidth,innerHeight, anddevicePixelRatioto the window, taken from the render deviceFull Changelog: AngleSharp/AngleSharp.Css@v1.2.2...v1.3.0
1.2.2
Released on Sunday, October 25 2026.
What's Changed
::beforeand::afterwithout acontentdeclarationremin thefont-sizeof the root element (now refers to the initial font size)(width >= 600px),(400px < width <= 700px)), which never matchedor, nested conditions ((a) and ((b) or (c))), andnotapplying to the whole query(width < calc(50rem + 2rem))), which were invalidvar()substitution separating tokens with comments where they could not merge (e.g.minmax(/**/15rem/**/,1fr)), which made grid track lists invalidgapwith a single value (e.g.gap: 8pxorgap: var(--gap)) not settingcolumn-gappadding-inline,margin-inline-end,inset-inline-start,inline-size) not applying to the physical sides; they are now mapped according towriting-modeanddirection, sharing one cascade with the physical propertiesorientationmedia feature to follow the viewport instead of the devicematchMediathrowing for an invalid query instead of evaluating it asnot allli:after) not applying to the pseudo-elementli:first-child::after) being matched against the pseudo-element instead of its originating elementbackgroundshorthand not acceptingcurrentcoloras its coloraspect-rationot accepting a single number (e.g.aspect-ratio: 1.8, meaning1.8 / 1)grid-area: leadingVisual) and other custom identifiers (view-transition-name,anchor-name,position-anchor,animation-timeline,font-palette) being lowercased, so they no longer matched case-sensitive names like the ones ofgrid-template-areasemand percentage lengths throwing for an element withfont-size: 0or an empty box (e.g. intranslate())@layer) to the cascade, whose rules were ignored before:host) with slots showing their assigned nodes, unless hidden:hostrules of a shadow tree styling the shadow host in the render tree; they lose against the author rules of the host's own tree unless important<img width=40 height=30>,<td width>) andbgcolor/text/colorattributes map to their CSS properties, before all author rulesFull Changelog: AngleSharp/AngleSharp.Css@v1.2.1...v1.2.2
1.2.1
Released on Friday, October 23 2026.
What's Changed
displaynot blockified for floatsdisplaynot blockified for absolutely positioned boxesdisplaynot blockified for the root element::placeholderFull Changelog: AngleSharp/AngleSharp.Css@v1.2.0...v1.2.1
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)