Open
Bug 1445706
Opened 7 years ago
Updated 2 years ago
Render artifacts with text-align center, translateX and border-left
Categories
(Core :: Graphics: Layers, defect, P3)
Tracking
()
NEW
People
(Reporter: enselic, Unassigned)
References
Details
(Keywords: regression, Whiteboard: [gfx-noted])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36
Steps to reproduce:
1. Go to https://jsfiddle.net/jw4ysk73/ or put the following in foo.html and open it in Firefox Nightly or earlier versions
<div style="left: 400px; position: absolute; " id="foo">
<div style="transform: translateX(-50%);">
<div style="font-size: 20px;">
<div>Foo</div>
</div>
</div>
<div style="text-align: center; transform: translateX(-50%); ">
<div style="display: inline-block; border-left: 10px solid black; width: 10px; height: 400px;"></div>
</div>
</div>
<script>
var left = 400;
setInterval(function(e) {
left -= 5;
document.getElementById('foo').style.left = left + 'px';
}, 1000);
</script>
Actual results:
Rendering artifacts are left behind the object when it moves to the left, see attached reproduction video
I can reproduce this on:
Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
and
Linux 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 GNU/Linux
but not on Windows 10
Expected results:
No rendering artifact leftovers
Updated•7 years ago
|
Component: Untriaged → Graphics
OS: Unspecified → Linux
Product: Firefox → Core
Comment 1•7 years ago
|
||
I can also reproduce on Windows10 Nightly61.0a1 x64 if css using font-family : "MS PGothic".
Steps To Reproduce:
1. Open https://jsfiddle.net/jw4ysk73/8/
2. Reduce the height of live view pane so that vertical scroll bar will appear.
if not repeat step2, try various height of the pane
Status: UNCONFIRMED → NEW
status-firefox59:
--- → wontfix
status-firefox60:
--- → fix-optional
status-firefox61:
--- → affected
status-firefox-esr52:
--- → wontfix
Ever confirmed: true
OS: Linux → All
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=edac8cba9f78&tochange=0204febd3146
Suspect: 052685e62b34 Matt Woodrow — Bug 926268 - Don't include the full frame bounds in nsDisplayBorder if we're only painting one side. r=roc
Updated•7 years ago
|
Assignee: nobody → matt.woodrow
Whiteboard: [gfx-noted]
Updated•7 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Comment 4•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: matt.woodrow → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•