Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Feb 23, 2021

When a paragraph contains only one placeholder and no text, it causes 3 issues:

  • An infinite loop during paragraph layout.
  • Max intrinsic width is wrong.
  • Line width is wrong.

This PR fixes all three issues.

Fixes flutter/flutter#76122

@mdebbar mdebbar added the platform-web Code specifically for the web engine label Feb 23, 2021
@mdebbar mdebbar requested a review from ferhatb February 23, 2021 19:13
@mdebbar mdebbar added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Feb 24, 2021
@fluttergithubbot fluttergithubbot merged commit d10ad46 into flutter:master Feb 24, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 24, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 24, 2021
hjfreyer pushed a commit to hjfreyer/engine that referenced this pull request Mar 22, 2021
chriscraws pushed a commit to chriscraws/engine that referenced this pull request Mar 23, 2021
christopherfujino added a commit that referenced this pull request Mar 31, 2021
* [web] Fix right click issue when dragging (#24447)
* [web] Fix placeholder-only paragraphs (#24572)
* [web] Reland: Fix painting of last placeholder in paragraph (#24905)

Co-authored-by: Mouad Debbar <[email protected]>
@mdebbar mdebbar deleted the fix_widget_spans branch April 15, 2021 17:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes platform-web Code specifically for the web engine waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web HTML renderer does not work with widgetspans

4 participants