Commit Graph

167 Commits

Author SHA1 Message Date
Natalie Weizenbaum
584e4c2a98
[Calc Functions] Update based on implementation feedback (#3675)
See #3504
2023-09-02 00:35:44 +00:00
Natalie Weizenbaum
a7aae4daca
[Calc Functions] Substantially refactor calculation parsing (#3661)
This allows calculation syntax to coexist with user-defined Sass
functions instead of needing every new calculation function to break
all existing Sass functions of the same name.

See #3504
2023-08-28 12:50:59 -07:00
Natalie Weizenbaum
1523bffb36
Add a Markdown linter (#3667) 2023-08-22 21:10:27 +00:00
Natalie Weizenbaum
4eab117124
[Calc Functions] Allow custom functions with vendor-prefixed names (#3658)
See #3504
2023-08-17 22:40:16 +00:00
Natalie Weizenbaum
877fa7f705
[Calc Functions] Handle name conflicts with Sass functions (#3657)
See #3504
2023-08-17 22:05:51 +00:00
Natalie Weizenbaum
a139b4d134
[Calc Functions] Fix the definition of rem() (#3641) 2023-07-28 13:38:53 -07:00
Natalie Weizenbaum
9a565fb59a
[Calculation API] Fix some issues brought up during implementation (#3631) 2023-07-11 16:34:43 -07:00
Natalie Weizenbaum
39593537be
[Calc Functions] Match the spec's behavior better for percentages (#3630)
More functions disallow percentages in CSS than our spec did, so this
updates the spec to match.
2023-07-07 14:29:30 -07:00
Natalie Weizenbaum
f61b9165c3
[Containing URL] Mark as accepted (#3620)
See #3247
2023-06-21 20:31:20 +00:00
Ed Rivas
39915044f6
Add JS type defs for calculations (#3605)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
2023-06-20 15:55:26 -07:00
Jennifer Thakar
0cc3d56656
[Calc Functions] Ensure slash division works on min/max/abs/round (#3610) 2023-06-20 14:50:57 -07:00
Jennifer Thakar
2aa2d5571d
[Deprecations API] Support embedded protocol (#3611) 2023-06-14 18:44:43 -07:00
Natalie Weizenbaum
aa730ef708
[Ordered Comments] Fix the issue reference (#3606) 2023-06-07 13:31:36 -07:00
Natalie Weizenbaum
11cd902484
[Ordered Comments] Mark as accepted (#3604) 2023-06-06 17:01:54 -07:00
Natalie Weizenbaum
0947a33ef7
[Embedded Protocol 2] Draft 1.1 (#3600)
Explicitly document some design decisions and avoid marking `oneof`
fields as optional.
2023-05-31 17:44:24 -07:00
Natalie Weizenbaum
7ca570af93
[Embedded Protocol 2] Mark as accepted (#3598)
See #3579, #3575, #3577
2023-05-30 17:24:51 -07:00
Jennifer Thakar
e2b2777dee
Fix round calc function and mark as accepted (#3587) 2023-05-25 16:21:33 -07:00
Jennifer Thakar
cc3a3b156e
[JS Deprecations] Mark as accepted (#3566) 2023-05-04 13:38:51 -07:00
Natalie Weizenbaum
7abda4e2f4
Use literate programming for JS API specs (#3552) 2023-04-27 13:50:53 -07:00
Natalie Weizenbaum
a9ca2046d2
[Calculation API] Mark as accepted (#3549)
See #818
2023-04-18 14:40:33 -07:00
Natalie Weizenbaum
8bcdee76ee Fix broken links
This also introduces a number of workarounds for tcort/markdown-link-check#255
2023-04-12 17:35:49 -07:00
Natalie Weizenbaum
04acb45828
[Calc Constants] Merge into the canonical spec (#3519)
Closes #3258
2023-03-23 16:16:41 -07:00
Natalie Weizenbaum
3d519775f4 Make various fixes to the calculation constants proposal 2023-03-22 19:18:38 -07:00
Natalie Weizenbaum
d29e266d17 [Calc Constants] Mark as accepted 2023-03-22 17:26:33 -07:00
なつき
588ad3fe72
Document the progress of deprecating @import (#3508) 2023-03-20 21:29:48 +00:00
Natalie Weizenbaum
2efbec7f37
[String Split] Throw an error if $limit is 0 (#3459) 2022-12-12 17:07:30 -08:00
david herron
2e7a509cf4
[String Split] make function return bracketed list (#3438) 2022-11-02 14:10:04 -07:00
Natalie Weizenbaum
0ddea71ff3
[string.split()] Mark as accepted (#3436)
See #1950
2022-10-28 15:59:33 -07:00
Natalie Weizenbaum
73d3166115
[Function Units] Mark as accepted (#3435) 2022-10-27 18:58:09 -07:00
Natalie Weizenbaum
138474df2f
[Floating Point] Add a section on the modulo operation (#3393) 2022-09-15 14:45:00 -07:00
Natalie Weizenbaum
a3e5046d27 [Floating Point] Fix the definitions of math.$min/max-safe-integer 2022-09-14 18:19:14 -07:00
Natalie Weizenbaum
498fda605c [Floating Point] Document design of the new math function semantics 2022-09-14 18:19:14 -07:00
Natalie Weizenbaum
a9bab68138
[Floating Point] Mark as accepted (#3391) 2022-09-14 18:18:21 -07:00
Natalie Weizenbaum
d75cafaa15
[Strict Unary] Mark as accepted (#3390) 2022-09-13 14:11:02 -07:00
Goodwine
c4bab9dc6c
Mark accepted: Random with Units Proposal (#3377)
* Mark Accepted: Random with Units Proposal

* add semantic changes to 'random' in /spec

* fix wording for floating point and range for ints in draft 1.1
2022-08-17 18:17:45 -07:00
Natalie Weizenbaum
bcfe3cbb90
[Media Logic] Mark as accepted (#3360)
This makes a few changes that came up during implementation. See the
changelog for details.
2022-07-22 13:33:53 -07:00
Natalie Weizenbaum
a828fc241a
Merge pull request #3355 from sass/bogus-combinators.accepted
[Bogus Combinators] Mark as accepted
2022-07-18 16:40:56 -07:00
Natalie Weizenbaum
e30b0cd55a Define "useless selectors" in Phase 1
This allows us to treat selectors like `:is(< a)` as though it matches
nothing, like we were already doing for selectors with double
combinators.
2022-07-13 17:15:53 -07:00
Natalie Weizenbaum
a7fcfab812 Support complex selectors composed of only a single combinator
Although this is questionable style, this can be used for nesting and
there's not a strong reason to disallow it.
2022-07-13 15:34:16 -07:00
Natalie Weizenbaum
566bf54c3d Throw an error for an @extend rule with a bogus extender or target 2022-07-13 15:34:15 -07:00
Natalie Weizenbaum
7141b19f46 Don't throw an error for bogus style rules with no children 2022-07-12 13:59:41 -07:00
Natalie Weizenbaum
5e3314e52b Only omit style rules if _all_ of their complex selectors are bogus 2022-07-06 18:23:11 -07:00
Natalie Weizenbaum
10ccb919a7 Allow bogus selectors in selector.append() 2022-07-06 17:36:34 -07:00
Natalie Weizenbaum
fa6a3e352e Support single leading combinators in Phase 1 2022-07-06 16:50:37 -07:00
Natalie Weizenbaum
732c72289e Clarify the definition of bogus selectors in Phase 2 2022-07-06 16:45:38 -07:00
Natalie Weizenbaum
4adbb8e7df
Update the timeline for the deprecation and removal of @import (#3354) 2022-07-06 15:43:23 -07:00
Natalie Weizenbaum
72b0e4f27a Mark the bogus combinators proposal as accepted 2022-07-06 15:43:07 -07:00
Jennifer Thakar
4634461cd8
Update hsl/hwb specs to reflex current CSS logic (#3311)
Fixes #3298.
2022-05-11 14:20:19 -07:00
Natalie Weizenbaum
8b5c8cf42e
Mark the deep-merge-order spec as accepted (#3293) 2022-04-22 17:27:23 -07:00
Natalie Weizenbaum
4b1fdfe2a7
Flush the first-class calc proposal into the spec proper (#3141) 2021-09-14 21:16:37 +00:00