-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
faster painting of empty inlines, prep for positioning
perf-2 gets another 4-5ms by skipping the BoxBuilder stuff when there aren't any inlines to paint in a paragraph this is prep for relative positioning: now that inlines and items get position information before paint, the postprocess step can easily offset inlines and blocks according to `position: relative` and the 4 side properties. this also enables `display: inline-block` because the relative position of an inline- block can't be known until after bidi reordering.
- Loading branch information
Showing
3 changed files
with
345 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.