Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When validating HTML, external stylesheets embedded in style tags are
loaded and inlined. For example, validating
—
<h1>Hello, world</h1>
<style type="text/css">
h1
@import "https://example.com/my-awesome-input.css"
</style>
—
Will access https://example.com/my-awesome-input.css, inline it in the
style tag, and validate it.
This functionality is disabled in the default configuration we ship
with Sling. I think this can have a stability and performance impact
when enabled and therefore I propose that we stop supporting it in the
future.
See also https://lists.apache.org/thread/l1yfmc6jkd9gx5bmx509dy25dc6o434m