mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 449555. Disable word-wrap for single-line widgets, r+sr=roc
This commit is contained in:
parent
f35c443bc9
commit
a5b28931ef
33
layout/reftests/text/449555-1-ref.html
Normal file
33
layout/reftests/text/449555-1-ref.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh" xml:lang="zh">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
* { word-wrap: normal;}
|
||||
</style>
|
||||
<title>Test Wordwrap</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test Text Input:<input type="text" id="username" name="username" size="25" value="this is a very loooooooooooooooooooooooooooooooooog text."/></p>
|
||||
<p>Test Password Input:<input type="password" id="password" name="password" size="25" /></p>
|
||||
|
||||
<p>
|
||||
<select name="num" style="width: 8em">
|
||||
<option value="1">1111111111111111111111111111111111111111</option>
|
||||
<option value="2">2222222222222222222222222222222222222222</option>
|
||||
<option value="3">3333333333333333333333333333333333333333</option>
|
||||
<option value="4">4444444444444444444444444444444444444444</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<select name="num2" size="6" style="width: 8em">
|
||||
<option value="1">1111111111111111111111111111111111111111</option>
|
||||
<option value="2">2222222222222222222222222222222222222222</option>
|
||||
<option value="3">3333333333333333333333333333333333333333</option>
|
||||
<option value="4">4444444444444444444444444444444444444444</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
33
layout/reftests/text/449555-1.html
Normal file
33
layout/reftests/text/449555-1.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh" xml:lang="zh">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
* { word-wrap: break-word;}
|
||||
</style>
|
||||
<title>Test Wordwrap</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test Text Input:<input type="text" id="username" name="username" size="25" value="this is a very loooooooooooooooooooooooooooooooooog text."/></p>
|
||||
<p>Test Password Input:<input type="password" id="password" name="password" size="25" /></p>
|
||||
|
||||
<p>
|
||||
<select name="num" style="width: 8em">
|
||||
<option value="1">1111111111111111111111111111111111111111</option>
|
||||
<option value="2">2222222222222222222222222222222222222222</option>
|
||||
<option value="3">3333333333333333333333333333333333333333</option>
|
||||
<option value="4">4444444444444444444444444444444444444444</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<select name="num2" size="6" style="width: 8em">
|
||||
<option value="1">1111111111111111111111111111111111111111</option>
|
||||
<option value="2">2222222222222222222222222222222222222222</option>
|
||||
<option value="3">3333333333333333333333333333333333333333</option>
|
||||
<option value="4">4444444444444444444444444444444444444444</option>
|
||||
</select>
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -16,3 +16,4 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == wordwrap-03.html wordwrap-03-ref.html #
|
||||
== zwnj-02.html zwnj-02-ref.html
|
||||
random-if(MOZ_WIDGET_TOOLKIT=="gtk2") != zwnj-01.html zwnj-02-ref.html # Bad fonts on the tinderbox -- works locally
|
||||
random == 444656.html 444656-ref.html # bug 406299
|
||||
== 449555-1.html 449555-1-ref.html
|
||||
|
@ -106,6 +106,7 @@ input {
|
||||
|
||||
input > .anonymous-div {
|
||||
white-space: pre;
|
||||
word-wrap: normal !important;
|
||||
}
|
||||
|
||||
textarea {
|
||||
@ -159,6 +160,7 @@ select {
|
||||
font: -moz-list;
|
||||
line-height: normal !important;
|
||||
white-space: nowrap !important;
|
||||
word-wrap: normal !important;
|
||||
text-align: start;
|
||||
cursor: default;
|
||||
-moz-box-sizing: border-box;
|
||||
@ -252,6 +254,7 @@ option {
|
||||
-moz-user-select: none;
|
||||
text-indent: 0;
|
||||
white-space: nowrap !important;
|
||||
word-wrap: normal !important;
|
||||
}
|
||||
|
||||
select > option {
|
||||
@ -284,6 +287,7 @@ optgroup {
|
||||
-moz-user-select: none;
|
||||
text-indent: 0;
|
||||
white-space: nowrap !important;
|
||||
word-wrap: normal !important;
|
||||
}
|
||||
|
||||
optgroup > option {
|
||||
|
Loading…
Reference in New Issue
Block a user