Skip to content
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

style: Sync changes from mozilla-central. #21623

Merged
merged 5 commits into from Sep 5, 2018
Merged

Conversation

@emilio
Copy link
Member

emilio commented Sep 5, 2018

See each commit for details.

https://bugzilla.mozilla.org/show_bug.cgi?id=1488854


This change is Reviewable

emilio and others added 5 commits Sep 3, 2018
…ting tree.

Differential Revision: https://phabricator.services.mozilla.com/D4674
…ttribute, animations, and XBL rules.

This also removes one of my FIXMEs from when I was looking at this code.

We don't seem to have a pre-existing test for this feature, sigh. I'll try to
write one if I have cycles for it...

Note that it not applying XBL rules is a feature, given the current state of
affairs. Video controls and such are right now unusable with no styles enabled.

Differential Revision: https://phabricator.services.mozilla.com/D4795
Add a preference, layout.css.clip-path-path.enabled, for |clip-path:path()|.

Differential Revision: https://phabricator.services.mozilla.com/D4965
Other changes should really be (and are) indistinguishable.

Differential Revision: https://phabricator.services.mozilla.com/D4847
… operations.

Looks like this produces sensible results for interpolation with 0, though I'm
not really convinced about the results from, let's say, 1px to 2000px in the
attached test-case, I would've expected a linear interpolation from that to go
through normal length interpolation.

css-transforms-1 says:

  > Two transform functions with the same name and the same number of arguments
  > are interpolated numerically without a former conversion. The calculated
  > value will be of the same transform function type with the same number of
  > arguments.
  >
  > Special rules apply to <matrix()>.

Which is what we do... I was going to file a spec issue but turns out that it's
already addressed in css-transforms-2:

  https://drafts.csswg.org/css-transforms-2/#interpolation-of-transform-functions

Which says:

  > The transform functions <matrix()>, matrix3d() and perspective() get
  > converted into 4x4 matrices first and interpolated as defined in section
  > Interpolation of Matrices afterwards.

Differential Revision: https://phabricator.services.mozilla.com/D4942
@highfive
Copy link

highfive commented Sep 5, 2018

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify style code, but no tests are modified. Please consider adding a test!
@emilio
Copy link
Member Author

emilio commented Sep 5, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

📌 Commit 6dcf9b7 has been approved by emilio

@highfive highfive assigned emilio and unassigned ferjm Sep 5, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

Testing commit 6dcf9b7 with merge 53fd6b2...

bors-servo added a commit that referenced this pull request Sep 5, 2018
style: Sync changes from mozilla-central.

See each commit for details.

https://bugzilla.mozilla.org/show_bug.cgi?id=1488854

<!-- 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/21623)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

💔 Test failed - mac-rel-wpt1

@jdm
Copy link
Member

jdm commented Sep 5, 2018

Only occurred on mac:

  ▶ FAIL [expected PASS] /css/css-backgrounds/background-clip_padding-box.html
  └   → /css/css-backgrounds/background-clip_padding-box.html ffde80407c57b39345be91466747f651f8f5d8ce
/css/css-backgrounds/reference/background_clip_padding-box.html 31d11440b005cbee6caeb0a0509c23a940b00fb0
Testing ffde80407c57b39345be91466747f651f8f5d8ce == 31d11440b005cbee6caeb0a0509c23a940b00fb0

Test:
screen shot 2018-09-05 at 3 56 48 pm
Reference:
screen shot 2018-09-05 at 3 57 15 pm

@emilio
Copy link
Member Author

emilio commented Sep 5, 2018

Hmm, I don't see any chance of these changes affecting font-rendering. I'll investigate tomorrow if this is not a fluke, but let me try:

@bors-servo retry

First.

@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

Testing commit 6dcf9b7 with merge af777fc...

bors-servo added a commit that referenced this pull request Sep 5, 2018
style: Sync changes from mozilla-central.

See each commit for details.

https://bugzilla.mozilla.org/show_bug.cgi?id=1488854

<!-- 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/21623)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

💔 Test failed - mac-rel-wpt1

@emilio
Copy link
Member Author

emilio commented Sep 5, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Sep 5, 2018

@bors-servo bors-servo merged commit 6dcf9b7 into servo:master Sep 5, 2018
1 of 4 checks passed
1 of 4 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.