-
Notifications
You must be signed in to change notification settings - Fork 689
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
Replace percentage types by combined <*-percentage> types #646
Comments
css-transforms-1 fixed in 2644458. |
I don't think this is appropriate for CSS Color 4. Percentage does not resolve to a number; actually the reverse. Numbers (which for historical reasons are constrained to assume 8 bits per color component) resolve to a percentage. Higher bit depths are increasingly common. Again for historical reasons, we have to use percentage here where really, if this were being designed now, we actually want a float in the range 0.0 to 1.0. But we can't have that because 0 and 1 would mean 0/255 and 1/255, so we have had percentages to stand in for floats since CSS1.
|
That's not why Color doesn't need updating; Color doesn't need updating because there is (now) no The |
I think there was just one remaining bit in shapes, fixed in 60d3770 |
The remaining affected specs all have open issues now, so this mega-issue can be closed I think. @SebastianZ ? |
CSS Values and Units 3 defines several combined percentage data types, which clarify how the percentages will be computed in the end. These types should be used within the syntax definitions of the other specifications.
Affected specifications are:
Sebastian
The text was updated successfully, but these errors were encountered: