mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #2541 - Deal with empty LineNameList in CSS grid templates.
Resolves #2541
This commit is contained in:
parent
6525b2980c
commit
5bdec62cb0
1 changed files with 4 additions and 2 deletions
|
|
@ -2799,8 +2799,10 @@ nsComputedDOMStyle::GetGridTemplateColumnsRows(
|
|||
AppendGridLineNames(valueList, lineNames);
|
||||
}
|
||||
} else {
|
||||
const nsTArray<nsString>& lineNames = aTrackList.mLineNameLists[i];
|
||||
AppendGridLineNames(valueList, lineNames);
|
||||
if (aTrackList.mLineNameLists.Length() > 0) {
|
||||
const nsTArray<nsString>& lineNames = aTrackList.mLineNameLists[i];
|
||||
AppendGridLineNames(valueList, lineNames);
|
||||
}
|
||||
}
|
||||
if (uint32_t(i) == numExplicitTracks) {
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue