mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-07 20:01:47 -04:00
webapi: (minor) CSS WebApi should be called "CSS" not "Css"
This commit is contained in:
2 files changed
+2
No files matched your search
@@ -9,6 +9,7 @@
|
||||
testing.expectEqual("[object HTMLDivElement]", Object.prototype.toString.call(HTMLDivElement.prototype));
|
||||
testing.expectEqual("[object HTMLDivElement]", Object.prototype.toString.call(document.createElement("div")));
|
||||
testing.expectEqual("[object HTMLUnknownElement]", Object.prototype.toString.call(document.createElement("bogus")));
|
||||
testing.expectEqual("[object CSS]", Object.prototype.toString.call(CSS));
|
||||
</script>
|
||||
|
||||
<script id=tag_descriptors>
|
||||
|
||||
@@ -206,6 +206,7 @@ pub const JsApi = struct {
|
||||
|
||||
pub const Meta = struct {
|
||||
pub const name = "Css";
|
||||
pub const class_string = "CSS";
|
||||
|
||||
// Per the CSSOM spec, CSS is a namespace object — members are own
|
||||
// properties so Object.entries(CSS) returns them.
|
||||
|
||||
Reference in new issue
Block a user