{"action":"opened","number":4569,"pull_request":{"url":"https://api.github.com/repos/mozilla/kuma/pulls/4569","id":154459096,"html_url":"https://github.com/mozilla/kuma/pull/4569","diff_url":"https://github.com/mozilla/kuma/pull/4569.diff","patch_url":"https://github.com/mozilla/kuma/pull/4569.patch","issue_url":"https://api.github.com/repos/mozilla/kuma/issues/4569","number":4569,"state":"open","locked":false,"title":"[DO NOT MERGE] Fix bug 1184796: Optimize bibi mixin for multiple declarations","user":{"login":"stephaniehobson","id":854701,"avatar_url":"https://avatars0.githubusercontent.com/u/854701?v=4","gravatar_id":"","url":"https://api.github.com/users/stephaniehobson","html_url":"https://github.com/stephaniehobson","followers_url":"https://api.github.com/users/stephaniehobson/followers","following_url":"https://api.github.com/users/stephaniehobson/following{/other_user}","gists_url":"https://api.github.com/users/stephaniehobson/gists{/gist_id}","starred_url":"https://api.github.com/users/stephaniehobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephaniehobson/subscriptions","organizations_url":"https://api.github.com/users/stephaniehobson/orgs","repos_url":"https://api.github.com/users/stephaniehobson/repos","events_url":"https://api.github.com/users/stephaniehobson/events{/privacy}","received_events_url":"https://api.github.com/users/stephaniehobson/received_events","type":"User","site_admin":false},"body":"@schalkneethling Not ready but wondering what you think of the concept.\r\n\r\nCurrent behaviour:\r\n```\r\n.test {\r\n    @include bidi-value(float, left, right);\r\n    @include bidi-style(margin-right, ($grid-spacing / 2), margin-left, 0)\r\n}\r\n```\r\nOutputs:\r\n```\r\n.test {\r\n    float: left;\r\n    margin-right: 10px;\r\n}\r\nhtml[dir='rtl'] .test {\r\n    float: right;\r\n}\r\nhtml[dir='rtl'] .test {\r\n    margin-right: 0;\r\n    margin-left: 10px;\r\n}\r\n```\r\n\r\nProposed behaviour:\r\n```\r\n.test {\r\n    @include bidi((\r\n        (float, left, right),\r\n        (margin-right, ($grid-spacing / 2), margin-left, 0)\r\n    ));\r\n}\r\n```\r\nOutputs:\r\n```\r\n.test {\r\n    float: left;\r\n    margin-right: 10px;\r\n}\r\nhtml[dir='rtl'] .test {\r\n    float: right;\r\n    margin-right: 0;\r\n    margin-left: 10px;\r\n}\r\n```\r\n\r\nThis saves about 0.5KB in mdn.css after gzipping.\r\n\r\nQuestions:\r\n- Is the new syntax confusing? Do we make contributions harder by changing?\r\n- Is 0.5KB enough savings to keep working on this?","created_at":"2017-11-24T00:59:52Z","updated_at":"2017-11-24T00:59:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/kuma/pulls/4569/commits","review_comments_url":"https://api.github.com/repos/mozilla/kuma/pulls/4569/comments","review_comment_url":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/kuma/issues/4569/comments","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/6796a4cb2cf5cb2f2c6395ac32df103235d7e4d8","head":{"label":"mozilla:1184796-bidi","ref":"1184796-bidi","sha":"6796a4cb2cf5cb2f2c6395ac32df103235d7e4d8","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"name":"kuma","full_name":"mozilla/kuma","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/kuma","description":"The project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kuma/deployments","created_at":"2011-02-10T21:48:06Z","updated_at":"2017-11-22T06:58:58Z","pushed_at":"2017-11-24T00:50:39Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":203028,"stargazers_count":1132,"watchers_count":1132,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":600,"mirror_url":null,"archived":false,"open_issues_count":27,"forks":600,"open_issues":27,"watchers":1132,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"8f41629afbd1e0bd7146ba2164529d65e7cdda26","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1352520,"name":"kuma","full_name":"mozilla/kuma","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/kuma","description":"The project that powers MDN.","fork":false,"url":"https://api.github.com/repos/mozilla/kuma","forks_url":"https://api.github.com/repos/mozilla/kuma/forks","keys_url":"https://api.github.com/repos/mozilla/kuma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/kuma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/kuma/teams","hooks_url":"https://api.github.com/repos/mozilla/kuma/hooks","issue_events_url":"https://api.github.com/repos/mozilla/kuma/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/kuma/events","assignees_url":"https://api.github.com/repos/mozilla/kuma/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/kuma/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/kuma/tags","blobs_url":"https://api.github.com/repos/mozilla/kuma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/kuma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/kuma/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/kuma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/kuma/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/kuma/languages","stargazers_url":"https://api.github.com/repos/mozilla/kuma/stargazers","contributors_url":"https://api.github.com/repos/mozilla/kuma/contributors","subscribers_url":"https://api.github.com/repos/mozilla/kuma/subscribers","subscription_url":"https://api.github.com/repos/mozilla/kuma/subscription","commits_url":"https://api.github.com/repos/mozilla/kuma/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/kuma/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/kuma/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/kuma/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/kuma/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/kuma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/kuma/merges","archive_url":"https://api.github.com/repos/mozilla/kuma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/kuma/downloads","issues_url":"https://api.github.com/repos/mozilla/kuma/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/kuma/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/kuma/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/kuma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/kuma/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/kuma/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/kuma/deployments","created_at":"2011-02-10T21:48:06Z","updated_at":"2017-11-22T06:58:58Z","pushed_at":"2017-11-24T00:50:39Z","git_url":"git://github.com/mozilla/kuma.git","ssh_url":"git@github.com:mozilla/kuma.git","clone_url":"https://github.com/mozilla/kuma.git","svn_url":"https://github.com/mozilla/kuma","homepage":"https://developer.mozilla.org","size":203028,"stargazers_count":1132,"watchers_count":1132,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":600,"mirror_url":null,"archived":false,"open_issues_count":27,"forks":600,"open_issues":27,"watchers":1132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4569"},"html":{"href":"https://github.com/mozilla/kuma/pull/4569"},"issue":{"href":"https://api.github.com/repos/mozilla/kuma/issues/4569"},"comments":{"href":"https://api.github.com/repos/mozilla/kuma/issues/4569/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4569/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/kuma/pulls/4569/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/kuma/statuses/6796a4cb2cf5cb2f2c6395ac32df103235d7e4d8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":244,"deletions":104,"changed_files":25}}
{"actor":{"display_login":"stephaniehobson"}}