mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:32:43 +00:00 
			
		
		
		
	LibWeb: Add HTMLPreElement width property
This commit is contained in:
		
							parent
							
								
									2e8ff1855c
								
							
						
					
					
						commit
						089a98607c
					
				
					 5 changed files with 54 additions and 1 deletions
				
			
		|  | @ -8,6 +8,7 @@ | |||
| 
 | ||||
| #include <LibWeb/ARIA/Roles.h> | ||||
| #include <LibWeb/HTML/HTMLElement.h> | ||||
| #include <LibWeb/WebIDL/Types.h> | ||||
| 
 | ||||
| namespace Web::HTML { | ||||
| 
 | ||||
|  | @ -21,6 +22,9 @@ public: | |||
|     // https://www.w3.org/TR/html-aria/#el-pre
 | ||||
|     virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::generic; } | ||||
| 
 | ||||
|     WebIDL::Long width() const; | ||||
|     WebIDL::ExceptionOr<void> set_width(WebIDL::Long); | ||||
| 
 | ||||
| private: | ||||
|     HTMLPreElement(DOM::Document&, DOM::QualifiedName); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Bastiaan van der Plaat
						Bastiaan van der Plaat