mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:12:43 +00:00 
			
		
		
		
	LibWeb: Support readonly attribute for input elements
This commit is contained in:
		
							parent
							
								
									1c06111cbd
								
							
						
					
					
						commit
						7167d6a1c8
					
				
					 2 changed files with 46 additions and 1 deletions
				
			
		|  | @ -162,6 +162,8 @@ private: | |||
|     WebIDL::ExceptionOr<void> run_input_activation_behavior(); | ||||
|     void set_checked_within_group(); | ||||
| 
 | ||||
|     void handle_readonly_attribute(DeprecatedFlyString const& value); | ||||
| 
 | ||||
|     // https://html.spec.whatwg.org/multipage/input.html#value-sanitization-algorithm
 | ||||
|     DeprecatedString value_sanitization_algorithm(DeprecatedString) const; | ||||
| 
 | ||||
|  | @ -182,6 +184,9 @@ private: | |||
|     // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-fe-dirty
 | ||||
|     bool m_dirty_value { false }; | ||||
| 
 | ||||
|     // https://html.spec.whatwg.org/multipage/input.html#the-input-element:concept-fe-mutable
 | ||||
|     bool m_is_mutable { true }; | ||||
| 
 | ||||
|     // https://html.spec.whatwg.org/multipage/input.html#the-input-element:legacy-pre-activation-behavior
 | ||||
|     bool m_before_legacy_pre_activation_behavior_checked { false }; | ||||
|     bool m_before_legacy_pre_activation_behavior_indeterminate { false }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Shannon Booth
						Shannon Booth