Skip to content

[css-images-4][css-shapes-2][editorial] Fetching an image/shape requires a declaration block - #12889

Merged
noamr merged 1 commit into
w3c:mainfrom
cdoublev:pr-12889
Oct 30, 2025
Merged

noamr merged 1 commit into
w3c:mainfrom
cdoublev:pr-12889

Conversation

@cdoublev

@cdoublev cdoublev commented Oct 1, 2025 •

Copy link
Copy Markdown
Collaborator

This is an obvious bugfix, I think.

The declaration passed from the updated algorithms ultimately arrives in resolve and compute a style resource URL, which are specified as receiving a CSS rule or declaration block, to access some internal properties (base URL, or location) of the associated CSSStyleSheet.

A declaration is not specified with any property that allows access to the needed internal properties of the associated style sheet.

A CSS declaration block has access to a parent rule, which has access to a parent style sheet.

@noamr
noamr merged commit e9cb4a0 into w3c:main Oct 30, 2025
1 check passed
@cdoublev
cdoublev deleted the pr-12889 branch October 30, 2025 21:02
AtkinsSJ added a commit to AtkinsSJ/ladybird that referenced this pull request Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants