<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>97053</bug_id>
          
          <creation_ts>2012-09-18 17:17:56 -0700</creation_ts>
          <short_desc>Take a closer look at &apos;unsafe-inline&apos; for the &apos;style-src&apos; CSP directive.</short_desc>
          <delta_ts>2016-04-12 13:10:06 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=116508</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike West">mkwst</reporter>
          <assigned_to name="Daniel Bates">dbates</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>dbates</cc>
    
    <cc>felipe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>723138</commentid>
    <comment_count>0</comment_count>
    <who name="Mike West">mkwst</who>
    <bug_when>2012-09-18 17:17:56 -0700</bug_when>
    <thetext>These all might need to be blocked when &apos;unsafe-inline&apos; is not whitelisted for the &apos;style-src&apos; Content Security Policy directive:

&gt; * doc.body.style.background = &quot;...&quot;;
&gt; * doc.body.bgcolor = &quot;...&quot;;
&gt; * doc.body.appendChild(doc.createElement(&quot;font&quot;));
&gt; * bgcolor attributes appearing in the markup
&gt; * &lt;font&gt; elements appearing in the markup

See http://lists.w3.org/Archives/Public/public-webappsec/2012Sep/0055.html for context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>827708</commentid>
    <comment_count>1</comment_count>
    <who name="Mike West">mkwst</who>
    <bug_when>2013-02-07 11:00:46 -0800</bug_when>
    <thetext>Unassigning myself; let&apos;s be realistic about what I&apos;m actually working on. :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1183186</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-04-12 13:10:06 -0700</bug_when>
    <thetext>The style-src changes in Bug 116508 may have addressed this. Dan, can you take a look?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>