Search completed in 1.14 seconds.
7 results for "Valence":
test/assert - Archive of obsolete content
ArchiveAdd-onsAdd-on SDKLow-Level APIstest assert
other pairs that do not both pass typeof value == "object", equivalence is determined by ==.
... for all other object pairs, including array objects, equivalence is determined by having the same number of owned properties (as verified with object.prototype.hasownproperty.call), the same set of keys (although not necessarily the same order), equivalent values for every corresponding key, and an identical "prototype" property.
Assert.jsm
MozillaJavaScript code modulesAssert.jsm
undefined notequal( actual, expected, message ); parameters actual test subject to be evaluated as not equivalent to expected expected test reference to evaluate against actual message short explanation of the expected result deepequal() the equivalence assertion tests a deep equality relation.
... undefined deepequal( actual, expected, message ); parameters actual test subject to be evaluated as equivalent to expected, including nested properties expected test reference to evaluate against actual message short explanation of the expected result notdeepequal() the non-equivalence assertion tests for any deep inequality.
Element.scrollHeight - Web APIs
WebAPIElementscrollHeight
padding-bottom left top right bottom margin-top margin-bottom border-top border-bottom problems and solutions determine if an element has been totally scrolled the following equivalence returns true if an element is at the end of its scroll, false if it isn't.
... element.scrollheight - element.scrolltop === element.clientheight when the container does not scroll, but has overflowing children, these checks determine if the container can scroll: window.getcomputedstyle(element).overflowy === 'visible' window.getcomputedstyle(element).overflowy !== 'hidden' scrollheight demo associated with the onscroll event, this equivalence can be useful to determine whether a user has read a text or not (see also the element.scrolltop and element.clientheight properties).
String.prototype.normalize() - JavaScript
WebJavaScriptReferenceGlobal ObjectsStringnormalize
there are two main normalization forms, one based on canonical equivalence and the other based on compatibility.
... canonical equivalence normalization in unicode, two sequences of code points have canonical equivalence if they represent the same abstract characters, and should always have the same visual appearance and behavior (for example, they should always be sorted in the same way).
nsIMicrosummary
MozillaTechXPCOMReferenceInterfacensIMicrosummary
equals() microsummary equivalence test.
nsIMicrosummaryGenerator
MozillaTechXPCOMReferenceInterfacensIMicrosummaryGenerator
equals() microsummary-generator equivalence test.
Writing Web Audio API code that works in every browser - Developer guides
WebGuideAudio and video deliveryWeb Audio API cross browser
there's a section in the spec that lists the old names and their updated equivalences; be sure to check it out and change your code accordingly.