Day 58 of 100DaysOfSpec, 4.2.6 Styling
I am reading and taking notes on the HTML specifications for 100 days as part of #The100DayProject. Read the initial intent/backstory. I am a Microsoft employee but all opinions, comments, etc on this site are my own. I do not speak on behalf of my employer, and thus no comments should be taken as representative of Microsoft’s official opinion of the spec. Subsections not listed below were read without comment.
Currently reading in 4.2.6 Styling
link elements implement the LinkStyle interface.” When either is successfully processed (see spec for conditions), a
StyleSheet object is returned with:
- type: actual type of the contents must match the type specified
- location: No location for
- media: Same as the
mediacontent attribute. An empty string if the attribute wasn’t specified.
- title: matches the
titleattribute, if given.
- alternate flag: for
linkelements. Boolean value for whether or not the
linkis an alternate stylesheet.
A stylesheet (
style, or otherwise) can be considered script-blocking if they meet a few cumulative conditions, which appears to be the standard case. The UA gets to choose when to stop attempting to load a stylesheet.