Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11326

Deprecate processing of embedded style sheets

    XMLWordPrintableJSON

Details

    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

      { color: red }

      @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

      Attachments

        Activity

          People

            rombert Robert Munteanu
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h