зеркало из https://github.com/mozilla/gecko-dev.git
Bug 786946. Don't propagate text-decoration to <select> by default. r=dbaron
--HG-- rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-1-ref.html rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-1.html rename : layout/reftests/text-decoration/underline-button-1-ref.html => layout/reftests/text-decoration/underline-select-2-ref.html rename : layout/reftests/text-decoration/underline-button-1.html => layout/reftests/text-decoration/underline-select-2.html
This commit is contained in:
Родитель
cdbc9ea15d
Коммит
583e8302be
|
@ -101,4 +101,5 @@ fails == underline-block-propagation-2-quirks.html underline-block-propagation-2
|
|||
== 676538-1.html 676538-1-ref.html
|
||||
== underline-button-1.html underline-button-1-ref.html
|
||||
fails-if(winWidget) == underline-button-2.html underline-button-2-ref.html # On windows, the underline spacing inside the button is different
|
||||
|
||||
== underline-select-1.html underline-select-1-ref.html
|
||||
== underline-select-2.html underline-select-2-ref.html
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<span style="text-decoration: underline">
|
||||
Some</span><select><option>text</option></select><span
|
||||
style="text-decoration: underline">and a button
|
||||
</span>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<span style="text-decoration: underline">
|
||||
Some<select><option>text</option></select>and a button
|
||||
</span>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<span style="text-decoration: underline">
|
||||
Some</span><select size="5"><option>text</option></select><span
|
||||
style="text-decoration: underline">and a button
|
||||
</span>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<span style="text-decoration: underline">
|
||||
Some<select size="5"><option>text</option></select>and a button
|
||||
</span>
|
||||
</body>
|
||||
</html>
|
|
@ -196,6 +196,8 @@ select {
|
|||
text-indent: 0;
|
||||
overflow: -moz-hidden-unscrollable;
|
||||
text-shadow: none;
|
||||
/* No text-decoration reaching inside, by default */
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Need the "select[size][multiple]" selector to override the settings on
|
||||
|
|
Загрузка…
Ссылка в новой задаче