Content Security Policy 1.0
Mitigate cross-site scripting attacks by only allowing certain sources of script, style, and other resources.
Content Security Policy Level 2
Mitigate cross-site scripting attacks by only allowing certain sources of script, style, and other resources. CSP 2 adds hash-source, nonce-source, and five new directives
CSS Container Style Queries
Style queries in Container Queries provide a way to query the current styling of a container, and conditionally apply additional CSS to the contents of that container.
CSS display: contents
`display: contents` causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques.
CSS Generated content for pseudo-elements
Method of displaying text or images before or after the given element's contents using the ::before and ::after pseudo-elements. All browsers with support also support the `attr()` notation in the `content` property.
Details & Summary elements
The <details> element generates a simple no-JavaScript widget to show/hide element contents, optionally by clicking on its child <summary> element.
Document.execCommand()
Allows running commands to manipulate the contents of an editable region in a document switched to designMode
FileReader API
Method of reading the contents of a File or Blob object into memory
display: flow-root
The element generates a block container box, and lays out its contents using flow layout. It always establishes a new block formatting context for its contents. It provides a better solution to the most use cases of the "clearfix" hack.
seamless attribute for iframes
The seamless attribute makes an iframe's contents actually part of a page, and adopts the styles from its hosting page. The attribute has been removed from both [the WHATWG](https://github.com/whatwg/html/issues/331) and [the W3C](https://github.com/w3c/html/pull/325) HTML5 specifications.
HTMLElement.innerText
A property representing the text within a DOM element and its descendants. As a getter, it approximates the text the user would get if they highlighted the contents of the element with the cursor and then copied to the clipboard.
Directory selection from file input
The `webkitdirectory` attribute on the `<input type="file">` element allows entire directory with file contents (and any subdirectories) to be selected.
View Transitions API (single-document)
Provides a mechanism for easily creating animated transitions between different DOM states, while also updating the DOM contents in a single step. This API is specific to single-document transitions, support for same-origin cross-document transitions is [being planned](https://github.com/WICG/view-transitions/blob/main/cross-doc-explainer.md).
range api: clonecontents
range api: deletecontents
range api: extractcontents
range api: selectnodecontents
range api: surroundcontents
css property: display: contents
css property: display: contents: specific behavior of unusual elements when `display: contents` is applied to them
css property: will-change: contents
21 results found.