Commit 012d549
authored
fix(issue:3766) add support for container queries (#3811)
* fix(issue:3766) add support for container queries
* Add support for CSS Container Queries
* Add tests for CSS Container Queries
* feat(media-queries-level-4) update media query
* Add support for Media Queries Level 4.
* Add tests for Media Queries Level 4.
* fix(mq-4 regex) fix regex for media queries
* Fix regex used for Media Queries Level 4 syntax parsing.
* fix(media-query-syntax) fix parsing of invalid CSS
* Fix parsing of invalid CSS for media queries to be consistent with
Less.js version 4.1.3 handling.1 parent 8b5aef9 commit 012d549
File tree
18 files changed
+14977
-14066
lines changed- dist
- packages
- less
- dist
- src/less
- parser
- tree
- test-data
- css/_main
- less/_main
18 files changed
+14977
-14066
lines changedLarge diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
152 | 159 | | |
153 | 160 | | |
154 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
1698 | 1699 | | |
1699 | 1700 | | |
1700 | 1701 | | |
1701 | | - | |
| 1702 | + | |
1702 | 1703 | | |
1703 | 1704 | | |
1704 | 1705 | | |
| |||
1752 | 1753 | | |
1753 | 1754 | | |
1754 | 1755 | | |
1755 | | - | |
| 1756 | + | |
1756 | 1757 | | |
1757 | 1758 | | |
1758 | 1759 | | |
1759 | 1760 | | |
| 1761 | + | |
1760 | 1762 | | |
1761 | 1763 | | |
1762 | 1764 | | |
1763 | 1765 | | |
1764 | 1766 | | |
1765 | 1767 | | |
1766 | 1768 | | |
1767 | | - | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
1768 | 1783 | | |
1769 | | - | |
1770 | | - | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
1771 | 1789 | | |
1772 | 1790 | | |
1773 | 1791 | | |
| |||
1785 | 1803 | | |
1786 | 1804 | | |
1787 | 1805 | | |
1788 | | - | |
| 1806 | + | |
1789 | 1807 | | |
1790 | 1808 | | |
1791 | 1809 | | |
1792 | 1810 | | |
1793 | | - | |
| 1811 | + | |
1794 | 1812 | | |
1795 | 1813 | | |
1796 | 1814 | | |
| |||
1806 | 1824 | | |
1807 | 1825 | | |
1808 | 1826 | | |
1809 | | - | |
1810 | | - | |
1811 | | - | |
1812 | | - | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
1813 | 1847 | | |
1814 | 1848 | | |
1815 | 1849 | | |
1816 | 1850 | | |
1817 | 1851 | | |
1818 | 1852 | | |
1819 | | - | |
1820 | 1853 | | |
1821 | 1854 | | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
1829 | 1858 | | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
| 1859 | + | |
| 1860 | + | |
| 1861 | + | |
1836 | 1862 | | |
1837 | | - | |
1838 | | - | |
1839 | 1863 | | |
1840 | | - | |
| 1864 | + | |
1841 | 1865 | | |
1842 | 1866 | | |
1843 | 1867 | | |
| |||
1919 | 1943 | | |
1920 | 1944 | | |
1921 | 1945 | | |
1922 | | - | |
| 1946 | + | |
1923 | 1947 | | |
1924 | 1948 | | |
1925 | 1949 | | |
| |||
2231 | 2255 | | |
2232 | 2256 | | |
2233 | 2257 | | |
2234 | | - | |
| 2258 | + | |
2235 | 2259 | | |
2236 | 2260 | | |
2237 | 2261 | | |
| |||
2243 | 2267 | | |
2244 | 2268 | | |
2245 | 2269 | | |
2246 | | - | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
2247 | 2276 | | |
2248 | 2277 | | |
2249 | 2278 | | |
| |||
2275 | 2304 | | |
2276 | 2305 | | |
2277 | 2306 | | |
2278 | | - | |
| 2307 | + | |
2279 | 2308 | | |
2280 | 2309 | | |
2281 | 2310 | | |
| |||
2422 | 2451 | | |
2423 | 2452 | | |
2424 | 2453 | | |
2425 | | - | |
| 2454 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
0 commit comments