Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImpl cm postfix #28
Impl cm postfix #28
Conversation
|
It's my understanding that the ComputedStyle gets normalized in netsurf to one of: absolute value in px (or pt) or percentage value. I'm not sure why it has both px and pt. It would be better if it had only one of them. I understand we need to intake cm values, but shouldnt' they get normalized internally? @SimonSapin care to weigh in? |
|
@metajack Yes all CSS absolute length units should be converted to one as soon as parsing (maybe modulo CSSOM, but we can figure that out later.) See my comments on the related PR: servo/servo#723 (comment) |
|
@SimonSapin Is it ok? |
|
Yes, this does look better. |
|
r+, but this needs a rebase since the fixed test case got merged first. |
|
r? @metajack |
This comment has been minimized.
This comment has been minimized.
metajack
commented on f3d5370
Aug 19, 2013
|
r+ |
Related to servo/rust-css#28
Related to servo/rust-css#28 Source-Repo: https://github.com/servo/servo Source-Revision: 488972e817a072f23b36e92b02a3cb5cccffa90e UltraBlame original commit: 61016c08b892df48f82bfa75413704c59a15b29d
Related to servo/rust-css#28 Source-Repo: https://github.com/servo/servo Source-Revision: 488972e817a072f23b36e92b02a3cb5cccffa90e UltraBlame original commit: 61016c08b892df48f82bfa75413704c59a15b29d
Related to servo/rust-css#28 Source-Repo: https://github.com/servo/servo Source-Revision: 488972e817a072f23b36e92b02a3cb5cccffa90e UltraBlame original commit: 61016c08b892df48f82bfa75413704c59a15b29d
recrack commentedAug 13, 2013
Related to servo/servo#723