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 updark outline around links on cnet.com #2595
Comments
|
Here is a minimal repro:
I haven't confirmed, but I believe this will be an instance of this bug #2501. The bounds of the shadow are on a sub-pixel boundary, which is getting snapped to a device pixel. However, as per the bug above, the clip mask generation doesn't correctly deal with device snapping in this case. Note to self: if this was being segmented, the problem would disappear - the segment builder logic eliminates the need for a clip mask, resulting in correct rendering. In this case we don't select segment building, since the area of the primitive is too small - we might want to revisit this heuristic, since in this case segmenting is probably worth it, to save a clip mask being generated. We still need to fix the clip snapping logic above though. |
|
This will be fixed when #2608 lands. |
Previously, all ClipOut items would result in a clip mask being generated. As we start to use ClipOut mode more often, it makes sense to handle this natively in the segment builder and avoid generating a clip-mask at all, where possible. Fixes servo#2595. Fixes servo#2501.
Previously, all ClipOut items would result in a clip mask being generated. As we start to use ClipOut mode more often, it makes sense to handle this natively in the segment builder and avoid generating a clip-mask at all, where possible. Fixes servo#2595. Fixes servo#2501.
On this page: https://www.cnet.com/news/mozilla-open-source-firefox-move-helped-rewrite-tech-rules-anniversary/ the links have some sort of thin dark outline around them which looks like a sampling artifact. It was reproduced on linux and mac in the latest firefox nightly.