{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments/98050550","pull_request_review_id":18681064,"id":98050550,"diff_hunk":"@@ -0,0 +1,124 @@\n+<!doctype html>\n+<title>HTML styles</title>\n+<script src=\"/resources/testharness.js\"></script>\n+<script src=\"/resources/testharnessreport.js\"></script><style>\n+div.b {\n+  all: initial;\n+  direction: initial;\n+  unicode-bidi: initial;\n+  display: block;\n+}\n+\n+div.c {\n+  background: red;\n+  background: initial;\n+}\n+\n+span.b {\n+  all: initial;\n+  direction: initial;\n+  unicode-bidi: initial;\n+  display: inline;\n+}\n+</style>\n+<div class=\"a\"></div>\n+<div class=\"b\"></div>\n+<div class=\"c\"></div>\n+<span class=\"a\"></span>\n+<span class=\"b\"></span>\n+<p></p>\n+<ul>\n+  <li>\n+</ul>\n+<ol>\n+  <li>\n+</ol>\n+<table>\n+  <tbody>\n+    <tr>\n+      <td>\n+</table>\n+<script>\n+test(function() {\n+  assert_true('all' in document.documentElement.style);\n+}, \"(pre-req for comparison tests) all CSS short-hand supported\");\n+\n+test(function() {\n+  assert_equals(window.getComputedStyle(document.querySelector(\"div.c\")).backgroundColor,\n+                \"rgba(0, 0, 0, 0)\");\n+}, \"(pre-req for comparison tests) initial CSS value supported\");\n+\n+test(function() {\n+  var a = document.querySelector(\"div.a\");\n+  var b = document.querySelector(\"div.b\");\n+\n+  var a_styles = window.getComputedStyle(a);\n+  var b_styles = window.getComputedStyle(b);\n+\n+  assert_equals(a_styles.length, b_styles.length, \"Same properties on both #a and #b\");\n+\n+  for (var i = 0; i < a_styles.length; i++) {\n+    var property = a_styles[i];\n+    assert_equals(property, b_styles[i], \"Same property on #a and #b\");\n+    assert_equals(a_styles[property], b_styles[property], \"Different value for \" + property);\n+  }\n+}, \"Compare CSS div definitions (only valid if pre-reqs pass)\");\n+\n+test(function() {\n+  var a = document.querySelector(\"span.a\");\n+  var b = document.querySelector(\"span.b\");\n+\n+  var a_styles = window.getComputedStyle(a);\n+  var b_styles = window.getComputedStyle(b);\n+\n+  assert_equals(a_styles.length, b_styles.length, \"Same properties on both #a and #b\");\n+\n+  for (var i = 0; i < a_styles.length; i++) {\n+    var property = a_styles[i];\n+    assert_equals(property, b_styles[i], \"Same property on #a and #b\");","path":"assumptions/html-elements.html","position":62,"original_position":78,"commit_id":"430f24467f68f9f357b13cf8f40e40d7cc114d44","original_commit_id":"430f24467f68f9f357b13cf8f40e40d7cc114d44","user":{"login":"gsnedders","id":176218,"avatar_url":"https://avatars.githubusercontent.com/u/176218?v=3","gravatar_id":"","url":"https://api.github.com/users/gsnedders","html_url":"https://github.com/gsnedders","followers_url":"https://api.github.com/users/gsnedders/followers","following_url":"https://api.github.com/users/gsnedders/following{/other_user}","gists_url":"https://api.github.com/users/gsnedders/gists{/gist_id}","starred_url":"https://api.github.com/users/gsnedders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsnedders/subscriptions","organizations_url":"https://api.github.com/users/gsnedders/orgs","repos_url":"https://api.github.com/users/gsnedders/repos","events_url":"https://api.github.com/users/gsnedders/events{/privacy}","received_events_url":"https://api.github.com/users/gsnedders/received_events","type":"User","site_admin":false},"body":"Like, why aren't you sure if it's all guaranteed?","created_at":"2017-01-26T17:51:44Z","updated_at":"2017-01-26T17:51:44Z","html_url":"https://github.com/w3c/web-platform-tests/pull/4411#discussion_r98050550","pull_request_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411","_links":{"self":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments/98050550"},"html":{"href":"https://github.com/w3c/web-platform-tests/pull/4411#discussion_r98050550"},"pull_request":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411","id":99879046,"html_url":"https://github.com/w3c/web-platform-tests/pull/4411","diff_url":"https://github.com/w3c/web-platform-tests/pull/4411.diff","patch_url":"https://github.com/w3c/web-platform-tests/pull/4411.patch","issue_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/4411","number":4411,"state":"open","locked":false,"title":"Add tests for some of the assumptions of the test suite","user":{"login":"gsnedders","id":176218,"avatar_url":"https://avatars.githubusercontent.com/u/176218?v=3","gravatar_id":"","url":"https://api.github.com/users/gsnedders","html_url":"https://github.com/gsnedders","followers_url":"https://api.github.com/users/gsnedders/followers","following_url":"https://api.github.com/users/gsnedders/following{/other_user}","gists_url":"https://api.github.com/users/gsnedders/gists{/gist_id}","starred_url":"https://api.github.com/users/gsnedders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsnedders/subscriptions","organizations_url":"https://api.github.com/users/gsnedders/orgs","repos_url":"https://api.github.com/users/gsnedders/repos","events_url":"https://api.github.com/users/gsnedders/events{/privacy}","received_events_url":"https://api.github.com/users/gsnedders/received_events","type":"User","site_admin":false},"body":"This starts to resolve #3827","created_at":"2017-01-02T16:52:10Z","updated_at":"2017-01-26T17:51:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9278660b620738b877c5cd89f3a230dda649b23d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411/commits","review_comments_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411/comments","review_comment_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/4411/comments","statuses_url":"https://api.github.com/repos/w3c/web-platform-tests/statuses/430f24467f68f9f357b13cf8f40e40d7cc114d44","head":{"label":"gsnedders:test-assumptions","ref":"test-assumptions","sha":"430f24467f68f9f357b13cf8f40e40d7cc114d44","user":{"login":"gsnedders","id":176218,"avatar_url":"https://avatars.githubusercontent.com/u/176218?v=3","gravatar_id":"","url":"https://api.github.com/users/gsnedders","html_url":"https://github.com/gsnedders","followers_url":"https://api.github.com/users/gsnedders/followers","following_url":"https://api.github.com/users/gsnedders/following{/other_user}","gists_url":"https://api.github.com/users/gsnedders/gists{/gist_id}","starred_url":"https://api.github.com/users/gsnedders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsnedders/subscriptions","organizations_url":"https://api.github.com/users/gsnedders/orgs","repos_url":"https://api.github.com/users/gsnedders/repos","events_url":"https://api.github.com/users/gsnedders/events{/privacy}","received_events_url":"https://api.github.com/users/gsnedders/received_events","type":"User","site_admin":false},"repo":{"id":10076726,"name":"web-platform-tests","full_name":"gsnedders/web-platform-tests","owner":{"login":"gsnedders","id":176218,"avatar_url":"https://avatars.githubusercontent.com/u/176218?v=3","gravatar_id":"","url":"https://api.github.com/users/gsnedders","html_url":"https://github.com/gsnedders","followers_url":"https://api.github.com/users/gsnedders/followers","following_url":"https://api.github.com/users/gsnedders/following{/other_user}","gists_url":"https://api.github.com/users/gsnedders/gists{/gist_id}","starred_url":"https://api.github.com/users/gsnedders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsnedders/subscriptions","organizations_url":"https://api.github.com/users/gsnedders/orgs","repos_url":"https://api.github.com/users/gsnedders/repos","events_url":"https://api.github.com/users/gsnedders/events{/privacy}","received_events_url":"https://api.github.com/users/gsnedders/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gsnedders/web-platform-tests","description":"Test Suites for Web Platform specifications","fork":true,"url":"https://api.github.com/repos/gsnedders/web-platform-tests","forks_url":"https://api.github.com/repos/gsnedders/web-platform-tests/forks","keys_url":"https://api.github.com/repos/gsnedders/web-platform-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gsnedders/web-platform-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gsnedders/web-platform-tests/teams","hooks_url":"https://api.github.com/repos/gsnedders/web-platform-tests/hooks","issue_events_url":"https://api.github.com/repos/gsnedders/web-platform-tests/issues/events{/number}","events_url":"https://api.github.com/repos/gsnedders/web-platform-tests/events","assignees_url":"https://api.github.com/repos/gsnedders/web-platform-tests/assignees{/user}","branches_url":"https://api.github.com/repos/gsnedders/web-platform-tests/branches{/branch}","tags_url":"https://api.github.com/repos/gsnedders/web-platform-tests/tags","blobs_url":"https://api.github.com/repos/gsnedders/web-platform-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gsnedders/web-platform-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gsnedders/web-platform-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/gsnedders/web-platform-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gsnedders/web-platform-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/gsnedders/web-platform-tests/languages","stargazers_url":"https://api.github.com/repos/gsnedders/web-platform-tests/stargazers","contributors_url":"https://api.github.com/repos/gsnedders/web-platform-tests/contributors","subscribers_url":"https://api.github.com/repos/gsnedders/web-platform-tests/subscribers","subscription_url":"https://api.github.com/repos/gsnedders/web-platform-tests/subscription","commits_url":"https://api.github.com/repos/gsnedders/web-platform-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/gsnedders/web-platform-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/gsnedders/web-platform-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/gsnedders/web-platform-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/gsnedders/web-platform-tests/contents/{+path}","compare_url":"https://api.github.com/repos/gsnedders/web-platform-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gsnedders/web-platform-tests/merges","archive_url":"https://api.github.com/repos/gsnedders/web-platform-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gsnedders/web-platform-tests/downloads","issues_url":"https://api.github.com/repos/gsnedders/web-platform-tests/issues{/number}","pulls_url":"https://api.github.com/repos/gsnedders/web-platform-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/gsnedders/web-platform-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/gsnedders/web-platform-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gsnedders/web-platform-tests/labels{/name}","releases_url":"https://api.github.com/repos/gsnedders/web-platform-tests/releases{/id}","deployments_url":"https://api.github.com/repos/gsnedders/web-platform-tests/deployments","created_at":"2013-05-15T11:06:17Z","updated_at":"2015-08-31T04:05:41Z","pushed_at":"2017-01-04T14:56:10Z","git_url":"git://github.com/gsnedders/web-platform-tests.git","ssh_url":"git@github.com:gsnedders/web-platform-tests.git","clone_url":"https://github.com/gsnedders/web-platform-tests.git","svn_url":"https://github.com/gsnedders/web-platform-tests","homepage":"","size":168733,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"f729d727824d6a35b6b9044d1cb495b6102ad92b","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":3618133,"name":"web-platform-tests","full_name":"w3c/web-platform-tests","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/web-platform-tests","description":"Test Suites for Web Platform specifications—including WHATWG, W3C and others","fork":false,"url":"https://api.github.com/repos/w3c/web-platform-tests","forks_url":"https://api.github.com/repos/w3c/web-platform-tests/forks","keys_url":"https://api.github.com/repos/w3c/web-platform-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/web-platform-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/web-platform-tests/teams","hooks_url":"https://api.github.com/repos/w3c/web-platform-tests/hooks","issue_events_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/web-platform-tests/events","assignees_url":"https://api.github.com/repos/w3c/web-platform-tests/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/web-platform-tests/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/web-platform-tests/tags","blobs_url":"https://api.github.com/repos/w3c/web-platform-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/web-platform-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/web-platform-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/web-platform-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/web-platform-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/web-platform-tests/languages","stargazers_url":"https://api.github.com/repos/w3c/web-platform-tests/stargazers","contributors_url":"https://api.github.com/repos/w3c/web-platform-tests/contributors","subscribers_url":"https://api.github.com/repos/w3c/web-platform-tests/subscribers","subscription_url":"https://api.github.com/repos/w3c/web-platform-tests/subscription","commits_url":"https://api.github.com/repos/w3c/web-platform-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/web-platform-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/web-platform-tests/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/web-platform-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/web-platform-tests/merges","archive_url":"https://api.github.com/repos/w3c/web-platform-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/web-platform-tests/downloads","issues_url":"https://api.github.com/repos/w3c/web-platform-tests/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/web-platform-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/web-platform-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/web-platform-tests/labels{/name}","releases_url":"https://api.github.com/repos/w3c/web-platform-tests/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/web-platform-tests/deployments","created_at":"2012-03-04T12:58:11Z","updated_at":"2017-01-25T11:24:26Z","pushed_at":"2017-01-26T16:51:07Z","git_url":"git://github.com/w3c/web-platform-tests.git","ssh_url":"git@github.com:w3c/web-platform-tests.git","clone_url":"https://github.com/w3c/web-platform-tests.git","svn_url":"https://github.com/w3c/web-platform-tests","homepage":"http://irc.w3.org/?channels=testing","size":170495,"stargazers_count":932,"watchers_count":932,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1016,"mirror_url":null,"open_issues_count":465,"forks":1016,"open_issues":465,"watchers":932,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411"},"html":{"href":"https://github.com/w3c/web-platform-tests/pull/4411"},"issue":{"href":"https://api.github.com/repos/w3c/web-platform-tests/issues/4411"},"comments":{"href":"https://api.github.com/repos/w3c/web-platform-tests/issues/4411/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/4411/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/web-platform-tests/statuses/430f24467f68f9f357b13cf8f40e40d7cc114d44"}}}}
{"actor":{"display_login":"gsnedders"}}