mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			528 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			528 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2025, Sam Atkins <sam@ladybird.org>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 */
 | 
						|
 | 
						|
#include "AbstractImageStyleValue.h"
 | 
						|
#include <LibWeb/CSS/CSSImageValue.h>
 | 
						|
 | 
						|
namespace Web::CSS {
 | 
						|
 | 
						|
// https://drafts.css-houdini.org/css-typed-om-1/#reify-stylevalue
 | 
						|
GC::Ref<CSSStyleValue> AbstractImageStyleValue::reify(JS::Realm& realm, String const&) const
 | 
						|
{
 | 
						|
    // AD-HOC: There's no spec description of how to reify as a CSSImageValue.
 | 
						|
    return CSSImageValue::create(realm, to_string(SerializationMode::Normal));
 | 
						|
}
 | 
						|
 | 
						|
}
 |