This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] gcc-6/changes.html: diagnostics, Levenshtein, -Wmisleading-indentation, jit (v2)
- From: Mikhail Maltsev <maltsevm at gmail dot com>
- To: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>, Gerald Pfeifer <gerald at pfeifer dot com>, David Malcolm <dmalcolm at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Jan 2016 22:57:27 +0300
- Subject: Re: [wwwdocs] gcc-6/changes.html: diagnostics, Levenshtein, -Wmisleading-indentation, jit (v2)
- Authentication-results: sourceware.org; auth=none
- References: <1452091846 dot 5803 dot 26 dot camel at surprise> <1452697208 dot 5803 dot 93 dot camel at surprise> <1452880969 dot 12356 dot 14 dot camel at surprise> <alpine dot LSU dot 2 dot 20 dot 1601191807180 dot 8075 at anthias> <569E88EB dot 8070609 at gmail dot com>
On 01/19/2016 10:05 PM, Manuel LÃpez-IbÃÃez wrote:
> Am I the only one who doesn't see the colors at
> https://gcc.gnu.org/gcc-6/changes.html#c-family nor
> https://gcc.gnu.org/gcc-5/changes.html#fortran ?
>
> Firefox 43.0.4 says "Content Security Policy: The page's settings blocked the
> loading of a resource at self ("default-src https://gcc.gnu.org http: https:")."
This problem also reproduces with Chrome Version "47.0.2526.106 unknown
(64-bit)". The error message says:
"Refused to apply inline style because it violates the following Content
Security Policy directive: "default-src 'self' http: https:". Either the
'unsafe-inline' keyword, a hash
('sha256-8f935d27GvUutRyY9yWScUMiFUk4WTdZURISiYfPOeQ='), or a nonce
('nonce-...') is required to enable inline execution. Note also that 'style-src'
was not explicitly set, so 'default-src' is used as a fallback."
I think, this can be fixed by replacing 'style="color:red"' with 'class="..."'
and adding the corresponding CSS class to the stylesheet.
--
Regards,
Mikhail Maltsev
- References:
- [wwwdocs] gcc-6/changes.html: diagnostics, Levenshtein, -Wmisleading-indentation, jit
- PING Re: [wwwdocs] gcc-6/changes.html: diagnostics, Levenshtein, -Wmisleading-indentation, jit
- [wwwdocs] gcc-6/changes.html: diagnostics, Levenshtein, -Wmisleading-indentation, jit (v2)
- Re: [wwwdocs] gcc-6/changes.html: diagnostics, Levenshtein, -Wmisleading-indentation, jit (v2)
- Re: [wwwdocs] gcc-6/changes.html: diagnostics, Levenshtein, -Wmisleading-indentation, jit (v2)
- From: Manuel LÃpez-IbÃÃez