mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			501 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			501 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2021, the SerenityOS developers.
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 */
 | 
						|
 | 
						|
#include <LibWeb/CSS/CSSRule.h>
 | 
						|
 | 
						|
namespace Web::CSS {
 | 
						|
 | 
						|
// https://www.w3.org/TR/cssom/#dom-cssrule-csstext
 | 
						|
String CSSRule::css_text() const
 | 
						|
{
 | 
						|
    // The cssText attribute must return a serialization of the CSS rule.
 | 
						|
    return serialized();
 | 
						|
}
 | 
						|
 | 
						|
// https://www.w3.org/TR/cssom/#dom-cssrule-csstext
 | 
						|
void CSSRule::set_css_text(StringView)
 | 
						|
{
 | 
						|
    // On setting the cssText attribute must do nothing.
 | 
						|
}
 | 
						|
 | 
						|
}
 |