Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: third_party/WebKit/LayoutTests/fast/text/sub-pixel/button-span-wrap-expected.html

Issue 2026073002: Restore epsilon tolerance in LineWidth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/text/sub-pixel/button-span-wrap-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/sub-pixel/button-span-wrap-expected.html b/third_party/WebKit/LayoutTests/fast/text/sub-pixel/button-span-wrap-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..657b0b6cc097e9467c7564cb5be86ca2102b9693
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/sub-pixel/button-span-wrap-expected.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Wrapping at element boundaries</title>
+ <style>
+ body {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 75%;
+ }
+ span {
+ background-color: yellow;
+ }
+ button {
+ min-height: 2em;
+ min-width: 4em;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ font: inherit;
+ white-space: nowrap;
+ }
+ span {
+ font: inherit;
+ background-color: yellow;
+ }
+ </style>
+ </head>
+ <body>
+ <button id="manage-default-search-engines" i18n-content="defaultSearchManageEngines">Manage s<span class="search-highlighted">earch engines</span>...</button>
+ <button id="manage-default-search-engines" i18n-content="defaultSearchManageEngines">Manage <span class="search-highlighted">s</span>earch engines...</button>
+ <p>
+ Test passes if neither button wraps.
+ </p>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698