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 upImplement CSS Device Adaption Level 1 #5361
Conversation
hoppipolla-critic-bot
commented
Mar 25, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/4370 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
Assigning to @mbrubeck. |
|
I can review this, but I'd also like feedback from @SimonSapin on the |
|
Sorry for taking so long to review this. The code looks great! I left a handful of comments in Critic. Also, this will need to be rebased, sorry. |
|
My review is complete. This all looks good to me, but I'm still hoping that @SimonSapin can take a quick look at the code, especially for any stylistic or architectural issues. |
|
Reassigning to @SimonSapin while we wait for his feedback. |
|
Should I squash the various fix-up commits now then? |
|
That will break the Critic tool; best to leave that until after the review is complete. |
|
|
|
Re-based to take in account #5553 (CSS rule iterators) |
|
|
|
|
|
I’ve filed some minor issues on Critic. |
|
@bors-servo r+ |
|
|
Spec: http://dev.w3.org/csswg/css-device-adapt/ Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell). I did not implement sections 9 (viewport <META>) or 10 (handling 'auto' for 'zoom'). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5361) <!-- Reviewable:end -->
|
@luniv You may want to comment on the PR when pushing changes, we don’t get notified otherwise! |
|
|
hide_layers1.html is #5950, but the other is new. |
|
@SimonSapin Oh OK, thanks for the heads up. Looks like the actual HTML files for the ref test got lost in the shuffle. I've added them back (and moved adding the ref test to a separate commit) |
|
Reviewed files:
Comments from the review on Reviewable.io |
|
@bors-servo r+ |
|
|
Spec: http://dev.w3.org/csswg/css-device-adapt/ Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell). I did not implement sections 9 (viewport <META>) or 10 (handling 'auto' for 'zoom'). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5361) <!-- Reviewable:end -->
|
|
luniv commentedMar 25, 2015
Spec: http://dev.w3.org/csswg/css-device-adapt/
Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell).
I did not implement sections 9 (viewport ) or 10 (handling 'auto' for 'zoom').