mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1465305 - ensure nsDisplayBackgroundColor::Paint begins a new path before adding rectangle. r=jfkthame
This commit is contained in:
parent
3f4e2f6df4
commit
0512c7822e
8
layout/painting/crashtests/1465305-1.html
Normal file
8
layout/painting/crashtests/1465305-1.html
Normal file
@ -0,0 +1,8 @@
|
||||
<style>
|
||||
:not(cursor) {
|
||||
-webkit-background-clip: text;
|
||||
border-top-right-radius: 0vh;
|
||||
}
|
||||
</style>
|
||||
><input>
|
||||
<dialog open="">
|
@ -11,3 +11,5 @@ load 1428906-1.html
|
||||
skip-if(webrender) load 1430589-1.html # bug 1421825 for webrender
|
||||
load 1454105-1.html
|
||||
load 1455944-1.html
|
||||
load 1465305-1.html
|
||||
|
||||
|
@ -4850,6 +4850,7 @@ nsDisplayBackgroundColor::Paint(nsDisplayListBuilder* aBuilder,
|
||||
}
|
||||
|
||||
ctx->SetColor(mColor);
|
||||
ctx->NewPath();
|
||||
ctx->Rectangle(bounds, true);
|
||||
ctx->Fill();
|
||||
ctx->PopGroupAndBlend();
|
||||
|
Loading…
Reference in New Issue
Block a user