transition-property on master element breaks fill property when declared on a use element
Reported by
patrickk...@gmail.com,
Jun 7 2016
|
|||||||||
Issue description
Chrome Version : 53.0.2753.0
OS Version: OS X 10.11.5
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari: PASS
Firefox: PASS
IE/dge: PASS
What steps will reproduce the problem?
1. go to https://jsbin.com/lamija/edit
2. observe the page
3.
What is the expected result?
The left column should be black, the right green
What happens instead of that?
both columns are black
Please provide any additional information below. Attach a screenshot if
possible.
UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2753.0 Safari/537.36
,
Jun 8 2016
Confirmed in both Chrome 51.0.2704.63 and Chrome 50.0.2661.102.
,
Jun 8 2016
,
Jun 8 2017
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
,
Jun 8 2017
,
Jun 8 2017
Still happening.
,
Aug 31 2017
Issue 761022 has been merged into this issue.
,
Oct 19 2017
Issue 776339 has been merged into this issue.
,
Oct 19 2017
,
Nov 30 2017
Issue 789763 has been merged into this issue.
,
Nov 30 2017
,
Dec 1 2017
What happens here is: When resolving style for the <use>d <rect>, we pass the non-<use>d as the context element (because of the style-matching rules IIRC.) Since the non-<use>d element has already had its style resolved, the transition machinery thinks a transition should start for the 'fill' property and thus applies a transition to the style resolved for the <use>d <rect>, yielding the black color. The (document) order of the elements thus matter, and if the <rect> and <use> change places in the testcase, the right colors will be used. The solution would seem to be to pass the <use>d element rather than its corresponding element, and then fix up the flat tree structure in the StyleResolver (ElementResolveContext and possibly more.) Implementing issue 785246 would probably also address this.
,
Jan 13 2018
Issue 801815 has been merged into this issue.
,
Jan 29 2018
Issue 806616 has been merged into this issue.
,
Feb 26 2018
,
Aug 23
No idea why I owned this.
,
Aug 23
Issue 877087 has been merged into this issue.
,
Aug 24
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by patrickk...@gmail.com
, Jun 8 2016