forked from mirrors/gecko-dev
		
	Bug 1645753 - Add color as a mapped attribute for gradient stops r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D79665
This commit is contained in:
		
							parent
							
								
									77bf0111ce
								
							
						
					
					
						commit
						30697d85fe
					
				
					 2 changed files with 2 additions and 5 deletions
				
			
		|  | @ -50,7 +50,8 @@ SVGElement::NumberAttributesInfo SVGStopElement::GetNumberInfo() { | ||||||
| 
 | 
 | ||||||
| NS_IMETHODIMP_(bool) | NS_IMETHODIMP_(bool) | ||||||
| SVGStopElement::IsAttributeMapped(const nsAtom* name) const { | SVGStopElement::IsAttributeMapped(const nsAtom* name) const { | ||||||
|   static const MappedAttributeEntry* const map[] = {sGradientStopMap}; |   static const MappedAttributeEntry* const map[] = {sColorMap, | ||||||
|  |                                                     sGradientStopMap}; | ||||||
| 
 | 
 | ||||||
|   return FindAttributeDependence(name, map) || |   return FindAttributeDependence(name, map) || | ||||||
|          SVGStopElementBase::IsAttributeMapped(name); |          SVGStopElementBase::IsAttributeMapped(name); | ||||||
|  |  | ||||||
|  | @ -1,4 +0,0 @@ | ||||||
| [stop-color-inheritance-currentcolor.svg] |  | ||||||
|   ["currentcolor" is inherited as a keyword] |  | ||||||
|     expected: FAIL |  | ||||||
| 
 |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 longsonr
						longsonr