W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2013

[Bug 23587] Provide rationale for content restrictions for script tag

From: <bugzilla@jessica.w3.org>
Date: Wed, 30 Oct 2013 17:15:29 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-23587-2486-acqZb18jiz@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23587

--- Comment #7 from Robin Berjon <robin@w3.org> ---
(In reply to Jakub Łopuszański from comment #5)
> Could you provide some real world scenario in which the rules above would be
> contrary to authors intention?

There are plenty of cases in which, if we could simplify things so as to make
them more palatable to authors, we would. We don't just introduce wanton
complexity.

But there is a *lot* of legacy to account for here. The parsing algorithm
matches that legacy, and ensures that content that parses properly today,
sometimes against really complex rules, will keep on parsing tomorrow. So the
basic story is: backcompat.

Yes, that can make generating HTML hard. Honestly I don't think there's much we
can do about that, save write libraries (for server-side programming languages)
that do it right and advocate this in the community.

Leif: unless I've missed something that requires action here, please close this
bug.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 30 October 2013 17:15:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:45 UTC