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 upFix combination of border and border-radius being drawn incorrectly #26215
Conversation
highfive
commented
Apr 17, 2020
|
Heads up! This PR modifies the following files:
|
highfive
commented
Apr 17, 2020
|
I'm open to fixing this for Layout 2020, but I haven't figured out where the controlling code is (or if it even exists yet) |
|
@bors-servo try=wpt |
Fix combination of border and border-radius being drawn incorrectly fixes #20922 - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #20922 <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___
|
Is there a meaningful automated test that we can add to this? Is there some way of achieving the same effect as border-radius without using border-radius? |
|
@SimonSapin See my previous comment. |
|
Since this is about how borders are painted in the presence of border-radius, I suppose we could have a reftest where the reference uses two nested elements with a different border-radius and background-color? Though like with anything other than axis-aligned rectangles we risk running into false negative due to anti-aliasing, and may need to make that reftest "fuzzy". |
|
@bors-servo try=wpt |
Fix combination of border and border-radius being drawn incorrectly fixes #20922 Manual testcase in the attached issue - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #20922 <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___
|
|
|
@bors-servo r+ |
|
|
Fix combination of border and border-radius being drawn incorrectly fixes #20922 Manual testcase in the attached issue - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #20922 <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___
|
|
|
@SimonSapin Any suggestions for where to start with applying the border-radius clipping to image fragments? |
|
I’ve filed #26390 about this. |
|
@bors-servo r+ |
|
|
|
|

dralley commentedApr 17, 2020
•
edited
fixes #20922
Manual testcase in the attached issue
./mach build -ddoes not report any errors./mach test-tidydoes not report any errors