This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26144 - This should not be invoked when the document is fetched through XMLHttpRequest
Summary: This should not be invoked when the document is fetched through XMLHttpRequest
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks: 24055
  Show dependency treegraph
 
Reported: 2014-06-19 10:55 UTC by contributor
Modified: 2014-09-05 08:38 UTC (History)
7 users (show)

See Also:


Attachments

Description contributor 2014-06-19 10:55:56 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html
Multipage: http://www.whatwg.org/C#update-a-style-block
Complete: http://www.whatwg.org/c#update-a-style-block
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
This should not be invoked when the document is fetched through XMLHttpRequest

Posted from: 77.57.114.66 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0
Comment 1 Anne 2014-06-19 10:59:29 UTC
However, in SVG as image context (<img src=svg>) we do want to create a style sheet, but we want to set some kind of parameter that the style sheet only fetches resources with the "local fetches only flag" (see bug 26114) set.

Defining this in detail requires some careful coordination between SVG/CSS/HTML/Fetch.
Comment 2 Ian 'Hixie' Hickson 2014-08-28 23:42:26 UTC
Comment 1 should be a separate bug (and hopefully we can get the ES6 spec adjusted to allow that kind of metadata to be sent through — please support the cause by responding to http://esdiscuss.org/topic/es6-loader-proposed-changes .)
Comment 3 contributor 2014-08-28 23:42:42 UTC
Checked in as WHATWG revision r8729.
Check-in comment: Make sure <style> does nothing when there's no browsing context.
http://html5.org/tools/web-apps-tracker?from=8728&to=8729
Comment 4 Anne 2014-09-05 08:38:54 UTC
Filed bug 26734 for the follow up.