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
Implement CSS3 Calc #7185
Closed
+877
−65
Closed
Implement CSS3 Calc #7185
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ff67233
Implement Calc for LengthOrPercentage
dzbarsky 84e6c2f
Implement Calc for LengthOrPercentageOrAuto
dzbarsky 360c279
Implement proper calc parsing
dzbarsky b8636c4
Implement font relative and viewport relative units for calc
dzbarsky 57f563d
Clean up serialization and other hacks
dzbarsky 7a9d325
Clean up serialization code a little
dzbarsky 2a976c0
Clean up AST simplification code
dzbarsky 1149db2
Properly serialize % values in calc expressions
dzbarsky 8844c02
Simplify like terms in all sum expressions, not just toplevel calc
dzbarsky b183df4
Simplify the calc AST simplification code
dzbarsky d4ac596
Remove stray changes
dzbarsky 1c4a1c2
Fix some calc parsing panics
dzbarsky a76d56b
Expand out nested products
dzbarsky 177b9c8
Use the type system to enforce that product nodes are simplified away
dzbarsky f3f236d
Get rid of some cloning
dzbarsky 79a4369
Clean up some stray lines
dzbarsky 2eceeea
Address review comments
dzbarsky 8e0f076
Add calc reftest
dzbarsky f40f1ee
Add calc parsing tests for the other properties
dzbarsky 86249bd
Add ch support
dzbarsky File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.
Clean up AST simplification code
- Loading branch information
commit 2a976c0b2cc8176f55efa33b6c5ca65cb5c13774
ProTip!
Use n and p to navigate between commits in a pull request.
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.
(Remove this before committing)