/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
// Tests that different inherited properties sections are created for rules
// inherited from several elements of the same type.
const TEST_URI = `
`;
add_task(async function () {
await addTab("data:text/html;charset=utf-8," + encodeURIComponent(TEST_URI));
const { inspector, view } = await openRuleView();
await selectNode("a", inspector);
assertRuleViewHeaders(view, ["Inherited from div", "Inherited from div"]);
});