mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-27 14:02:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, Andreas Kling <kling@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/DeprecatedString.h>
 | |
| #include <LibWeb/CSS/PropertyID.h>
 | |
| 
 | |
| namespace Web::CSS {
 | |
| 
 | |
| enum class Important {
 | |
|     No,
 | |
|     Yes,
 | |
| };
 | |
| 
 | |
| struct StyleProperty {
 | |
|     ~StyleProperty();
 | |
| 
 | |
|     Important important { Important::No };
 | |
|     CSS::PropertyID property_id;
 | |
|     NonnullRefPtr<StyleValue const> value;
 | |
|     DeprecatedString custom_name {};
 | |
| };
 | |
| 
 | |
| }
 | 
