-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support CSSNumericValues as inset #177
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Nov 25, 2023
Merged
johannesodland
force-pushed
the
css-unit-value-inset
branch
3 times, most recently
from
December 21, 2023 15:08
ab45fa7
to
ea5f3f7
Compare
johannesodland
force-pushed
the
css-unit-value-inset
branch
from
December 21, 2023 15:31
ea5f3f7
to
6cf1d53
Compare
johannesodland
changed the title
Support CSSUnitValue as inset
Support CSSUnitValue and math functions as inset
Dec 21, 2023
johannesodland
changed the title
Support CSSUnitValue and math functions as inset
Support CSSUnitValues as inset
Dec 21, 2023
johannesodland
changed the title
Support CSSUnitValues as inset
Support CSSNumericValues as inset
Dec 21, 2023
Uhoh, looks like my naive diff of test results approach has encountered it's first issue with what seems to be a flaky test. |
flackr
approved these changes
Dec 21, 2023
tf
added a commit
to tf/scroll-timeline
that referenced
this pull request
Jan 8, 2024
PR flackr#177 added regular expressions to parse CSSNumericValue objects using lookbehind. Safari only supports lookbehind starting from version 16.4 [1]. In earlier versions loading the polyfill causes an error of the form: ``` SyntaxError: Invalid regular expression: invalid group specifier name ``` Compile RegExp on demand to ensure the polyfill can be loaded without errors. Since the relevant functions are only called initially when parsing options, the performance overhead appears limited. [1] https://caniuse.com/js-regexp-lookbehind
tf
added a commit
to tf/scroll-timeline
that referenced
this pull request
Jan 8, 2024
PR flackr#177 added regular expressions to parse CSSNumericValue objects using lookbehind. Safari only supports lookbehind starting from version 16.4 [1]. In earlier versions loading the polyfill causes an error of the form: ``` SyntaxError: Invalid regular expression: invalid group specifier name ``` Compile RegExp on demand to ensure the polyfill can be loaded without errors. Since the relevant functions are only called initially when parsing options, the performance overhead appears limited. [1] https://caniuse.com/js-regexp-lookbehind
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on #176
This PR adds support for passing CSSNumericValues as insets to ViewTimeline.
To pass the tests the PR also do the following:
This PR does not: