-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[web] Move text editing nodes outside of shadowDOM - reopened #40904
Conversation
…ove platform views under glass pane, fix tests and naming
@@ -62,7 +63,10 @@ class FlutterViewEmbedder { | |||
/// Abstracts all the DOM manipulations required to embed a Flutter app in an user-supplied `hostElement`. | |||
final EmbeddingStrategy _embeddingStrategy; | |||
|
|||
// The tag name for the root view of the flutter app (glass-pane) | |||
// The tag name for the Flutter View, which hosts the app. | |||
static const String flutterViewTagName = 'flutter-view'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yjbanov can this be flt-view
? Custom elements work off the tag name, and I wouldn't want to have collisions if we ever implement custom element stuff.
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested this with my latest experiment app, and it seems to be working well.
Have you checked the tests in other repos so this can land @htoor3?
Yes, the There is a framework test that will need a fix: flutter/flutter#124160 And it looks like there are some internal g3 tests that will likely be affected that I'll need to fix. |
I'm still seeing failing tests on an engine roll that contains this change: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8784608634967978705/+/u/run_test.dart_for_web_long_running_tests_shard_and_subshard_5_5/test_stdout Is this expected? |
Revert landed here: #40960 |
…ions) (#124300) Manual roll requested by zra@google.com flutter/engine@610cdf0...1ec74c6 2023-04-06 110993981+htoor3@users.noreply.github.com Revert "[web] Move text editing nodes outside of shadowDOM - reopened" (flutter/engine#40960) 2023-04-05 110993981+htoor3@users.noreply.github.com [web] Move text editing nodes outside of shadowDOM - reopened (flutter/engine#40904) 2023-04-05 30870216+gaaclarke@users.noreply.github.com [Impeller] adjusted the rotated text test to have an opaque background and account for screen scale (flutter/engine#40954) 2023-04-05 jacksongardner@google.com Copy canvaskit files directly into `flutter_web_sdk` (flutter/engine#40951) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
We hadn't seen the failures on |
Thanks @ditman. |
…ions) (flutter#124300) Manual roll requested by zra@google.com flutter/engine@610cdf0...1ec74c6 2023-04-06 110993981+htoor3@users.noreply.github.com Revert "[web] Move text editing nodes outside of shadowDOM - reopened" (flutter/engine#40960) 2023-04-05 110993981+htoor3@users.noreply.github.com [web] Move text editing nodes outside of shadowDOM - reopened (flutter/engine#40904) 2023-04-05 30870216+gaaclarke@users.noreply.github.com [Impeller] adjusted the rotated text test to have an opaque background and account for screen scale (flutter/engine#40954) 2023-04-05 jacksongardner@google.com Copy canvaskit files directly into `flutter_web_sdk` (flutter/engine#40951) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Password input autofill + suggest password functionality is broken for password inputs inside of a shadowDOM on chrome. This experiment is testing to see if we can lift text editing nodes outside of the shadowDOM while maintaining functionality.
Tree goes from:
to: