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:
Patrick Brosset 2019-07-30 12:56:03 +00:00
Родитель 8070e9389c
Коммит c535aefa0b
2 изменённых файлов: 15 добавлений и 0 удалений

Просмотреть файл

@ -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",