| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
| |
This make MediaQueryList inherit from EventTarget and adds MediaQueryListEvent
as an interface as well as the onchange() method.
This should not affect compatibility with other code; the event object is a
MediaQueryListEvent instance, which is recognized as a MediaListQuery instance.
|
|
|
|
|
| |
This DiD measure ensures that our async HRTF database loading is completed
before we actually try to use it. If not done, database() simply returns null.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Implement percentage for CSS opacity keywords
|
| |
| |
| |
| | |
Even though percentages are already treated as floats internally by the style system for computation purposes, you have to go out of your way to stop them from being read back out as percentages. What I do here amounts to storing the percentage token in the "wrong" container, the one normally used for floats. This allows a value that was read in as a percentage to be read back out as something else, which is normally prevented by the design of the style system.
|
| |
| |
| |
| |
| | |
This preliminary step allows percentages to be computed and display correctly,
but unfortunately it fails a test after changing VARIANT_HN to VARIANT_HPN because that allows values to be serialized as percentages. However, not doing this means percentages are rejected as valid values for the user to input. The way the style system is setup makes it hard to change this for opacity without changing it for everything else, especially since some code-saving speed hacks in Bug 636029 and Bug 441367 that make a lot of assumptions about this stuff very rigid.
|
| |
| |
| |
| |
| | |
This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
|
| | |
|
| |
| |
| |
| |
| | |
Instead of doing the whole dll-load, replace function dance, we can just use the
shlobj.h version of Windows.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Implements ResizeObserver, ResizeObserverEntry and ResizeObservation
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Clear the module map - Debug Followup
|
|/ /
| |
| |
| |
| |
| | |
An assertion was added to dom/script/ScriptLoader.cpp but fails to compile on debug builds due it not being included in the namespace.
Ref: BZ 1529203
|
|\|
| |
| | |
Clean up local variables from <link> disabled issue.
|
| |
| |
| |
| | |
Since the local variable is always initialized to false, we don't actually need to declare it and can just pass "false" directly as a parameter to the PrepareSheet function's bool. I was worried about code readability at first, but some well-placed comments took care of that.
|
| |
| |
| |
| | |
This clarifies the assumptions the code is making and the order in which the variables pass through the loading process. The new variable is set after the sheet is created and prepared, and is assumed to be false in the beginning.
|
| |
| |
| | |
* Issue #457 - Fix usage of a macro in a cocoa widget
|
| |
| |
| |
| |
| |
| | |
There are situations where nsCSSClipPathinstance->CreateClipPath(dt)
returns null. We need to check for this before trying to use its
functions. If there is no clip path, then always return "no hit".
|
|\ \
| | |
| | | |
Remove hostname parameter to trust domain.
|
|/ /
| |
| |
| |
| |
| | |
Host name was purely being used for HPKP and since HPKP is killed,
this can also go. Currently it doesn't do anything other than
generating build warnings.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
release build assertions for mismatching compartments.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
compilation"
This reverts commit 22f300f7c431bbf4de20437d2ebd7bff38284efb.
|
| | |
| | |
| | |
| | | |
This hooks up module scripts to the existing preload mechanism.
|
| | |
| | |
| | |
| | | |
Ref BZ 1342416
|
| | |
| | |
| | |
| | |
| | | |
Adds a self-hosted implementation of this map->object conversion.
This resolves #1639.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Implement CSS flow-root keyword
|
|/ / /
| | |
| | |
| | | |
This is just a clean port of 1322191 and follow-up 1325970. It really seems to add create a new way to access existing code relating to block formatting and floating elements rather than implementing new functionality, and it is mercifully straightforwards.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Basically, NSC_GetTokenInfo doesn't lock slot->slotLock before accessing slot
after obtaining it, even though slotLock is defined as its lock.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Unless a user is debugging media errors, this detail is unnecessary to report
and could include sensitive data which could be abused by third-party
requesters. This aligns it with the standard success/error paradigms in normal
browsing situations.
|
|\| | |
|
| |\ \
| | | |
| | | | |
Don't preload nomodule scripts when modules are enabled
|
| | | |
| | | |
| | | |
| | | | |
Ref: BZ 1446082
|
| |/ /
| | |
| | |
| | | |
Ref: BZ 1382020
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit does several things:
- Moves the pref check from ScriptLoader to ns[I]Document so it can be called on
the document.
- Changes the atrribute freezing function to a better name that takes the
document as a parameter.
- Sets the proper async/defer attributes on HTML script elements based on
keywords and whether they are module scripts or not.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This simplifies handling of combinations of async/defer by assigning one and
only one state to scripts.
If async then always async > if defer or module then defer > otherwise blocking.
|