Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-03-10 Thread Ian Hickson
On Thu, 11 Feb 2010, Biju wrote: On Wed, Feb 10, 2010 at 10:40 PM, Ian Hickson i...@hixie.ch wrote: At least in one page I saw, which was Case 1 and page was originally from a JSP or ASP template later modified and saved as a *.html I recommend fixing the page. :-) Hey, this is

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-15 Thread Gordon P. Hemsley
On Tue, Feb 9, 2010 at 10:05 PM, Biju bijumaill...@gmail.com wrote: What should a user agent display when html content is... htmlbody %@ page language=java % /body/html At present IE and Safari display blank Firefox display %@ page language=java % And for document.body.innerHTML

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-15 Thread Biju
Why cant we consider % some text % and ? some text ? as pre-processor command node in HTML DOM. Also as a user I feel why cant Firefox, Safari, Opera, Chrome agree to behave same.

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-15 Thread Tab Atkins Jr.
On Mon, Feb 15, 2010 at 2:45 AM, Biju bijumaill...@gmail.com wrote: Also as a user I feel why cant Firefox, Safari, Opera, Chrome agree to behave same. Because, before HTML5, they all had to guess at what the others were doing. ^_^ As they all implement the HTML5 parsing algorithm, they will

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-12 Thread Simon Pieters
On Fri, 12 Feb 2010 03:10:32 +0100, Boris Zbarsky bzbar...@mit.edu wrote: On 2/11/10 3:07 AM, Biju wrote: the text inside% and % may contain any number of percentage sign or greater than sign, as long as they dont make a % pair. OK If you see? some text treat it like a HTML comment.

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-11 Thread Biju
On Wed, Feb 10, 2010 at 2:25 AM, Boris Zbarsky bzbar...@mit.edu wrote: Well, for a start the IE way would need to be defined.  I haven't quite seen anyone do that yet. Safari and Chrome display content in IE way, but they dont follow IE way for DOM IE Way:- May need to check with Microsoft, but

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-11 Thread Boris Zbarsky
On 2/11/10 3:07 AM, Biju wrote: the text inside% and % may contain any number of percentage sign or greater than sign, as long as they dont make a % pair. OK If you see? some text treat it like a HTML comment. Again for this also a comment node will be created in DOM, and when its

[whatwg] % text % and ? text ? in corporate intranet html content

2010-02-09 Thread Biju
What should a user agent display when html content is... htmlbody %@ page language=java % /body/html At present IE and Safari display blank Firefox display %@ page language=java % And for document.body.innerHTML browsers give Firefox -- lt;%@ page language=java %gt; IE --%@ page language=java

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-09 Thread Tab Atkins Jr.
On Tue, Feb 9, 2010 at 9:05 PM, Biju bijumaill...@gmail.com wrote: What should a user agent display when html content is... htmlbody %@ page language=java % /body/html At present IE and Safari display blank Firefox display %@ page language=java % And for document.body.innerHTML browsers

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-09 Thread Boris Zbarsky
On 2/9/10 11:56 PM, Tab Atkins Jr. wrote: On Tue, Feb 9, 2010 at 9:05 PM, Bijubijumaill...@gmail.com wrote: What should a user agent display when html content is... htmlbody %@ page language=java % /body/html At present IE and Safari display blank Firefox display%@ page language=java % As

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-09 Thread Biju
On Wed, Feb 10, 2010 at 12:56 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: All of these cases appear to be an ASP or PHP page that is accidentally being sent as ordinary html. You shouldn't be seeing these tags at all in the source of the page unless a server is misconfigured. At least in

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-09 Thread Boris Zbarsky
On 2/10/10 1:15 AM, Biju wrote: Personally I prefer the IE way as I think one may able to make a simple PHP or JSP editor just using contentEditable feature. Well, for a start the IE way would need to be defined. I haven't quite seen anyone do that yet. -Boris