mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +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