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 15557 - Clarify whether constraints on static text (12.1.3) applies here to text nodes inserted dynamiclly.
Summary: Clarify whether constraints on static text (12.1.3) applies here to text node...
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:
 
Reported: 2012-01-14 13:19 UTC by contributor
Modified: 2012-07-18 18:49 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-01-14 13:19:47 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Multipage: http://www.whatwg.org/C#text-content
Complete: http://www.whatwg.org/c#text-content

Comment:
Clarify whether constraints on static text (12.1.3) applies here to text nodes
inserted dynamiclly.

Posted from: 114.43.126.2 by kennyluck@csail.mit.edu
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Comment 1 Kang-Hao (Kenny) Lu 2012-01-14 13:33:20 UTC
It's not clear whether a conformance checker that runs JS should treat the following HTML document as conforming or not

data:text/html,<!DOCTYPE html><title></title><span></span><script>document.querySelector('span').textContent= "Te\udf06st"</script>

(where \udf06 is a isolated surrogate)

since the requirement about this, defined along #syntax-text , isn't linked from #text-content .
Comment 2 contributor 2012-02-06 23:42:06 UTC
Checked in as WHATWG revision r6968.
Check-in comment: Hoist requirements on what text can consist of from the text/html syntax to the DOM, so it also applies to XML and script-provided data.
http://html5.org/tools/web-apps-tracker?from=6967&to=6968