diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /devtools/server/tests/chrome/inactive-property-helper | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/server/tests/chrome/inactive-property-helper')
-rw-r--r-- | devtools/server/tests/chrome/inactive-property-helper/align-content.mjs | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/devtools/server/tests/chrome/inactive-property-helper/align-content.mjs b/devtools/server/tests/chrome/inactive-property-helper/align-content.mjs index a871081fad..49469baf22 100644 --- a/devtools/server/tests/chrome/inactive-property-helper/align-content.mjs +++ b/devtools/server/tests/chrome/inactive-property-helper/align-content.mjs @@ -6,10 +6,17 @@ export default [ { - info: "align-content is inactive on block elements (until bug 1105571 is fixed)", + info: "align-content is active on block elements when layout.css.align-content.blocks.enabled is true", property: "align-content", tagName: "div", rules: ["div { align-content: center; }"], + isActive: true, + }, + { + info: "align-content is inactive on inline elements", + property: "align-content", + tagName: "span", + rules: ["div { align-content: center; }"], isActive: false, }, { @@ -27,7 +34,7 @@ export default [ isActive: true, }, { - info: "align-content is inactive on flex items", + info: "align-content is active on flex items (as they have a computed display of block)", property: "align-content", createTestElement: rootNode => { const container = document.createElement("div"); @@ -38,10 +45,10 @@ export default [ }, rules: ["div { display: flex; }", "span { align-content: center; }"], ruleIndex: 1, - isActive: false, + isActive: true, }, { - info: "align-content is inactive on grid items", + info: "align-content is active on grid items (as they have a computed display of block)", property: "align-content", createTestElement: rootNode => { const container = document.createElement("div"); @@ -52,7 +59,7 @@ export default [ }, rules: ["div { display: grid; }", "span { align-content: center; }"], ruleIndex: 1, - isActive: false, + isActive: true, }, { info: "align-content:baseline is active on flex items", @@ -89,4 +96,11 @@ export default [ rules: ["div { display: table-cell; align-content: baseline; }"], isActive: true, }, + { + info: "align-content:end is inactive on table cells until Bug 1883357 is fixed", + property: "align-content", + tagName: "div", + rules: ["div { display: table-cell; align-content: end; }"], + isActive: false, + }, ]; |