mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +00:00 
			
		
		
		
	 33e3f0c71f
			
		
	
	
		33e3f0c71f
		
	
	
	
	
		
			
			You can now access an element's inline style via Element.style. The interface is not very capable yet though. :^)
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| interface Element : Node {
 | |
|     readonly attribute DOMString? namespaceURI;
 | |
|     readonly attribute DOMString tagName;
 | |
| 
 | |
|     DOMString? getAttribute(DOMString qualifiedName);
 | |
|     undefined setAttribute(DOMString qualifiedName, DOMString value);
 | |
|     undefined removeAttribute(DOMString qualifiedName);
 | |
|     boolean hasAttribute(DOMString qualifiedName);
 | |
|     boolean hasAttributes();
 | |
| 
 | |
|     ArrayFromVector getElementsByTagName(DOMString tagName);
 | |
|     ArrayFromVector getElementsByClassName(DOMString className);
 | |
| 
 | |
|     readonly attribute Element? firstElementChild;
 | |
|     readonly attribute Element? lastElementChild;
 | |
| 
 | |
|     Element? querySelector(DOMString selectors);
 | |
|     ArrayFromVector querySelectorAll(DOMString selectors);
 | |
| 
 | |
|     [LegacyNullToEmptyString] attribute DOMString innerHTML;
 | |
|     [Reflect] attribute DOMString id;
 | |
|     [Reflect=class] attribute DOMString className;
 | |
| 
 | |
|     readonly attribute Element? nextElementSibling;
 | |
|     readonly attribute Element? previousElementSibling;
 | |
| 
 | |
|     [ImplementedAs=style_for_bindings] readonly attribute CSSStyleDeclaration style;
 | |
| };
 |