Repository navigation
Conversation
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @wafflespeanut (or someone else) soon. |
| let current_stacking_context_id = state.current_stacking_context_id; | ||
| let current_scroll_root_id = state.current_scroll_root_id; | ||
| let stacking_context = fragment.create_stacking_context( | ||
| fragment.stacking_context_id, |
There was a problem hiding this comment.
nit: indentation seems weird here.
| effects.mix_blend_mode != mix_blend_mode::T::normal || | ||
| !effects.clip.is_auto() || | ||
| effects.mix_blend_mode != mix_blend_mode::T::normal { | ||
| return transform_style::T::flat; |
There was a problem hiding this comment.
Oh, did this happen to do the right thing?
There was a problem hiding this comment.
Yeah, the old wording was really confusing. I think the old logic could be rewritten as
if effects.opacity < 1.0 ||
!effects.filter.is_empty() ||
!effects.clip.is_auto() {
if effects.mix_blend_mode == mix_blend_mode::T::normal {
return transform_style::T::flat;
}
}My assumption was that it's just a refactoring bug, where someone mixed the || with { at the end of the lines.
| transform-origin: right"></div> | ||
| <div style="height: 100px; width: 50px; background: red; | ||
| transform: translateY(-100px) rotateX(45deg) rotateY(45deg); | ||
| transform-origin: right"></div> |
There was a problem hiding this comment.
I'm not suer if we can upstream this changes right now. @jdm?
There was a problem hiding this comment.
Actually, given these tests are in wpt, I don't think we should change them at all. I guess these pass on both Blink and Gecko?
There was a problem hiding this comment.
I think I'll revert them and keep disabled then
There was a problem hiding this comment.
If we have tests that differ between gecko/chromium, or fail in WR due to incomplete features - we can disable them in the test metadata, for now.
There was a problem hiding this comment.
Yeah, these change will need manual upstreaming.
| enable_aa: opts.enable_text_antialiasing, | ||
| enable_profiler: opts.webrender_stats, | ||
| debug: opts.webrender_debug, | ||
| enable_batcher: false, //TEMP |
There was a problem hiding this comment.
We'll want to fix this up before any merging!
57f8581 to
af21ea2
Compare
|
@emilio thanks for taking a look! Everything should be addressed now. |
| @@ -0,0 +1,3 @@ | |||
| [transform3d-sorting-004.htm] | |||
| type: reftest | |||
| disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1362543 | |||
There was a problem hiding this comment.
Do we really need to disable these?
We can just mark them as failing with a link to that bug.
There was a problem hiding this comment.
I tried multiple things, didn't find how to add comments to those ini files
|
@emilio thanks! |
|
📌 Commit 3a511ee has been approved by |
WR update: preserve-3d support <!-- Please describe your changes on the following line: --> This is WR update to servo/webrender@d335555 having new features: - limited "preserve-3d" support (servo/webrender#1169, servo/webrender#1208) - rayon thread pool (servo/webrender#1202) - further border rendering improvements Edit: the references to bincode serialization and border styles are removed from here, since they are already integrated into Servo. Edit2: this is alternative/similar to #16801, based on @mrobinson code (see first commit). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). Related to #9087 Note that I'm unlocking a few tests as well as changing some related to `preserve-3d`. The changes come from common sense and comparison to Chromium. I'm ready to discuss them on a individual basis. <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ There is still an investigation to do with regards to the differences of preserve3d logic between Blink and Gecko. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/16775) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel-css |
|
|
Superseded by #16860 |
This is WR update to servo/webrender@d335555 having new features:
Edit: the references to bincode serialization and border styles are removed from here, since they are already integrated into Servo.
Edit2: this is alternative/similar to #16801, based on @mrobinson code (see first commit).
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsRelated to #9087
Note that I'm unlocking a few tests as well as changing some related to
preserve-3d. The changes come from common sense and comparison to Chromium. I'm ready to discuss them on a individual basis.There is still an investigation to do with regards to the differences of preserve3d logic between Blink and Gecko.
This change is