зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1375615 - Don't render the grid areas overlay for implicit named grid areas. r=pbro
This commit is contained in:
Родитель
a29c316c12
Коммит
24ccb0a1bb
|
@ -1161,7 +1161,11 @@ CssGridHighlighter.prototype = extend(AutoRefreshHighlighter.prototype, {
|
|||
let fragment = this.gridData[i];
|
||||
|
||||
for (let area of fragment.areas) {
|
||||
let { rowStart, rowEnd, columnStart, columnEnd } = area;
|
||||
let { rowStart, rowEnd, columnStart, columnEnd, type } = area;
|
||||
|
||||
if (type === "implicit") {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Draw the line edges for the grid area
|
||||
const areaColStart = fragment.cols.lines[columnStart - 1];
|
||||
|
|
Загрузка…
Ссылка в новой задаче