Skip to content

[Calc Functions] Match the spec's behavior better for percentages#3630

Merged
nex3 merged 5 commits intomainfrom
calc-functions
Jul 7, 2023
Merged

[Calc Functions] Match the spec's behavior better for percentages#3630
nex3 merged 5 commits intomainfrom
calc-functions

Conversation

@nex3
Copy link
Contributor

@nex3 nex3 commented Jul 6, 2023

More functions disallow percentages in CSS than our spec did, so this
updates the spec to match.

More functions disallow percentages in CSS than our spec did, so this
updates the spec to match.
@nex3 nex3 requested a review from jathak July 6, 2023 01:45
@nex3
Copy link
Contributor Author

nex3 commented Jul 6, 2023

cc @pamelalozano16

Known incompatibilities are definitely a problem even if we can't
resolve the rest of the function.
@nex3 nex3 requested a review from jathak July 6, 2023 21:45
@nex3 nex3 merged commit 3959353 into main Jul 7, 2023
@nex3 nex3 deleted the calc-functions branch July 7, 2023 21:29
jgerigmeyer added a commit to oddbird/sass that referenced this pull request Jul 13, 2023
* main:
  [Calculation API] Fix some issues brought up during implementation (sass#3631)
  Bump tj-actions/changed-files from 37.0.5 to 37.1.0 (sass#3632)
  [Calc Functions] Match the spec's behavior better for percentages (sass#3630)
  Bump tj-actions/changed-files from 37.0.2 to 37.0.5 (sass#3627)
  Fix a reference to a dead link (sass#3625)
jgerigmeyer added a commit to oddbird/sass that referenced this pull request Aug 7, 2023
* main:
  Bump tj-actions/changed-files from 37.4.0 to 37.5.1 (sass#3643)
  [First-Class Mixins] Create a proposal (sass#3626)
  [Calc Functions] Fix the definition of rem() (sass#3641)
  Bump tj-actions/changed-files from 37.1.2 to 37.4.0 (sass#3640)
  [Color 4] Clarify in Known Color Spaces that lightness is clamped (sass#3639)
  Add JS type definitions for calculations (sass#3622)
  Bump tj-actions/changed-files from 37.1.0 to 37.1.2 (sass#3635)
  [Calculation API] Fix some issues brought up during implementation (sass#3631)
  Bump tj-actions/changed-files from 37.0.5 to 37.1.0 (sass#3632)
  [Calc Functions] Match the spec's behavior better for percentages (sass#3630)
  Bump tj-actions/changed-files from 37.0.2 to 37.0.5 (sass#3627)
  Fix a reference to a dead link (sass#3625)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants