New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic handling framework for presentation attributes in Stylo, with handling for font-size and color #15331
Conversation
Heads up! This PR modifies the following files:
|
7b662ab
to
fdcb1fd
Compare
@bors-servo are you still there? |
@bors-servo ping |
@bors-servo delegate=Manishearth |
✌️ @Manishearth can now approve this pull request |
@bors-servo are you still there? |
1 similar comment
@bors-servo are you still there? |
@bors-servo r=emilio,bz |
📌 Commit fdcb1fd has been approved by |
Basic handling framework for presentation attributes in Stylo, with handling for font-size and color https://bugzilla.mozilla.org/show_bug.cgi?id=1330041 r=emilio,bz <!-- 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/15331) <!-- Reviewable:end -->
💔 Test failed - mac-dev-unit |
@bors-servo are you still there? |
1 similar comment
@bors-servo are you still there? |
fdcb1fd
to
6e2cbe6
Compare
@bors-servo r=emilio,bz |
📌 Commit 6e2cbe6 has been approved by |
ca5c31c
to
718d6fe
Compare
@bors-servo r=emilio,bz |
📌 Commit 718d6fe has been approved by |
Basic handling framework for presentation attributes in Stylo, with handling for font-size and color https://bugzilla.mozilla.org/show_bug.cgi?id=1330041 r=emilio,bz <!-- 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/15331) <!-- Reviewable:end -->
💔 Test failed - mac-dev-unit |
…andling for font-size and color This introduces a basic framework for servo's style system to be able to query the style of presentation attributes which it can then insert into the cascade. It uses that framework to implement the size and color attributes on <font>. There are a number of improvements that can be done on top of this: - Implement all other properties - Abstractify the ruledata parameter of the mappers using templates or virtual dispatch so that it can be a Servo decl block instead - Implement aforementiond abstraction over Servo decl blocks (this obsoletes the code in the first item above, so it might just be better to skip that and directly do this) - Replace uses of nsHTMLStyleSheet with an abstract base class containing common elements between Servo and Gecko I'd prefer for these to be done in separate steps.
718d6fe
to
34ba00e
Compare
@bors-servo r=emilio,bz ugh nocalclength broke everything :p |
📌 Commit 34ba00e has been approved by |
Basic handling framework for presentation attributes in Stylo, with handling for font-size and color https://bugzilla.mozilla.org/show_bug.cgi?id=1330041 r=emilio,bz <!-- 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/15331) <!-- Reviewable:end -->
💔 Test failed - mac-rel-wpt1 |
⚡ Previous build results for android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt2, windows-gnu-dev, windows-msvc-dev are reusable. Rebuilding only mac-rel-wpt1... |
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-gnu-dev, windows-msvc-dev |
https://bugzilla.mozilla.org/show_bug.cgi?id=1330041
r=emilio,bz
This change is