Repository: flutter
Issue: [Web] Empty RichText String has 0 height with HTML Renderer
Labels: framework,a: typography,platform-web,e: web_html,has reproducible steps,P2,found in release: 2.10,found in release: 2.11,team-web,triaged-web

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- Please include full steps to reproduce so that we can reproduce the problem. -->

1. Execute `flutter run -d chrome --web-renderer html  ` on the code sample <!-- (see "Code sample" section below) -->
2. Observe the height of the blank RichText ，its height is 0 and diffirent from run with --web-renderer canvaskit， run on ios or macos

**Expected results:** <!-- what did you want to see? -->
when  run -d chrome --web-renderer html，blank RichText has the same height as other platform 

**Actual results:** <!-- what did you see? -->
blank RichText has a height of 0
<details>
<summary>Code sample</summary>

<!--
      Please create a minimal reproducible sample that shows the problem
      and attach it below between the lines with the backticks.

      To create it you can use `flutter create bug` command and update the `main.dart` file.

      Alternatively, you can use https://dartpad.dev/
      which is capable of creating and running small Flutter apps.

      Without this we will unlikely be able to progress on the issue, and because of that
      we regretfully will have to close it.
-->

```dart
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            RichText(
              text: TextSpan(children: [
                TextSpan(text: '123', style: TextStyle(color: Colors.black)),
              ]),
            ),
            RichText(
              text: TextSpan(),
            ),
            RichText(
              text: TextSpan(),
            ),
            RichText(
              text: TextSpan(children: [
                TextSpan(text: '456', style: TextStyle(color: Colors.black)),
              ]),
            ),
          ],
        ),
      ),
    );
  }
}

```

</details>

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
flutter doctor -v
[✓] Flutter (Channel stable, 2.10.0, on macOS 12.1 21C52 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.10.0 at /Users/milo/fvm/versions/2.10.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5f105a6ca7 (5 weeks ago), 2022-02-01 14:15:42 -0800
    • Engine revision 776efd2034
    • Dart version 2.16.0
    • DevTools version 2.9.2
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
```

![image](https://user-images.githubusercontent.com/17864476/157500767-e04d3edd-8068-486e-8437-bbb18e42a6e1.png)
![image](https://user-images.githubusercontent.com/17864476/157500973-7e3d4db7-426c-4bd2-beb2-05c69f98bf58.png)