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 upPut stylo's pseudo-class into a list file #15153
Conversation
highfive
commented
Jan 23, 2017
highfive
commented
Jan 23, 2017
|
Looks fine, r=me % comments. Just one question, this is just in order to simplify stuff? or you plan to autogenerate/add more pseudo classes in the near future? |
| * This file contains a helper macro includes all supported non-tree-structural | ||
| * pseudo-classes. | ||
| * | ||
| * This file is NOT INTENDED to be compiled as a standalone module. |
This comment has been minimized.
This comment has been minimized.
emilio
Jan 23, 2017
Member
This is not autogenerated right? Please note it in this comment (potentially keeping the FIXME that you removed from the other file).
| ("active", Active, active, IN_ACTIVE_STATE, _), | ||
| ("focus", Focus, focus, IN_FOCUS_STATE, _), | ||
| ("fullscreen", Fullscreen, fullscreen, IN_FULLSCREEN_STATE, _), | ||
| ("hover", Hover, hover, IN_HOVER_STATE, _), |
This comment has been minimized.
This comment has been minimized.
emilio
Jan 23, 2017
Member
I don't love the gecko_type name, but I don't have a better suggestion :)
|
@bors-servo delegate+ |
|
|
|
I don't have plan to auto-generate it at this moment, since we have far fewer pseudo-classes than Gecko currently. But I guess this kind of list would be easier to auto-generate once we want to do so. Before that, I think it is still useful to have this list so that it's trivial to add support for many of the pseudo-classes. |
00387d5
to
4bb9821
|
@bors-servo r=emilio |
|
|
Put stylo's pseudo-class into a list file 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/15153) <!-- Reviewable:end -->
|
|
:/ |
|
@bors-servo retry |
|
|
|
|
|
@bors-servo retry servo/saltfs#585 |
|
@bors-servo: r- |
|
@bors-servo r=emilio |
|
|
Put stylo's pseudo-class into a list file 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/15153) <!-- Reviewable:end -->
|
|
upsuper commentedJan 23, 2017
•
edited by larsbergstrom
r? @emilio
This change is