grid-column-end/grid-row-end are not prefixed (taken into consideration) correctly
See original GitHub issueIt seems that the properties grid-column-end
and grid-row-end
are not taken into consideration then the prefixed -ms-grid-column-span
& -ms-grid-row-span
attributes are calculated.
Example:
Grid element #b used the shorthand syntax grid-column / grid-row. This already works. the -ms--span properties are there. Grid element #a uses the longer grid-column-(start/end) / grid-row-(start/end) syntax. For this case, the -ms--span properties are missing.
.box {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;
#a {
grid-column-start: 1;
grid-column-end: 3;
grid-row-start: 1;
grid-row-end: 3;
}
#b {
grid-column: 1 / 3;
grid-row: 1 / 3;
}
}
Output CSS:
.box {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
-ms-grid-rows: auto auto;
grid-template-rows: auto auto;
}
.box #a {
-ms-grid-column: 1;
grid-column-start: 1;
grid-column-end: 3;
-ms-grid-row: 1;
grid-row-start: 1;
grid-row-end: 3;
}
.box #b {
-ms-grid-column: 1;
-ms-grid-column-span: 2;
grid-column: 1 / 3;
-ms-grid-row: 1;
-ms-grid-row-span: 2;
grid-row: 1 / 3;
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
take something into consideration
take something into consideration meaning, definition, what is take something into consideration: to remember to think about something imp...: Learn more.
Read more >15.4 Prefixes and Suffixes – Business Writing for Success
Mastering common prefixes and suffixes is like learning a code. Once you crack the code, you can not only spell words more correctly...
Read more >Prefixes - Grammar - Cambridge Dictionary
The most common prefixes ; il-, im-, in-, ir-. not. illegal, impossible, insecure, irregular ; inter-. between. interactive, international ; mega-.
Read more >Prefixes | Vocabulary | EnglishClub
prefix prefix meaning
a‑ also an‑ not, without
a‑ a‑ to, towards
a‑ a‑ in the process of, in a particular state
Read more >non
GPO manual item 6.29. recommends to spell non- prefixed words without a ... Meaning "not" in phrases taken from Latin and some other...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We can try to find
grid-column-end
&grid-row-end
when prefixinggrid-column-start
&grid-row-start
in the same rule. I’ll also do it during this week.@derzwen As a temporary solution, you can use a shortcut.
Released in 8.1