Skip to content

[web] Delete some remaining HTML renderer references - #185487

Merged
auto-submit[bot] merged 7 commits into
flutter:masterfrom
mdebbar:html_renderer
May 5, 2026
Merged

[web] Delete some remaining HTML renderer references#185487
auto-submit[bot] merged 7 commits into
flutter:masterfrom
mdebbar:html_renderer

Conversation

@mdebbar

@mdebbar mdebbar commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@mdebbar
mdebbar requested a review from harryterkelsen April 23, 2026 17:36
@mdebbar mdebbar added the CICD Run CI/CD label Apr 23, 2026
@github-actions github-actions Bot added a: text input Entering text in a text field or keyboard related problems framework flutter/packages/flutter repository. See also f: labels. engine flutter/engine related. See also e: labels. platform-web Web applications specifically labels Apr 23, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request removes references to the HTML renderer from the Flutter engine and framework, including documentation, the FastMatrix32 utility, and associated tests. The feedback suggests clarifying the useSkia documentation regarding the false case and provides a suggestion to improve the documentation for fontFallbackManager to better explain its purpose.

/// Using flutter tools option "--web-renderer=canvaskit" would set the value to
/// true.
///
/// Using flutter tools option "--web-renderer=html" would set the value to false.

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.

medium

The removal of the HTML renderer reference leaves the documentation for useSkia incomplete, as it now only describes the true case. It would be beneficial to update the documentation to explain what false represents in the current architecture (e.g., the Skwasm renderer).

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.

Should this be documented as deprecated or having no effect?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This flag basically means "use CanvasKit" today, so renaming it to FLUTTER_WEB_USE_CANVASKIT would be my preference but it's a breaking change.

I may rename useSkia to useCanvasKit` though in a future PR.

// have a font fallback manager and just relies on the browser to fall back
// properly.
FontFallbackManager? get fontFallbackManager;
/// The font fallback manager for this font collection.

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.

medium

The documentation for fontFallbackManager is quite sparse. Following the style guide's principle of 'Documentation should be useful', it should explain the purpose of the manager.

Suggested change
/// The font fallback manager for this font collection.
/// The font fallback manager used to find alternative fonts when a character is missing from the primary font.
References
  1. Documentation should be useful: Explain the why and the how. (link)

harryterkelsen
harryterkelsen previously approved these changes Apr 23, 2026

@harryterkelsen harryterkelsen left a comment

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.

LGTM

@mdebbar mdebbar added the CICD Run CI/CD label Apr 27, 2026
@mdebbar
mdebbar requested a review from harryterkelsen April 27, 2026 14:47
harryterkelsen
harryterkelsen previously approved these changes Apr 27, 2026

@harryterkelsen harryterkelsen left a comment

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.

LGTM

@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 28, 2026
@mdebbar mdebbar added the CICD Run CI/CD label Apr 28, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 29, 2026
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Apr 30, 2026
@github-actions github-actions Bot removed the CICD Run CI/CD label Apr 30, 2026
@mdebbar mdebbar added CICD Run CI/CD autosubmit Merge PR when tree becomes green via auto submit App labels Apr 30, 2026
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Apr 30, 2026
@auto-submit

auto-submit Bot commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

autosubmit label was removed for flutter/flutter/185487, because - The status or check suite Windows framework_tests_misc_leak_tracking has failed. Please fix the issues identified (or deflake) before re-applying this label.

@mdebbar mdebbar added autosubmit Merge PR when tree becomes green via auto submit App and removed autosubmit Merge PR when tree becomes green via auto submit App labels Apr 30, 2026

@harryterkelsen harryterkelsen left a comment

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.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: text input Entering text in a text field or keyboard related problems CICD Run CI/CD engine flutter/engine related. See also e: labels. framework flutter/packages/flutter repository. See also f: labels. platform-web Web applications specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants