Dotted border doesn't completely redraw when its width changes

NEW
Unassigned

Status

()

Core
Layout
P3
normal
a year ago
a month ago

People

(Reporter: arni2033, Unassigned)

Tracking

50 Branch
Points:
---

Firefox Tracking Flags

(firefox50 affected)

Details

Attachments

(5 attachments, 1 obsolete attachment)

(Reporter)

Description

a year ago
Created attachment 8775231 [details]
screenshot 1 - border poorly redraws.png

>>>   My Info:   Win7_64, Nightly 50, 32bit, ID 20160714030208 (2016-07-14)
STR:
1. Open url [1]
2. Wait 7 seconds

AR:  Border leaves small black areas on the page
ER:  No graphic artifacts

> [1] data:text/html,<div></div><style>div{border-bottom: 230px dotted black;}</style><script>for (i=230;i>=1;i--){(function(){var I=i;setTimeout(function(){document.querySelector("div").style.borderBottomWidth=I;},(230-I)*30)})() }</script>

Note:
 I marked this bug as blocking bug 382721, because this exact glitch didn't happen before that bug.
 However, there was a much worse bug that was fixed by that bug. Still it seems like a minor flaw
 in a completely new piece of code, so I decided to wait for response from developers.
Doesn't happen for me, on the following environments (I don't have win7 64bit env...):
  * Windows xp  32bit, Nightly 50.0a1 (2016-07-27) 32bit
  * Windows 7   32bit, Nightly 50.0a1 (2016-07-27) 32bit
  * Windows 8.1 32bit, Nightly 50.0a1 (2016-07-27) 32bit
  * Windows 10  64bit, Nightly 50.0a1 (2016-07-27) 32bit
  * Windows 10  64bit, Nightly 50.0a1 (2016-07-27) 64bit
  * OSX 10.11   64bit, Nightly 50.0a1 (2016-07-27) 32bit
  * OSX 10.11   64bit, Nightly 50.0a1 (2016-07-27) 64bit
  * Xubuntu     32bit, Nightly 50.0a1 (2016-07-27) 32bit
  * Debian      64bit, Nightly 50.0a1 (2016-07-27) 64bit
  * Android     x86,   Nightly 50.0a1 (2016-07-27) x86

Does it still happen on today's nightly with clean profile?
Also, does disabling hardware acceleration help?
(Reporter)

Comment 2

a year ago
Created attachment 8775266 [details]
2016.07.27 21-27-32 Troubleshooting Information (comment 2).xht

Yes, disabling HWA helps.

Comment 3

a year ago
Created attachment 8775353 [details]
testcase

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
20160727075408

Confirming bug on win7 with HWA on only
Something specific to the version of D2D or D3D that is being used maybe.
mmm, I don't have any machine or VM that D2D can be enabled :/

anyway, as it's border-bottom, so that glitch could happen if the dot (circle) was rendered outside of the border area.
is there any case that accelerated PathBuilder::Arc+Fill rendering can become bigger...?
Created attachment 8775423 [details]
Possible cause of the glitch

What I can think of are these 2 cases, the dot gets misaligned, or rendered bigger.
but I have no idea how that could happen only for the specific dot, not all dots.

Comment 7

a year ago
Created attachment 8775989 [details]
testcase 2

Slightly better testcase, seems a bit more reproducible.
It also depends on window width for me.

Comment 8

a year ago
Created attachment 8775990 [details]
testcase 2 (corrected)
Attachment #8775989 - Attachment is obsolete: true
(Reporter)

Updated

8 months ago
See Also: → bug 1327888

Updated

a month ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.