Relax DCHECKS in LayoutNGMixin<Base>::Paint and similar methods

These DCHECKs are intended to verify conditions for NG block fragmented
nodes, so relax it by testing whether the node does not forbid breaks
with the NG block fragmentation engine. This addresses the use case of
MathML embedded inside SVG.

Bug: 6606, 829028, 1262555
Change-Id: Idaa09cc61c03358ebdf0a6275f4b83f6a5caca49
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3237215
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/main@{#934449}
3 files changed
tree: f3c81b51f5b53e7aea1df3ab7645d94c4ebb6126
  1. .clang-format
  2. .clang-tidy
  3. .eslintrc.js
  4. .git-blame-ignore-revs
  5. .gitattributes
  6. .gitignore
  7. .gn
  8. .mailmap
  9. .rustfmt.toml
  10. .vpython
  11. .vpython3
  12. .yapfignore
  13. AUTHORS
  14. BUILD.gn
  15. CODE_OF_CONDUCT.md
  16. DEPS
  17. DIR_METADATA
  18. ENG_REVIEW_OWNERS
  19. LICENSE
  20. LICENSE.chromium_os
  21. OWNERS
  22. PRESUBMIT.py
  23. PRESUBMIT_test.py
  24. PRESUBMIT_test_mocks.py
  25. README.md
  26. WATCHLISTS
  27. android_webview/
  28. apps/
  29. ash/
  30. base/
  31. build/
  32. build_overrides/
  33. buildtools/
  34. cc/
  35. chrome/
  36. chromecast/
  37. chromeos/
  38. cloud_print/
  39. codelabs/
  40. codereview.settings
  41. components/
  42. content/
  43. courgette/
  44. crypto/
  45. dbus/
  46. device/
  47. docs/
  48. extensions/
  49. fuchsia/
  50. gin/
  51. google_apis/
  52. google_update/
  53. gpu/
  54. headless/
  55. infra/
  56. ios/
  57. ipc/
  58. jingle/
  59. media/
  60. mojo/
  61. native_client_sdk/
  62. net/
  63. pdf/
  64. ppapi/
  65. printing/
  66. remoting/
  67. rlz/
  68. sandbox/
  69. services/
  70. skia/
  71. sql/
  72. storage/
  73. styleguide/
  74. testing/
  75. third_party/
  76. tools/
  77. ui/
  78. url/
  79. weblayer/
README.md

Logo Chromium

Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.

The project's web site is https://www.chromium.org.

To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.

Documentation in the source is rooted in docs/README.md.

Learn how to Get Around the Chromium Source Code Directory Structure .

For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.

If you found a bug, please file it at https://crbug.com/new.