OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Wrapping at element boundaries</title> | |
5 <style> | |
6 body { | |
7 font-family: Verdana, Arial, sans-serif; | |
8 font-size: 75%; | |
9 } | |
10 span { | |
11 background-color: yellow; | |
12 } | |
13 button { | |
14 min-height: 2em; | |
15 min-width: 4em; | |
16 padding-top: 1px; | |
17 padding-bottom: 1px; | |
18 font: inherit; | |
19 white-space: nowrap; | |
20 } | |
21 span { | |
22 font: inherit; | |
23 background-color: yellow; | |
24 } | |
25 </style> | |
26 </head> | |
27 <body> | |
28 <button id="manage-default-search-engines" i18n-content="defaultSearchMa nageEngines">Manage s<span class="search-highlighted">earch engines</span>...</b utton> | |
29 <button id="manage-default-search-engines" i18n-content="defaultSearchMa nageEngines">Manage <span class="search-highlighted">s</span>earch engines...</b utton> | |
30 <p> | |
31 Test passes if neither button wraps. | |
32 </p> | |
33 </body> | |
34 </html> | |
OLD | NEW |