Repository navigation
Conversation
|
Critic review: https://critic.hoppipolla.co.uk/r/3033 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 |
There was a problem hiding this comment.
It's a little strange that we have content_box_request, content_boxes_request, and so forth, instead of an enum specifying which one script wants. Does it have to be done this way?
There was a problem hiding this comment.
Not at all. I reimplemented this using an enum and everything is much cleaner. Thanks for the suggestion!
|
Can we get rid of |
|
I don't think we can eliminate it yet. Hit box and mouse over testing is still done using the display list and I think a flow tree implementation is more difficult, because of z-index considerations. The paint order is encoded more readily in the display list than the flow tree, though admittedly I don't understand the mechanism ATM. |
|
That shouldn't matter, because you can't mouse-over an element that has no display items. (Gecko does mouseover and hit box testing using the display list and has no |
|
Oh, in that case, I can try removing it in a followup commit. It will be nice to remove that from the display list. |
|
Sounds good for a followup. (BTW, on the maze solver pseudo-DL items outnumber real DL items 2-1—that's why I'm keen to remove it) :) |
Instead of looking at the display tree, have ContentBox(es)Query consult the flow tree. This allow optimizing away parts of the display tree later. To do this we need to be more careful about how we send reflow requests, only querying the flow tree when possible. Fixes servo#3790.
Instead of looking at the display tree, have ContentBox(es)Query consult the flow tree. This allow optimizing away parts of the display tree later. To do this we need to be more careful about how we send reflow requests, only querying the flow tree when possible. Fixes #3790.
Instead of looking at the display tree, have ContentBox(es)Query consult
the flow tree. This allow optimizing away parts of the display tree
later. To do this we need to be more careful about how we send reflow
requests, only querying the flow tree when possible.
Fixes #3790.