зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1317102 - Part 5: Increase the max grid highlighters shown to 3. r=pbro
This commit is contained in:
Родитель
229b14cdfe
Коммит
c2b5578464
|
@ -22,6 +22,7 @@ const TEST_URI = `
|
|||
`;
|
||||
|
||||
add_task(async function() {
|
||||
await pushPref("devtools.gridinspector.maxHighlighters", 1);
|
||||
await addTab("data:text/html;charset=utf-8," + encodeURIComponent(TEST_URI));
|
||||
const { inspector, gridInspector, testActor } = await openLayoutView();
|
||||
const { document: doc } = gridInspector;
|
||||
|
|
|
@ -23,6 +23,7 @@ const TEST_URI = `
|
|||
`;
|
||||
|
||||
add_task(async function() {
|
||||
await pushPref("devtools.gridinspector.maxHighlighters", 1);
|
||||
await addTab("data:text/html;charset=utf-8," + encodeURIComponent(TEST_URI));
|
||||
const { inspector, gridInspector } = await openLayoutView();
|
||||
const { document: doc } = gridInspector;
|
||||
|
|
|
@ -23,6 +23,7 @@ const TEST_URI = `
|
|||
`;
|
||||
|
||||
add_task(async function() {
|
||||
await pushPref("devtools.gridinspector.maxHighlighters", 1);
|
||||
await addTab("data:text/html;charset=utf-8," + encodeURIComponent(TEST_URI));
|
||||
const {inspector, view} = await openRuleView();
|
||||
const highlighters = view.highlighters;
|
||||
|
|
|
@ -74,7 +74,7 @@ pref("devtools.gridinspector.showGridAreas", false);
|
|||
pref("devtools.gridinspector.showGridLineNumbers", false);
|
||||
pref("devtools.gridinspector.showInfiniteLines", false);
|
||||
// Max number of grid highlighters that can be displayed
|
||||
pref("devtools.gridinspector.maxHighlighters", 1);
|
||||
pref("devtools.gridinspector.maxHighlighters", 3);
|
||||
|
||||
// Whether or not the box model panel is opened in the layout view
|
||||
pref("devtools.layout.boxmodel.opened", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче