Title: Bump soupsieve from 2.10 to 4.0 by dependabot[bot] · Pull Request #217 · DiamondLightSource/pythonSoftIOC · GitHub
Open Graph Title: Bump soupsieve from 2.10 to 4.0 by dependabot[bot] · Pull Request #217 · DiamondLightSource/pythonSoftIOC
X Title: Bump soupsieve from 2.10 to 4.0 by dependabot[bot] · Pull Request #217 · DiamondLightSource/pythonSoftIOC
Description: Bumps soupsieve from 2.10 to 4.0.
Release notes
Sourced from soupsieve's releases.
4.0
BREAK: The contents of an HTML template are no longer treated as part of the document. Selectors do not
descend into a template, and elements inside one can't see beyond it, which also applies to pseudo-classes such
as :lang(), :disabled, and :default. select and filter will still reach the contents of a template when
they are called on the template itself, for example soup.template.select('p'). See the
FAQ for more information.
BREAK: The contents of an iframe are no longer treated as a separate document, as they are not one in a
browser. Elements in an iframe are normal children, so :root does not match them, and :default,
:indeterminate, :checked, :dir(), :lang(), and :read-write treat them like any other element. Recent
versions of html.parser, lxml, and html5lib all escape the contents of an iframe like a browser does, so
this mostly affects XHTML, Python versions that still don't escape such content in their specific html.parser,
and elements added to an iframe by hand. :-soup-contains() now also includes the escaped text in an iframe.
See the FAQ for more information.
NEW: Update :disabled and :enabled to treat option and optgroup elements inside a disabled select as
disabled, following a recent HTML specification update.
FIX: Fix the subsequent-sibling combinator and :has(~ ...) never matching top level elements of a fragment
that has no root element, unless caching was disabled.
FIX: :indeterminate now treats a radio button group without a form as extending across the whole document
instead of the top level element that contains it, and it no longer ignores radio buttons at the top level.
FIX: Fix :default to treat a button with a missing or invalid type, and an input with type="image",
as submit buttons.
FIX: Fix :in-range and :out-of-range raising TypeError when the document contains an input without a
type attribute.
FIX: :read-write (and :read-only) now treat contenteditable="plaintext-only" elements as editing hosts and
match the editable elements inside an editing host, following the nearest contenteditable state.
FIX: :read-write (and :read-only) now ignore contenteditable on non-HTML elements, such as an SVG
foreignObject, as the attribute only applies to HTML elements. Such elements inherit the state of their parent.
FIX: :checked now only matches the last radio button with a checked attribute in a radio button group, as
in a browser, where a group is the radio buttons with the same name and form, including the form attribute.
:default still matches all of them, and the contents of a template are unaffected as they are not connected.
FIX: :dir() and :defined no longer affect the rest of the selector list they are in. Previously, a selector
list that used either of them could not have its combinators cross an iframe, ignored the specified namespaces,
and matched nothing in XML, not even the parts that didn't use them. They still do not match in XML, but
:not(:dir(ltr)) and :not(:defined) now do.
FIX: :default and :indeterminate now honor the form attribute, which can associate a submit button or
radio button with a form it is not in, or leave it without a form. It is ignored in a template, as in the HTML
specification. Submit buttons outside of a form can now be its default button.
FIX: :default, :checked, and :indeterminate now handle a form inside a form like a browser. In HTML, a
browser ignores the nested form and takes its end tag for that of the parent, which matters for parsers that keep
the nested form, such as html.parser. In XHTML and in a template, nested forms are real forms.
FIX: :checked now matches the option that a browser would select. Without multiple, that is only the
last option with a selected attribute in a select, and if there are none and the select shows a single
option, the first option that is not disabled. :default still only considers the selected attribute.
FIX: Fix [attribute!=value] excluding values that only start with the specified value, and in XML documents,
type values that contain a newline.
FIX: Match the values of every attribute that the HTML specification lists as ASCII case insensitive (rel,
method, lang, dir, ...) without ASCII case sensitivity on HTML elements in HTML documents, not just type.
Non-HTML elements are matched case sensitively.
FIX: :dir() now matches non-HTML elements, such as SVG and MathML, by the direction they inherit from their
... (truncated)
Commits
ff1a5ce Cache ancestor matches in the descendant combinator (#351)
144deae Update docs
cce8eb5 Fix iframe tests
fcfde02 Respect iframe boundary and ensure behavior matches browsers
f78ac28 Various spec fixes
d305d43 Generally fix template handling (#349)
cedc978 Respect namespaces provided by the parser when root is not HTML element (#348)
d0e5402 Various :dir fixes (#347)
b7bc7d7 Inherit the direction of non-HTML elements in :dir() (#346)
33f9057 Allow spaces or T in datetime-local value
Additional 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 rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show
Open Graph Description: Bumps soupsieve from 2.10 to 4.0. Release notes Sourced from soupsieve's releases. 4.0 BREAK: The contents of an HTML template are no longer treated as part of the document. Selectors do not...
X Description: Bumps soupsieve from 2.10 to 4.0. Release notes Sourced from soupsieve's releases. 4.0 BREAK: The contents of an HTML template are no longer treated as part of the document. Selectors do...
Opengraph URL: https://github.com/DiamondLightSource/pythonSoftIOC/pull/217
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5160e1ae-6dea-fad5-6c28-43263894d95e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D3C6:581DC:312DEB:43828E:6B044F8B |
| html-safe-nonce | 7cf27d2ba23157893e58c0b7cb4c02062ba186b6cfcd199b5c75c4f29bc7fef9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0M2OjU4MURDOjMxMkRFQjo0MzgyOEU6NkIwNDRGOEIiLCJ2aXNpdG9yX2lkIjoiNzI3MTcyNDgzNjYwNDAyNTcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 772ac36b726665a712795de8b193a7fb19d9058c797743c9f9e06c648d64c2fb |
| hovercard-subject-tag | pull_request:5334176646 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/DiamondLightSource/pythonSoftIOC/pull/217/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps soupsieve from 2.10 to 4.0. Release notes Sourced from soupsieve's releases. 4.0 BREAK: The contents of an HTML template are no longer treated as part of the document. Selectors do not... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/DiamondLightSource/pythonSoftIOC git https://github.com/DiamondLightSource/pythonSoftIOC.git |
| octolytics-dimension-user_id | 1233618 |
| octolytics-dimension-user_login | DiamondLightSource |
| octolytics-dimension-repository_id | 20049394 |
| octolytics-dimension-repository_nwo | DiamondLightSource/pythonSoftIOC |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20049394 |
| octolytics-dimension-repository_network_root_nwo | DiamondLightSource/pythonSoftIOC |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width