dc.contributor.author | Brucker, AD | |
dc.contributor.author | Herzberg, M | |
dc.date.accessioned | 2020-12-21T09:55:59Z | |
dc.date.issued | 2020-09-28 | |
dc.description.abstract | In this AFP entry, we formalize the core of the Safely Composable Document Object Model (SC DOM). The SC DOM improve the standard DOM by strengthening the tree boundaries set by shadow roots: in the SC DOM, the shadow root is a sub-class of the document class (instead of a base class). This modifications also results in changes to some API methods (e.g., getOwnerDocument) to return the nearest shadow root rather than the document root. As a result, many API methods that, when called on a node inside a shadow tree, would previously “break out” and return or modify nodes that are possibly outside the shadow tree, now stay within its boundaries. This change in behavior makes programs that operate on shadow trees more predictable for the developer and allows them to make more assumptions about other code accessing the DOM. | en_GB |
dc.identifier.citation | Published online 28 September 2020 | en_GB |
dc.identifier.uri | http://hdl.handle.net/10871/124231 | |
dc.language.iso | en | en_GB |
dc.publisher | AFP | en_GB |
dc.relation.url | https://www.isa-afp.org/entries/Core_SC_DOM.html | en_GB |
dc.rights | © 2004, Gerwin Klein, Tobias Nipkow, Lawrence C. Paulson. © 2004, contributing authors (see author notice in individual files) All rights reserved. All files in the Archive of Formal Proofs that are unmarked or marked with 'License: BSD' are released under the following license. Files marked with 'License: LGPL' are released under the terms detailed in LICENSE.LGPL Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the Archive of Formal Proofs nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | en_GB |
dc.subject | Document Object Model | en_GB |
dc.subject | DOM | en_GB |
dc.subject | SC DOM | en_GB |
dc.subject | Safely Composable DOM | en_GB |
dc.subject | Formal Semantics | en_GB |
dc.subject | Isabelle/HOL | en_GB |
dc.title | The Safely Composable DOM. Core SC DOM: A Formal Model of the Document Object Model for Safe Components | en_GB |
dc.type | Article | en_GB |
dc.date.available | 2020-12-21T09:55:59Z | |
dc.identifier.issn | 2150-914X | |
dc.description | This is the final version. Available from AFP via the link in this record | en_GB |
dc.identifier.journal | Archive of Formal Proofs | en_GB |
dc.rights.uri | https://www.isa-afp.org/LICENSE | en_GB |
rioxxterms.version | VoR | en_GB |
rioxxterms.licenseref.startdate | 2020-09-28 | |
rioxxterms.type | Journal Article/Review | en_GB |
refterms.dateFCD | 2020-12-21T09:54:09Z | |
refterms.versionFCD | VoR | |
refterms.dateFOA | 2020-12-21T09:56:04Z | |
refterms.panel | B | en_GB |