mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
41336d20b3
nsDOMWindowUtils.getOMTAOrComputedStyle falls back to using getComputedStyle when an OMTA style is not available. However, in order to be sure we are testing OMTA, this patch adds getOMTAStyle which returns an empty string if no OMTA style is available. This patch also includes some minor stylistic tweaks. The method signature for getOMTAOrComputedStyle now takes an nsIDOMElement parameter rather than nsIDOMNode in order to simplify error-checking. (When we support OMTA of pseudo-elements we will have to adjust the method signature but for now we only support elements.) Also, some lines have been wrapped, ErrorResult is declared closer to where it is used, and the return value aResult is only truncated when returning NS_OK. |
||
---|---|---|
.. | ||
domstubs.idl | ||
moz.build | ||
nsIBrowserDOMWindow.idl | ||
nsICompositionStringSynthesizer.idl | ||
nsIContentPermissionPrompt.idl | ||
nsIContentPrefService2.idl | ||
nsIContentPrefService.idl | ||
nsIContentURIGrouper.idl | ||
nsIDOMChromeWindow.idl | ||
nsIDOMClientRect.idl | ||
nsIDOMClientRectList.idl | ||
nsIDOMConstructor.idl | ||
nsIDOMCrypto.idl | ||
nsIDOMCryptoLegacy.idl | ||
nsIDOMGlobalObjectConstructor.idl | ||
nsIDOMGlobalPropertyInitializer.idl | ||
nsIDOMHistory.idl | ||
nsIDOMJSWindow.idl | ||
nsIDOMLocation.idl | ||
nsIDOMModalContentWindow.idl | ||
nsIDOMNavigator.idl | ||
nsIDOMScreen.idl | ||
nsIDOMWindow.idl | ||
nsIDOMWindowB2G.idl | ||
nsIDOMWindowCollection.idl | ||
nsIDOMWindowUtils.idl | ||
nsIFocusManager.idl | ||
nsIFrameRequestCallback.idl | ||
nsIIdleObserver.idl | ||
nsIQueryContentEventResult.idl | ||
nsISpeechSynthesisGetter.idl | ||
nsIStructuredCloneContainer.idl | ||
nsITabChild.idl | ||
nsITabParent.idl |