зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1569877 - Consider textarea as a replaced element; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39866 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
8070e9389c
Коммит
c535aefa0b
|
@ -486,6 +486,7 @@ class InactivePropertyHelper {
|
|||
// avoids extra complexity that will likely not be necessary in most cases.
|
||||
"select",
|
||||
"svg",
|
||||
"textarea",
|
||||
"video",
|
||||
])
|
||||
) {
|
||||
|
|
|
@ -110,6 +110,13 @@ export default [
|
|||
rules: ["select { display: inline; width: 500px; }"],
|
||||
isActive: true,
|
||||
},
|
||||
{
|
||||
info: "width is active on a textarea element",
|
||||
property: "width",
|
||||
tagName: "textarea",
|
||||
rules: ["textarea { width: 500px; }"],
|
||||
isActive: true,
|
||||
},
|
||||
{
|
||||
info: "min-width is active on a replaced inline element",
|
||||
property: "min-width",
|
||||
|
@ -229,6 +236,13 @@ export default [
|
|||
rules: ["select { display: inline; height: 500px; }"],
|
||||
isActive: true,
|
||||
},
|
||||
{
|
||||
info: "height is active on a textarea element",
|
||||
property: "height",
|
||||
tagName: "textarea",
|
||||
rules: ["textarea { height: 500px; }"],
|
||||
isActive: true,
|
||||
},
|
||||
{
|
||||
info: "min-height is active on a replaced inline element",
|
||||
property: "min-height",
|
||||
|
|
Загрузка…
Ссылка в новой задаче