Philip RogersHi, I noticed that unit tests can't reproduce the dcheck using the example from the commit message, but chrome.exe will dcheck crash.So I didn't add a unit test here. Let me know if you have any suggestions.
THANK FLYI'd recommend a WPT crashtest for this.
Please add `third_party/blink/web_tests/external/wpt/mathml/crashtests/floating-text-crash.html` with:
```
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/431272169">
This test passes if it does not crash.
<math>
<mo style="width:1px;">!<!-- -->→</mo>
</math>```
You can build with `autoninja -C out/Default blink_tests` and run this with `third_party/blink/tools/run_web_tests.py -t Debug external/wpt/mathml/crashtests/floating-text-crash.html`
I added a html, and test in my local machine. It can reproduce dcheck crash and will be ok with my fixup.
I add a test html, please review again.thanks 😊
我添加了一个测试HTML代码,请再审核一次。谢谢。
Fix(mathml): Fix text node detection logic to properly handle floatingTHANK FLYPlease format the commit message like in https://chromium.googlesource.com/chromium/src/+/lkgr/docs/contributing.md#uploading-a-change-for-review, where the first line is a high-level description, then a newline, then the body of your commit message.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |