Skip to content

Bug 2065136 - SVG text shouldn't allow generated content. - #342

Closed
emilio wants to merge 1 commit into
mozilla-firefox:autolandfrom
emilio:svg-text-abspos
Closed

Bug 2065136 - SVG text shouldn't allow generated content.#342
emilio wants to merge 1 commit into
mozilla-firefox:autolandfrom
emilio:svg-text-abspos

Conversation

@emilio

@emilio emilio commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Restores pre-regression and interoperable behavior.

Restores pre-regression and interoperable behavior.
@lando-web
lando-web Bot requested a review from a team August 20, 2026 19:34
@emilio
emilio requested a review from a team August 20, 2026 19:34
@github-actions

Copy link
Copy Markdown
Contributor

View this pull request in Lando to land it once approved.

@@ -4815,7 +4815,8 @@ nsCSSFrameConstructor::FindSVGData(const Element& aElement,
SIMPLE_SVG_CREATE(defs, NS_NewSVGContainerFrame),
{nsGkAtoms::text,
{NS_NewSVGTextFrame,
FCDATA_DISALLOW_OUT_OF_FLOW | FCDATA_ALLOW_BLOCK_STYLES,
FCDATA_DISALLOW_OUT_OF_FLOW | FCDATA_ALLOW_BLOCK_STYLES |
FCDATA_DISALLOW_GENERATED_CONTENT,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(Ah, I guess it wasn't needed before because NAC was broadly disallowed prior to bug 1850539

@lando-web lando-web Bot changed the title Bug 2065136 - SVG text shouldn't allow generated content. r=#layout Aug 21, 2026
lando-worker Bot pushed a commit that referenced this pull request Aug 21, 2026
Restores pre-regression and interoperable behavior.

Pull request: #342
@lando-worker

lando-worker Bot commented Aug 21, 2026

Copy link
Copy Markdown

Pull request closed by commit b953757

@lando-worker lando-worker Bot closed this Aug 21, 2026
lando-worker Bot pushed a commit that referenced this pull request Aug 21, 2026
Restores pre-regression and interoperable behavior.

Pull request: #342

Differential Revision: https://phabricator.services.mozilla.com/D320383
moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Aug 21, 2026
Restores pre-regression and interoperable behavior.

Pull request: mozilla-firefox/firefox#342

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2065136
gecko-commit: eb12e80b6c5cd8340aa47bf40131e062bb95907f
gecko-commit-git: b9537570d78577ed7f170bd85395c1034bb5ec76
gecko-reviewers: dshin
lando-worker Bot pushed a commit that referenced this pull request Aug 23, 2026
…ONTBUILD

Restores pre-regression and interoperable behavior.

Pull request: #342

Differential Revision: https://phabricator.services.mozilla.com/D320384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants