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 Element::has_css_layout_box() and related methods by inspecting the computed style #19811
Labels
Comments
|
@emilio I just had a preliminary look at what this involves, and noticed that there is already a |
|
Yes, I think it makes sense to remove And no, there's not much danger of copying too much data. Styles are stored as an |
jonleighton
added a commit
to jonleighton/servo
that referenced
this issue
Jan 27, 2018
This enables us to implement Element::has_css_layout_box() in a more direct way, and also enables us to remove some of the existing more specific queries. Fixes servo#19811.
jonleighton
added a commit
to jonleighton/servo
that referenced
this issue
Jan 27, 2018
This enables us to implement Element::has_css_layout_box() in a more direct way, and also enables us to remove some of the existing more specific queries. Fixes servo#19811.
jonleighton
added a commit
to jonleighton/servo
that referenced
this issue
Jan 28, 2018
This enables us to implement Element::has_css_layout_box() in a more direct way, and also enables us to remove some of the existing more specific queries. Fixes servo#19811.
bors-servo
added a commit
that referenced
this issue
Jan 28, 2018
Add layout RPC query for getting an element's style This enables us to implement Element::has_css_layout_box() in a more direct way, and also enables us to remove some of the existing more specific queries. Fixes #19811. r? @emilio <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19881) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a follow-up to #19803 suggested by @emilio.
I'll look into it once that PR is merged.