Skip to content

Commit

Permalink
[Text Wrapping] Add performance tests for text-wrap-style:pretty.
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=286171
<rdar://143071848>

Reviewed by Alan Baradlay.

This change adds performance tests for text-wrap-style:pretty and will allow
developers to measure relative performance between text-wrap-styles
as well as performance implications of future development.

Canonical link: https://commits.webkit.org/290287@main
  • Loading branch information
yulunwu2 authored and alanbaradlay committed Feb 12, 2025
1 parent f8cc0a3 commit 363bbaa
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 10 deletions.
10 changes: 5 additions & 5 deletions PerformanceTests/Layout/TextWrap/text-wrap-style-auto.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</head>
<style>
#target {
display: none;
width: 1000px;
text-wrap-style: auto;
font-size: 10px;
font-family: "Helvetica Neue", Helvetica, Verdana, sans-serif;
display: none;
width: 1000px;
text-wrap-style: auto;
font-size: 10px;
font-family: "Helvetica Neue", Helvetica, Verdana, sans-serif;
}
</style>
<body>
Expand Down
10 changes: 5 additions & 5 deletions PerformanceTests/Layout/TextWrap/text-wrap-style-balance.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</head>
<style>
#target {
display: none;
width: 1000px;
text-wrap-style: balance;
font-size: 10px;
font-family: "Helvetica Neue", Helvetica, Verdana, sans-serif;
display: none;
width: 1000px;
text-wrap-style: balance;
font-size: 10px;
font-family: "Helvetica Neue", Helvetica, Verdana, sans-serif;
}
</style>
<body>
Expand Down
Loading

0 comments on commit 363bbaa

Please sign in to comment.