mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	LibWeb/HTMLInputElement: Improve appearance of color picker
Instead of a plain ButtonBox, it now appears as a color well styled after the buttons.
This commit is contained in:
		
							parent
							
								
									63cd6b0d3c
								
							
						
					
					
						commit
						a1cce69db0
					
				
					 3 changed files with 52 additions and 3 deletions
				
			
		|  | @ -167,6 +167,7 @@ private: | |||
|     static TypeAttributeState parse_type_attribute(StringView); | ||||
|     void create_shadow_tree_if_needed(); | ||||
|     void create_text_input_shadow_tree(); | ||||
|     void create_color_input_shadow_tree(); | ||||
|     WebIDL::ExceptionOr<void> run_input_activation_behavior(); | ||||
|     void set_checked_within_group(); | ||||
| 
 | ||||
|  | @ -180,6 +181,7 @@ private: | |||
|     JS::GCPtr<DOM::Text> m_placeholder_text_node; | ||||
| 
 | ||||
|     JS::GCPtr<DOM::Element> m_inner_text_element; | ||||
|     JS::GCPtr<DOM::Element> m_color_well_element; | ||||
|     JS::GCPtr<DOM::Text> m_text_node; | ||||
|     bool m_checked { false }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 circl
						circl