mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
LibWeb: Don't justify text lines that end in a forced break
These are treated the same as the last line in a block, per CSS-TEXT-3.
This commit is contained in:
parent
358a4fe3cb
commit
79d2c9f3e8
6 changed files with 106 additions and 12 deletions
|
@ -0,0 +1,14 @@
|
|||
<!doctype html><style>
|
||||
div {
|
||||
text-align: justify;
|
||||
border: 1px solid black;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style><div>
|
||||
foo bar baz
|
||||
foo bar baz<br>
|
||||
foo bar baz
|
||||
foo bar baz
|
||||
foo bar baz<br>
|
||||
foo bar baz
|
Loading…
Add table
Add a link
Reference in a new issue