commit | 02eeb8baedf61eb9b6fbb97409ed0b382c05f38b | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <futhark@chromium.org> | Mon Mar 17 11:51:02 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 17 11:51:02 2025 |
tree | c22cb379762f9f7aeaeb0c7728c7931a99a15384 | |
parent | cf8f4b8cfaf6eae8209fd31a75014d848f44cd91 [diff] |
Fix <br> rendering with text in content property The content property should not affect rendering of the <br> element. We didn't render the content, but created a different LayoutObject based on non-normal content. Per spec we should only render via LayoutBR, but for legacy reasons we support replacing the <br> rendering if the content property value is a single image. Safari also does this. Bug: 40561493 Change-Id: I7ba486ec8758094ffd8ed5f9975d4afb82ed468c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354161 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1433453}
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.