mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Fix line splitting in white-space: pre
flows
The newline position from one line was getting used repeatedly, causing extra "phantom" newlines in the following lines. Fixes #3413.
This commit is contained in:
parent
5e5f77a354
commit
f35941d91d
4 changed files with 31 additions and 1 deletions
13
tests/ref/whitespace_pre_ref.html
Normal file
13
tests/ref/whitespace_pre_ref.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>whitespace pre test</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div>a</div>
|
||||
<div> b</div>
|
||||
<div>c</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue