Title: ステージ1のnth-childが意図通り動作しない(Chrome)? · Issue #31 · mixi-inc/JavaScriptTraining · GitHub
Open Graph Title: ステージ1のnth-childが意図通り動作しない(Chrome)? · Issue #31 · mixi-inc/JavaScriptTraining
X Title: ステージ1のnth-childが意図通り動作しない(Chrome)? · Issue #31 · mixi-inc/JavaScriptTraining
Description: こちらのコードに問題があるわけではないのですが、 Chrome前提の教材?で動作しない箇所があったため、ご報告致します。 ▼概要 Chrome側のバグなのか、意図する要素が取得できませんでした。。。 AssertionError: expected
Open Graph Description: こちらのコードに問題があるわけではないのですが、 Chrome前提の教材?で動作しない箇所があったため、ご報告致します。 ▼概要 Chrome側のバグなのか、意図する要素が取得できませんでした。。。 AssertionError: expected
X Description: こちらのコードに問題があるわけではないのですが、 Chrome前提の教材?で動作しない箇所があったため、ご報告致します。 ▼概要 Chrome側のバグなのか、意図する要素が取得できませんでした。。。 AssertionError: expected <li id="firebrick" title="firebrick">1</li&...
Opengraph URL: https://github.com/mixi-inc/JavaScriptTraining/issues/31
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ステージ1のnth-childが意図通り動作しない(Chrome)?","articleBody":"こちらのコードに問題があるわけではないのですが、\nChrome前提の教材?で動作しない箇所があったため、ご報告致します。\n\n▼概要\nChrome側のバグなのか、意図する要素が取得できませんでした。。。\n\n```\nAssertionError: expected \u003cli id=\"firebrick\" title=\"firebrick\"\u003e1\u003c/li\u003e to have a property 'id' of 'brown', but got 'firebrick'\n at Context.\u003canonymous\u003e (tests.js:227:31)\n```\n\n▼詳細\nchromeバージョン: 52.0.2743.116 (64-bit)\nにて以下の要素取得に失敗してしまうようです。\n\n'7 番の赤色の要素を ID セレクタを使わずに1つ取得できる'\nhttps://github.com/mixi-inc/JavaScriptTraining/blob/2015/public/stage1/tests.js#L221\n\n※firefoxでは意図通り動作します。\n\n| selector | chrome(52.0.2743.116 (64-bit)) | firefox(48.0) |\n| --- | --- | --- |\n| .js-training:nth-child(2) li | 失敗(?) | 成功(正しい) |\n| .js-training:nth-child(3) li | 成功(?) | 失敗(正しい) |\n| .js-training + .js-training li | 成功 | 成功 |\n\n\n","author":{"url":"https://github.com/mesh1nek0x0","@type":"Person","name":"mesh1nek0x0"},"datePublished":"2016-08-14T02:43:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/31/JavaScriptTraining/issues/31"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:79e386e2-dcba-ba51-242c-01235546782c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 826E:18A62A:5C856ED:788F2A8:69753BD9 |
| html-safe-nonce | 8d5c5fea8a00cddbc7be13cd2a770762e43ba8f262fb11aa07a603c53f46fbe5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjZFOjE4QTYyQTo1Qzg1NkVEOjc4OEYyQTg6Njk3NTNCRDkiLCJ2aXNpdG9yX2lkIjoiNzI0NjYwMzY5NDE0MzUxOTcwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c1e6f73efdee0e37317292f8695801c999754c15670963f3d30a726edc493276 |
| hovercard-subject-tag | issue:171038774 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/mixi-inc/JavaScriptTraining/31/issue_layout |
| twitter:image | https://opengraph.githubassets.com/14a2dd88470fea4ac5376ba7e33745448b64d290f63045bf950261b1bb2a66e2/mixi-inc/JavaScriptTraining/issues/31 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/14a2dd88470fea4ac5376ba7e33745448b64d290f63045bf950261b1bb2a66e2/mixi-inc/JavaScriptTraining/issues/31 |
| og:image:alt | こちらのコードに問題があるわけではないのですが、 Chrome前提の教材?で動作しない箇所があったため、ご報告致します。 ▼概要 Chrome側のバグなのか、意図する要素が取得できませんでした。。。 AssertionError: expected |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mesh1nek0x0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/mixi-inc/JavaScriptTraining git https://github.com/mixi-inc/JavaScriptTraining.git |
| octolytics-dimension-user_id | 1089312 |
| octolytics-dimension-user_login | mixi-inc |
| octolytics-dimension-repository_id | 12532579 |
| octolytics-dimension-repository_nwo | mixi-inc/JavaScriptTraining |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12532579 |
| octolytics-dimension-repository_network_root_nwo | mixi-inc/JavaScriptTraining |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width