ISSUE-176: Bug 18395 - Encoding Sniffing Algorithm: Overrides apply to nested browsing contexts

Bug 18395 - Encoding Sniffing Algorithm: Overrides apply to nested browsing contexts

State:
CLOSED
Product:
html
Raised by:
Richard Ishida
Opened on:
2012-08-01
Description:
Bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=18395

Raised by: Leif Halvard Silli

About: http://dev.w3.org/html5/spec/Overview#encoding-sniffing-algorithm


Proposal: Extend the encoding sniffing algorithm with a new
step after the current first step (about user
overriding), like so:

#. If the current document lives in the 'nested browsing
context'[1] of a document in a 'parent browsing context'
whose encoding has been overridden at the request of the
user, then return the encoding of the parent browsing
context, and abort these steps. [My note: Doesn't apply if
the current doc is XML, [see bug #1], or if it contains the
BOM, confer Bug 17810/Bug 15359.]

Justification:

Currently, when a user agent obeys a user's request to override the
encoding of a parent browsing context, then [NB: I did not test the
relevant version of IE yet: IE8/IE9/IE10], unless the document of the
child browsing context contains a BOM or [see bug #1] the document is
an XML document, then they all apply the encoding of the parent
browsing context to the child browsing context as well.

More data in my related blog post.[2]

[1] http://dev.w3.org/html5/spec/Overview#nested-browsing-context
[2] http://målform.no/blog/white-spots-in-html5-s-encoding-sniffing-algorithm
Related Actions Items:
No related actions
Related emails:
  1. I18N-ISSUE-176: Bug 18395 - Encoding Sniffing Algorithm: Overrides apply to nested browsing contexts [.Monitor-HTML] (from sysbot+tracker@w3.org on 2012-08-01)

Related notes:

No additional notes.

Display change log ATOM feed


Addison Phillips <addison@amazon.com>, Chair, Richard Ishida <ishida@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $