mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-30 21:01:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			458 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			458 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, Andreas Kling <andreas@ladybird.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/FlyString.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<CSSStyleValue const> value;
 | |
|     FlyString custom_name {};
 | |
| };
 | |
| 
 | |
| }
 | 
