New issue
Advanced search Search tips

Issue 712555 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

The focus ring is truncated in the presence of a <marquee>

Reported by 1990zhao...@gmail.com, Apr 18 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. open case page
2. watch focus ring
3. focus ring lack bottom line

What is the expected behavior?
show complete focus ring

What went wrong?
i guess chrome Composite cause it

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 57.0.2987.133  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

the web looks like:

<marquee direction="left">test marquee</marquee>

<div id="operateDiv0" style="position:absolute;left:340px;top:180px;width:111px;height:32px;">
<a id="operateselect0" href="#" >
	<img  width=190px height= 32px />
</a>
</div>
 
SaveCurrFocus__test.jsp
486 bytes View Download
in onload function ,i have a init:
<script>
function init()
{
document.getElementById("operateselect0").focus();
}
</script>
Components: Blink>Layout Blink>Paint
Status: Untriaged (was: Unconfirmed)
Summary: The focus ring is truncated in the presence of a <marquee> (was: FocusRing can't not be paint entirely when web has a marquee)

Comment 3 by kochi@chromium.org, Apr 18 2017

I put the repro case in http://jsbin.com/fajavohupu/edit?html,js,output
and got the screenshot (on Linux), which is attached to this comment.

I suppose I'm seeing the expected focus ring, but I'm not completely sure.

If you can post your screenshot, it is really appreciated.
download.png
120 KB View Download

Comment 4 by phistuck@gmail.com, Apr 18 2017

The difference in your JSBin is that you have <!DOCTYPE html>.

So it is a quirks-mode only issue.
~puking~
Thanks a lot.I got it. It's really cause it because of <!DOCTYPE html>.When i run it on chromium 30 and chromium 33,it works ok. I guess new version of chromium have different implementation about  quirks-mode. Thank you very much. 
Components: -Blink>Focus -Blink>Layout
Labels: BugSource-User PaintTeamTriaged-20170419
Status: Available (was: Untriaged)
Project Member

Comment 7 by sheriffbot@chromium.org, Apr 19 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
Standalone test case. Still reproduces. It is very odd that quirks mode matters.
cr712555.html
485 bytes View Download
I notice this issue still exist on chromium 67. Is it can be solved?
Is the issue affecting a specific web site? Given the quirks mode requirement, what happens if you stop using quirks mode on the site?
we have many web sites just like that.In those webs do not have <!DOCTYPE html>,and the web layout complex. when i stop using quirks mode on the site,the contents of web do not have right place. The case comes from i delete redundant code.
No <!DOCTYPE html> and  have marquee are  necessary to reproduces bugs. This situation   may occur in many old web
I test some chrome version. Above chrome46, the issue is exist. Chrome45 is OK. I believe it is bring in since chrome46.

Sign in to add a comment