diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml index 3f51f7ff0..4223e0b3d 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -1,4 +1,4 @@ name: "CodeQL config" paths-ignore: - - tests/format/**/* - - tests/integration/cli/**/* + - "tests/format/**/*" + - "tests/integration/cli/**/*" diff --git a/package.json b/package.json index c6c413f90..c0a001eb8 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "graphql": "17.0.2", "hermes-parser": "0.36.1", "html-element-attributes": "3.5.0", - "html-ua-styles": "0.4.0", + "html-ua-styles": "0.5.0", "ignore": "7.0.5", "import-meta-resolve": "4.2.0", "imurmurhash-esm": "0.0.2", diff --git a/src/language-html/constants.evaluate.js b/src/language-html/constants.evaluate.js index 6db1f5fd1..525479342 100644 --- a/src/language-html/constants.evaluate.js +++ b/src/language-html/constants.evaluate.js @@ -45,18 +45,12 @@ const CSS_DISPLAY_TAGS = { script: "block", param: "block", - // `noscript` is inline - // noscript: "inline", - // there's no CSS display for these elements but they behave these ways meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", - select: "inline-block", - option: "block", - optgroup: "block", }; const CSS_DISPLAY_DEFAULT = "inline"; const CSS_WHITE_SPACE_TAGS = getCssStyleTags("white-space"); diff --git a/yarn.lock b/yarn.lock index 42731e206..6a31ded42 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5407,10 +5407,10 @@ __metadata: languageName: node linkType: hard -"html-ua-styles@npm:0.4.0": - version: 0.4.0 - resolution: "html-ua-styles@npm:0.4.0" - checksum: 10/0dfaaae30247b7781376a8190cd78fd4a7fd02c7c088f6049df1ea717dbfd3ef09ca53e3102e28e37277c1ee4da9ef228755fd56ebbd513bbd8428c5c79efbd7 +"html-ua-styles@npm:0.5.0": + version: 0.5.0 + resolution: "html-ua-styles@npm:0.5.0" + checksum: 10/7ea75504a2f90277456642c990bdd826d9cbf241eb7cad889b01b346a5da87669b487a084ca00db739ce986081edb4bc002f0766a572878d97ff8667deb6f81c languageName: node linkType: hard @@ -8293,7 +8293,7 @@ __metadata: graphql-test-suite: "npm:0.0.2" hermes-parser: "npm:0.36.1" html-element-attributes: "npm:3.5.0" - html-ua-styles: "npm:0.4.0" + html-ua-styles: "npm:0.5.0" ignore: "npm:7.0.5" import-meta-resolve: "npm:4.2.0" imurmurhash-esm: "npm:0.0.2"