mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-29 15:13:28 +00:00 
			
		
		
		
	dom: implement document.characterSet
This commit is contained in:
		| @@ -54,10 +54,8 @@ pub const Document = struct { | ||||
|         return "CSS1Compat"; | ||||
|     } | ||||
|  | ||||
|     // TODO implement characterSet | ||||
|     pub fn get_characterSet(self: *parser.Document) []const u8 { | ||||
|         _ = self; | ||||
|         return "UTF-8"; | ||||
|         return parser.documentGetInputEncoding(self); | ||||
|     } | ||||
|  | ||||
|     // alias of get_characterSet | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pierre Tachoire
					Pierre Tachoire