Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Impl cm postfix #28

Merged
merged 2 commits into from
Aug 19, 2013
Merged

Impl cm postfix #28

merged 2 commits into from
Aug 19, 2013

Conversation

recrack
Copy link
Contributor

@recrack recrack commented Aug 13, 2013

Related to servo/servo#723

@metajack
Copy link
Contributor

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?

@SimonSapin
Copy link
Member

@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)

@recrack
Copy link
Contributor Author

recrack commented Aug 14, 2013

@SimonSapin Is it ok?

@SimonSapin
Copy link
Member

Yes, this does look better.

@metajack
Copy link
Contributor

r+, but this needs a rebase since the fixed test case got merged first.

@recrack
Copy link
Contributor Author

recrack commented Aug 19, 2013

r? @metajack

metajack added a commit that referenced this pull request Aug 19, 2013
@metajack metajack merged commit f02576d into servo:master Aug 19, 2013
kmcallister pushed a commit to kmcallister/servo that referenced this pull request Oct 30, 2013
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Sep 30, 2019
Related to servo/rust-css#28

Source-Repo: https://github.com/servo/servo
Source-Revision: 488972e817a072f23b36e92b02a3cb5cccffa90e

UltraBlame original commit: 61016c08b892df48f82bfa75413704c59a15b29d
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Sep 30, 2019
Related to servo/rust-css#28

Source-Repo: https://github.com/servo/servo
Source-Revision: 488972e817a072f23b36e92b02a3cb5cccffa90e

UltraBlame original commit: 61016c08b892df48f82bfa75413704c59a15b29d
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
Related to servo/rust-css#28

Source-Repo: https://github.com/servo/servo
Source-Revision: 488972e817a072f23b36e92b02a3cb5cccffa90e

UltraBlame original commit: 61016c08b892df48f82bfa75413704c59a15b29d
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants