New issue
Advanced search Search tips

Issue 907074 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: 2019-01-07
OS: Windows , Fuchsia
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Latext appearing incorrectly

Reported by szabokin...@gmail.com, Nov 20

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

Steps to reproduce the problem:
1. You can see the attached xml file
2. 
3. 

What is the expected behavior?
 formula appear correctly

What went wrong?
Sometimes, formula appear incorrectly (attached screenshots)

Did this work before? Yes 68.0.3440	

Does this work in other browsers? Yes

Chrome version: 70.0.3538.102  Channel: n/a
OS Version: 10.0
Flash Version:
 
SVG_rendering_issue.xml
4.5 KB View Download
Components: Blink>SVG
There are no screenshots attached.
The file seems to render correctly in all versions of Chrome (I had to rename .xml to .html though)
Labels: Needs-Feedback
Labels: Needs-Triage-M70 Needs-Bisect
Sorry, forgot the screenshots.
kemia.png screenshot: the formula appear correctly if theres some text before the fomula. Second line, same formula, but incorrect (Zr must to be Zn)
kmh. png- Missing the end of Km.
kemia.PNG
5.2 KB View Download
kmh.PNG
1.7 KB View Download
Project Member

Comment 6 by sheriffbot@chromium.org, Nov 21

Cc: f...@opera.com
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
That is an odd rendering error... Is GPU rasterization enabled in your browser, and do you still see the error(s) if you disable it?
If GPU rasterization is enabled then works correct, when I disable it, still see the errors.

Components: Internals>Skia
Ok... that's interesting. Seems to indicate some sort of rasterization problem at least.

How frequent does it render incorrectly? (You indicated in the description that it only happened sometimes.)
Random... Sadly I can't say exactly. I made this page a few minutes ago...You can see in the screenshot rendering errors.
kepletek.PNG
15.7 KB View Download
Cc: susan.boorgula@chromium.org
Labels: Needs-Feedback Triaged-ET
szabokinga722@ Thanks for the issue.

Tested this issue on Windows 10 on the reported version 70.0.3538.102 and the latest Canary 72.0.3617.0 and unable to reproduce the issue by following the below steps.

1. Launched Chrome and opened the given file in the original comment as HTML file.
2. Could observe that the formula is displaying correctly as mentioned in comment #5.
Attached are the screen shots for reference.

Request you to retry the issue on a new chrome profile without any flags/extensions and update the thread with the observations.

Thanks..
907074-reported.PNG
94.7 KB View Download
907074-Canary.PNG
50.3 KB View Download
NextAction: 2018-12-17
Do you have any zoom or Windows display scale in place?
#12 - reproduced consistently on Windows 7 (and I think on Windows 10, too), without any scaling or zoom.
data:text/html;charset=utf-8,<svg%20xmlns%3Axlink%3D"http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink"%20width%3D"17.357ex"%20height%3D"2.581ex"%20viewBox%3D"0%20-986.1%207473%201111.1"%20role%3D"img"%20focusable%3D"false"%20style%3D"vertical-align%3A%20-0.29ex%3B">%0A%20%20%20%20<g%20stroke%3D"currentColor"%20fill%3D"currentColor"%20stroke-width%3D"0"%20transform%3D"matrix(1%200%200%20-1%200%200)">%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20<!--%20First%20"Z"%20character%20-->%20%20%0A%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-5A">%0A%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-5A"%20d%3D"M598%20176l-25%20-176h-563v15l437%20609h-214c-71%200%20-110%20-11%20-134%20-35c-25%20-26%20-31%20-43%20-41%20-98h-26l21%20171h525v-15l-432%20-609h252c56%200%2092%2010%20117%2028c33%2023%2042%2051%2060%20110h23Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20<!--First%20"n"%20character-->%0A%20%20%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-6E"%20x%3D"612"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-6E"%20d%3D"M485%200h-208l1%2015c50%204%2062%2024%2062%2090v199c0%2071%20-24%20101%20-73%20101c-33%200%20-57%20-12%20-103%20-57v-276c0%20-39%2014%20-53%2065%20-57v-15h-211v15c51%204%2062%2020%2062%2079v243c0%2049%20-7%2065%20-35%2065c-11%200%20-22%20-1%20-29%20-4v17c55%2016%2088%2027%20137%2045l8%20-3v-78h1c52%2059%2098%2081%20144%2081c76%200%20118%20-55%20118%20-154%20v-221c0%20-54%2012%20-65%2061%20-70v-15Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20<!--Arrow%20character-->%0A%20%20%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-2192"%20x%3D"1390"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-2192"%20d%3D"M856%20258v-10c-96%20-41%20-172%20-115%20-238%20-191l-20%2019c23%2033%2052%2065%2082%2096c9%209%2014%2020%2014%2028c0%2010%20-8%2020%20-26%2020h-598v66h599c10%200%2026%2012%2026%2022c0%209%20-4%2015%20-14%2025c-29%2028%20-60%2063%20-82%2096l20%2019c65%20-75%20141%20-150%20237%20-190Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20<g%20transform%3D"translate(2595%2C0)">%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20<!--Second%20"Z"%20character-->%0A%20%20%20%20%20%20%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-5A">%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-5A"%20d%3D"M598%20176l-25%20-176h-563v15l437%20609h-214c-71%200%20-110%20-11%20-134%20-35c-25%20-26%20-31%20-43%20-41%20-98h-26l21%20171h525v-15l-432%20-609h252c56%200%2092%2010%20117%2028c33%2023%2042%2051%2060%20110h23Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20<!--Second%20"n"%20character-->%0A%20%20%20%20%20%20%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-6E"%20x%3D"612"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-6E"%20d%3D"M485%200h-208l1%2015c50%204%2062%2024%2062%2090v199c0%2071%20-24%20101%20-73%20101c-33%200%20-57%20-12%20-103%20-57v-276c0%20-39%2014%20-53%2065%20-57v-15h-211v15c51%204%2062%2020%2062%2079v243c0%2049%20-7%2065%20-35%2065c-11%200%20-22%20-1%20-29%20-4v17c55%2016%2088%2027%20137%2045l8%20-3v-78h1c52%2059%2098%2081%20144%2081c76%200%20118%20-55%20118%20-154%20v-221c0%20-54%2012%20-65%2061%20-70v-15Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20%20%20%20%20<g%20transform%3D"translate(1113%2C389)">%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20<!--%20"2"%20character-->%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<use%20transform%3D"scale(0.707)"%20xlink%3Ahref%3D"%23STIXWEBMAIN-32"%20x%3D"0"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-32"%20d%3D"M474%20137l-54%20-137h-391v12l178%20189c94%2099%20130%20175%20130%20260c0%2091%20-54%20141%20-139%20141c-72%200%20-107%20-32%20-147%20-130l-21%205c21%20117%2085%20199%20208%20199c113%200%20185%20-77%20185%20-176c0%20-79%20-39%20-154%20-128%20-248l-165%20-176h234c42%200%2063%2011%2096%2067Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20<!--%20First%20"%2B"%20character%20after%20the%202%20-->%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<use%20transform%3D"scale(0.707)"%20xlink%3Ahref%3D"%23STIXWEBMAIN-2B"%20x%3D"500"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-2B"%20d%3D"M636%20220h-261v-261h-66v261h-261v66h261v261h66v-261h261v-66Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20%20%20%20%20<%2Fg>%0A%20%20%20%20%20%20%20%20<%2Fg>%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20<!--%20"%2B%20character%20-->%0A%20%20%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-2B"%20x%3D"4868"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-2B"%20d%3D"M636%20220h-261v-261h-66v261h-261v66h261v261h66v-261h261v-66Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20<!--Second%20"2"%20character-->%0A%20%20%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-32"%20x%3D"5776"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-32"%20d%3D"M474%20137l-54%20-137h-391v12l178%20189c94%2099%20130%20175%20130%20260c0%2091%20-54%20141%20-139%20141c-72%200%20-107%20-32%20-147%20-130l-21%205c21%20117%2085%20199%20208%20199c113%200%20185%20-77%20185%20-176c0%20-79%20-39%20-154%20-128%20-248l-165%20-176h234c42%200%2063%2011%2096%2067Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20<g%20transform%3D"translate(6443%2C0)">%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20<!--%20"e"%20charachter%20-->%0A%20%20%20%20%20%20%20%20%20%20%20%20<use%20xlink%3Ahref%3D"%23STIXWEBMAIN-65"%20x%3D"0"%20y%3D"0">%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-65"%20d%3D"M408%20164l16%20-7c-39%20-109%20-109%20-167%20-209%20-167c-118%200%20-190%2089%20-190%20227c0%20141%2081%20243%20207%20243c62%200%20107%20-24%20139%20-69c20%20-28%2030%20-60%2034%20-114h-308c5%20-76%2010%20-115%2046%20-163c28%20-37%2065%20-55%20111%20-55c67%200%20105%2031%20154%20105zM99%20309h204c-11%2081%20-32%20115%20-98%20115%20c-56%200%20-95%20-40%20-106%20-115Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20<!--%20"-"%20charachter%20-->%0A%20%20%20%20%20%20%20%20%20%20%20%20<use%20transform%3D"scale(0.707)"%20xlink%3Ahref%3D"%23STIXWEBMAIN-2212"%20x%3D"628"%20y%3D"513">%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20<path%20stroke-width%3D"1"%20id%3D"STIXWEBMAIN-2212"%20d%3D"M621%20220h-557v66h557v-66Z"><%2Fpath>%0A%20%20%20%20%20%20%20%20%20%20%20%20<%2Fuse>%0A%20%20%20%20%20%20%20%20<%2Fg>%0A%20%20%20%20<%2Fg>%0A<%2Fsvg>
Labels: OS-Fuchsia
I couldn't repro on Windows 10. Not sure what's going on here.

With DevTools, what do the repaint rect visualizations show? Are we miscalculating the bounding box?

Looks like a sub-pixel issue to me, if I change that x (in the repaint flashing screenshot), it sometimes reproduces and sometimes not (depending on the value, but a value always shows the same result).

I disabled the Windows font smoothing completely, maybe that is why I reproduce consistently.
(If you do that, too, restart Chrome afterwards as the setting is not applied on the fly)
svg-n-highlight.PNG
1.7 KB View Download
svg-n-repaint.png
37.2 KB View Download
This is not text (these "letters" are all just <path>s), so it seems odd if settings for font smoothing would have anything to do with it, but...
The NextAction date has arrived: 2018-12-17
NextAction: 2019-01-07
The NextAction date has arrived: 2019-01-07
Labels: -Needs-Feedback
Status: Available (was: Unconfirmed)
Hello there!

What kind of feedback do you need?

Elod
See Comment #14. We'd like you to open Devtools and turn on "paint flashing" to see where we draw, and also inspect the element to see what we thing the bounding box is. "paint flashing" is in the "Rendering" tab in DevTools.
Labels: Needs-Feedback
Adding 'Needs-Feedback' as per comment #22.
@Reporter : Request you to check comment #22 and update the observations, which will be helpful in further triaging.

Thanks..

Comment 24 by vilmos.g...@nexius.hu, Jan 18 (4 days ago)

Hello!

We reproduced the issue with "paint flashing" switched on, setting the "x" value to 612 (original) and 611. It looks like it renders correctly at some values and the bug appears at other values. See the two attachments.

Thank you!

Comment 25 by f...@opera.com, Jan 18 (4 days ago)

Could you perhaps enable "Layer borders" too and see if they happen to be coinciding with the error?

Comment 26 by vilmos.g...@nexius.hu, Yesterday (43 hours ago)

Sure, here's the same with Layer Borders enabled.
w_layer_borders_1.png
15.1 KB View Download
w_layer_borders_2.png
96.6 KB View Download

Comment 27 by schenney@chromium.org, Yesterday (36 hours ago)

Components: -Blink>SVG
Labels: -Needs-Feedback
Status: Untriaged (was: Available)
At this point I think the SKia team need to look at that path rendering in software. Our paint rects look fine and we're not crossing layer boundaries.

Comment 28 by susan.boorgula@chromium.org, Today (21 hours ago)

Labels: -Needs-Bisect
Removing the 'Needs-Bisect' label as this issue is not reproducible at TE end.
As per comment #27, requesting 'Internals>Skia' team to look into the issue and help in further triaging.

Thanks...

Sign in to add a comment