diff options
| author | bptato <nincsnevem662@gmail.com> | 2025-01-17 20:28:03 +0100 |
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2025-01-17 20:28:03 +0100 |
| commit | 1cc64fae0a92677408dab532941ed04c9cd28673 (patch) | |
| tree | 2baf7ff55302c90c93071ad760bdbf5f3dba85ba /test/layout/underline-does-not-escape-background-switch.html | |
| parent | be1891755cc52cd0ad7a7d210bcd639ee5315a9a (diff) | |
| download | chawan-1cc64fae0a92677408dab532941ed04c9cd28673.tar.gz | |
render: fix formatting being lost outside boxes with bgcolor
An ancient bug, but the fix seems to be quite simple: stop confusing the
last X position before the existing string on the line with the last X
position that the new string occupies.
Diffstat (limited to 'test/layout/underline-does-not-escape-background-switch.html')
| -rw-r--r-- | test/layout/underline-does-not-escape-background-switch.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/layout/underline-does-not-escape-background-switch.html b/test/layout/underline-does-not-escape-background-switch.html new file mode 100644 index 00000000..55de3e3e --- /dev/null +++ b/test/layout/underline-does-not-escape-background-switch.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<div style="background: blue"> +<div style="background: red; display: inline-block; text-decoration: underline"> +test |