New issue
Advanced search Search tips

Issue 641794 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

<summary> triangle interacts incorrectly with :hover

Reported by kpreid.s...@gmail.com, Aug 28 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Example URL:

Steps to reproduce the problem:
Example HTML:
<!doctype html>
<html><head>
  <title>details triangle demo</title>
  <style>
    summary:hover {
      color: red;
    }
  </style>
</head><body>
  <details>
    <summary>Options</summary>
    <p>details body content</p>
  </details>
</body></html>

Try mousing over and clicking on the <summary> element. Alternatively, try using the keyboard to activate it.

What is the expected behavior?
The color of the <summary> element's triangle should be statelessly derived from the stylesheet rules.

What went wrong?
The color of the triangle instead reflects the value of the color property as of the last time it was toggled, not responding to :hover changes. That is, given the sequence of events hover, click, un-hover, the triangle will be red while the text is not, and vice versa with just a hover.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0

Also occurs in 55.0.2842.0 canary.
 
Components: -Blink Blink>Paint>Invalidation
Status: Available (was: Unconfirmed)
Project Member

Comment 2 by sheriffbot@chromium.org, Aug 30 2017

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. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold BugSource-User PaintTeamTriaged-20170911
Owner: schenney@chromium.org
Status: Assigned (was: Untriaged)
Need to create and attach the test case.

Sign in to add a comment