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 upstyle: Stop using PseudoElement::inherits_all. #21946
Conversation
highfive
commented
Oct 14, 2018
|
r? @jdm or @SimonSapin or @nox or @mbrubeck |
|
@bors-servo try |
style: Stop using PseudoElement::inherits_all. This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. <!-- 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/21946) <!-- Reviewable:end -->
|
|
This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be.
Margin is a reset property, there's no point in setting it to zero since it's zero by default.
|
Pfft, of course there was a typo in the CSS parser. This should be green, we should re-enable the commented-out part in a followup. @bors-servo try |
style: Stop using PseudoElement::inherits_all. This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. <!-- 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/21946) <!-- Reviewable:end -->
|
|
|
That one looks unrelated and similar to #21930. @bors-servo retry |
style: Stop using PseudoElement::inherits_all. This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. <!-- 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/21946) <!-- Reviewable:end -->
|
|
|
@bors-servo retry
|
style: Stop using PseudoElement::inherits_all. This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. <!-- 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/21946) <!-- Reviewable:end -->
|
|
|
Yeah, more WebGL failures and such, I'm pretty sure this should be good to go. |
| /// properties... Also, I guess it just could do all: inherit on the | ||
| /// stylesheet, though chances are that'd be kinda slow if we don't cache | ||
| /// them... | ||
| /// To be removed. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
emilio
Oct 15, 2018
Author
Member
Because I'm removing it in that Gecko bug I point above, which I'll sink in a few..
This comment has been minimized.
This comment has been minimized.
|
@bors-servo r+ |
|
|
|
|
|
@bors-servo retry
|
style: Stop using PseudoElement::inherits_all. This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. <!-- 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/21946) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
@bors-servo retry
Does anybody know what that is about? |
|
|
|
|
This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. This cherry-picks servo/servo#21946.
… the CSS parser. In servo#21946 I commented out this rule because before that patch we were accidentally ignoring it because of a typo in the CSS parser, since that PR didn't intend to change behavior. This PR does though, and re-enables the rule.
style: Re-enable the rule that was accidentally disabled by a typo in the CSS parser. In #21946 I commented out this rule because before that patch we were accidentally ignoring it because of a typo in the CSS parser, since that PR didn't intend to change behavior. This PR does though, and re-enables the rule. <!-- 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/21983) <!-- Reviewable:end -->
This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. This cherry-picks servo/servo#21946.
style: Re-enable the rule that was accidentally disabled by a typo in the CSS parser. In #21946 I commented out this rule because before that patch we were accidentally ignoring it because of a typo in the CSS parser, since that PR didn't intend to change behavior. This PR does though, and re-enables the rule. <!-- 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/21983) <!-- Reviewable:end -->
style: Re-enable the rule that was accidentally disabled by a typo in the CSS parser. In #21946 I commented out this rule because before that patch we were accidentally ignoring it because of a typo in the CSS parser, since that PR didn't intend to change behavior. This PR does though, and re-enables the rule. <!-- 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/21983) <!-- Reviewable:end -->
style: Re-enable the rule that was accidentally disabled by a typo in the CSS parser. In #21946 I commented out this rule because before that patch we were accidentally ignoring it because of a typo in the CSS parser, since that PR didn't intend to change behavior. This PR does though, and re-enables the rule. <!-- 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/21983) <!-- Reviewable:end -->
style: Re-enable the rule that was accidentally disabled by a typo in the CSS parser. In #21946 I commented out this rule because before that patch we were accidentally ignoring it because of a typo in the CSS parser, since that PR didn't intend to change behavior. This PR does though, and re-enables the rule. <!-- 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/21983) <!-- Reviewable:end -->
This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. This cherry-picks servo/servo#21946. UltraBlame original commit: 477c044daea3a96ba8ec41641ab934f9ec11deb7
This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. This cherry-picks servo/servo#21946. UltraBlame original commit: 477c044daea3a96ba8ec41641ab934f9ec11deb7
This was done that way just because Servo didn't support the `all` property at the time. We should do it this way and optimize it if it's slow. Though I suspect that most of stuff doesn't actually need to be inherited, my patch at bug 1498943 should make it much faster than what it would otherwise be. This cherry-picks servo/servo#21946. UltraBlame original commit: 477c044daea3a96ba8ec41641ab934f9ec11deb7
emilio commentedOct 14, 2018
•
edited by SimonSapin
This was done that way just because Servo didn't support the
allproperty atthe time.
We should do it this way and optimize it if it's slow. Though I suspect that
most of stuff doesn't actually need to be inherited, my patch at bug 1498943
should make it much faster than what it would otherwise be.
This change is