Skip to content

Add relnote for adoptedStyleSheets in content scripts (bug 1751346)#44274

Merged
Rob--W merged 1 commit into
mdn:mainfrom
Rob--W:relnote-153-adoptedStyleSheets
May 29, 2026
Merged

Add relnote for adoptedStyleSheets in content scripts (bug 1751346)#44274
Rob--W merged 1 commit into
mdn:mainfrom
Rob--W:relnote-153-adoptedStyleSheets

Conversation

@Rob--W
Copy link
Copy Markdown
Member

@Rob--W Rob--W commented May 27, 2026

Description

Add Firefox 153 release note entry to document support for adoptedStyleSheets in content scripts.

Motivation

I have encountered multiple extension developers online and offline that were impacted by a quirk in adoptedStyleSheets support in Firefox's content scripts. I fixed the issue in https://bugzilla.mozilla.org/show_bug.cgi?id=1751346, and it is worth calling out this fix so extensions can stop using their current work arounds.

Additional details

https://bugzilla.mozilla.org/show_bug.cgi?id=1751346

Related issues and pull requests

@Rob--W Rob--W requested a review from rebloor May 27, 2026 12:33
@Rob--W Rob--W requested a review from a team as a code owner May 27, 2026 12:33
@Rob--W Rob--W added the Content:WebExt WebExtensions docs label May 27, 2026
@Rob--W Rob--W requested review from dipikabh and removed request for a team May 27, 2026 12:33
@github-actions github-actions Bot added Content:Firefox Content in the Mozilla/Firefox subtree size/xs [PR only] 0-5 LoC changed and removed Content:WebExt WebExtensions docs labels May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 27, 2026

Preview URLs (1 page)

External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/153
Title: Firefox 153 release notes for developers (Nightly)

(comment last updated: 2026-05-29 17:18:24)

@Rob--W Rob--W force-pushed the relnote-153-adoptedStyleSheets branch from c4ef045 to 6ec627e Compare May 27, 2026 12:39
Comment thread files/en-us/mozilla/firefox/releases/153/index.md Outdated
Copy link
Copy Markdown
Contributor

@rebloor rebloor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rob--W looks good to me

@rebloor
Copy link
Copy Markdown
Contributor

rebloor commented May 29, 2026

@Rob--W This one has me foxed. The changed file view shows the incorrect macro specification. However, when I try to edit the file to fix it, it shows as correct. When I try to update the branch and get the message “Head branch was modified. Review and try the merge again.”
image

@Rob--W
Copy link
Copy Markdown
Member Author

Rob--W commented May 29, 2026

@Rob--W This one has me foxed. The changed file view shows the incorrect macro specification. However, when I try to edit the file to fix it, it shows as correct. When I try to update the branch and get the message “Head branch was modified. Review and try the merge again.”
image

I mistakenly used one backtick instead of a quote in an old commit, but I have fixed that up and force pushed the branch shortly after the PR was created.

@Rob--W
Copy link
Copy Markdown
Member Author

Rob--W commented May 29, 2026

Oddly, I do see that the Github view has not been updated. I'll try to push again to see if that fixes it up.

@Rob--W Rob--W force-pushed the relnote-153-adoptedStyleSheets branch from f5aa7ea to 8ae607a Compare May 29, 2026 17:16
@Rob--W
Copy link
Copy Markdown
Member Author

Rob--W commented May 29, 2026

I couldn't push the changes because upstream was the same as my local branch, so I fetched upstream, rebased locally and force-pushed again. Now Github's UI appears to have the expected state.

@Rob--W Rob--W merged commit 8039a6d into mdn:main May 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Firefox Content in the Mozilla/Firefox subtree size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants