| 
									
										
										
										
											2023-05-08 06:57:55 +02:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2024-10-04 13:19:50 +02:00
										 |  |  |  * Copyright (c) 2023, Andreas Kling <andreas@ladybird.org> | 
					
						
							| 
									
										
										
										
											2023-05-08 06:57:55 +02:00
										 |  |  |  * | 
					
						
							|  |  |  |  * SPDX-License-Identifier: BSD-2-Clause | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-05 16:19:16 +13:00
										 |  |  | #include <AK/FlyString.h>
 | 
					
						
							| 
									
										
										
										
											2023-05-08 07:51:03 +02:00
										 |  |  | #include <LibWeb/CSS/PropertyID.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-08 06:57:55 +02:00
										 |  |  | namespace Web::CSS { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | enum class Important { | 
					
						
							|  |  |  |     No, | 
					
						
							|  |  |  |     Yes, | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct StyleProperty { | 
					
						
							| 
									
										
										
										
											2023-05-08 07:51:03 +02:00
										 |  |  |     ~StyleProperty(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-08 06:57:55 +02:00
										 |  |  |     Important important { Important::No }; | 
					
						
							|  |  |  |     CSS::PropertyID property_id; | 
					
						
							| 
									
										
										
										
											2024-08-14 11:10:54 +01:00
										 |  |  |     NonnullRefPtr<CSSStyleValue const> value; | 
					
						
							| 
									
										
										
										
											2023-11-05 16:19:16 +13:00
										 |  |  |     FlyString custom_name {}; | 
					
						
							| 
									
										
										
										
											2023-05-08 06:57:55 +02:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |