{"comment":{"created_at":"2011-10-17T16:08:38Z","body":"The alternative is text that protrudes from its container and can cause layout problems. The addition of `pre-wrap` is considered a minor usability improvement.","updated_at":"2011-10-17T16:08:38Z","url":"https://api.github.com/repos/necolas/normalize.css/issues/comments/2430920","id":2430920,"user":{"gravatar_id":"992c9c162c4c62ec0e2621b4f2206533","avatar_url":"https://secure.gravatar.com/avatar/992c9c162c4c62ec0e2621b4f2206533?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/necolas","id":239676,"login":"necolas"}},"action":"created","issue":{"number":55,"created_at":"2011-10-15T22:37:47Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"When you have the situation in which code is put in `<pre><code>...</code></pre>` blocks -- a fairly common practice -- the explicitly set `word-wrap: break-word` on `pre` is problematic, as it will be inherited by the `code` element (in which it tends to be very undesirable).\r\n\r\nTwo options in my opinion:\r\n\r\n* remove the explicit `word-wrap: break-word` on `pre`, or;\r\n* add an explicit `word-wrap: normal` to `code`.\r\n","comments":5,"title":"code inherits word-wrap: break-word from a parent pre","updated_at":"2011-10-17T16:08:38Z","url":"https://api.github.com/repos/necolas/normalize.css/issues/55","id":1919591,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"14466eab341462f1fa25b67c08f78f78","avatar_url":"https://secure.gravatar.com/avatar/14466eab341462f1fa25b67c08f78f78?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/timmolendijk","id":130095,"login":"timmolendijk"},"html_url":"https://github.com/necolas/normalize.css/issues/55","labels":[],"state":"open"},"legacy":{"issue_id":1919591,"comment_id":2430920}}