mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
layout: Simplify and improve the correctness of whitespace stripping in
text layout, and unify the inline layout paths for pre- and normally-formatted text. This fixes a lot of "jumpiness" and removes the `new_line_pos` stuff. Closes #2260.
This commit is contained in:
parent
88aa07b7e0
commit
6d61468160
12 changed files with 485 additions and 461 deletions
28
tests/ref/incremental_inline_layout_ref.html
Normal file
28
tests/ref/incremental_inline_layout_ref.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
h1 {
|
||||
font-size: 72px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id=h1>
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
Incremental Inline Layout
|
||||
</h1>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue