athenian200
efc6048941
Issue #1784 - Add -moz-dark-theme media query and allow prefers-color-scheme to follow it.
2021-06-24 11:10:22 +08:00
Moonchild
2703c4fc63
[whitespace] Fix CRLF line endings.
...
When originally implementing ResizeObserver, line endings ended up being CRLF
instead of LF. This commit fixes those line endings (no code changes)
2021-06-24 11:09:12 +08:00
Moonchild
699781f37c
Issue #1783 - Part 3: Remove ResizeObservation's BroadcastSize.
...
This is chrome-only and unused, and interfered with getting the spec update in.
2021-06-24 11:05:47 +08:00
Moonchild
25164d0b75
Issue #1783 - Part 2: Update ResizeObserver and resizeObserverSize.
...
This adds the later spec revision's contentBoxSize and borderBoxSize, and the
inlineSize and blockSize concepts.
The older spec contentRect remains functional as well for backwards
compatibility with the earlier spec (that was IMHO perfectly fine as it was...)
2021-06-24 11:05:45 +08:00
Moonchild
51d3f2d2f3
Issue #1783 - Part 1: Move GetNodeDepth to ResizeObserver.cpp
...
GetNodeDepth() is a specialized version for ResizeObserver to get the depth of
a node across Shadow DOM. It's better to have this in ResizeObserver.cpp
instead of the generic ContentUtils.
Also updated the function to bypass the shadow root itself and not count it
because ResizeObserver doesn't observe the shadow root and only needs the
relative depths among all observed targets. IOW we use the flattened tree here.
2021-06-24 11:05:44 +08:00
roytam1
041677fc4b
Merge remote-tracking branch 'origin/master' into custom
2021-06-15 11:20:52 +08:00
Moonchild
15a322effa
Issue #1781 - Part 1: support calc() in stroke-dashoffset CSS
...
This adds basic calc() support to stroke-dashoffset. It does not provide
CSS animation (yet, todo for part 2)
2021-06-15 11:18:58 +08:00
roytam1
1d77ae7705
Merge remote-tracking branch 'origin/master' into custom
2021-05-10 10:08:49 +08:00
Moonchild
a6ae35ba91
Issue #1751 -- Remove cocoa support code from /dom
2021-05-10 09:54:32 +08:00
roytam1
d4582b821c
Merge remote-tracking branch 'origin/master' into custom
2021-05-07 09:56:55 +08:00
Moonchild
a4b0f333ba
Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
...
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
roytam1
2c79eebb23
Merge remote-tracking branch 'origin/master' into custom
2021-05-05 10:32:33 +08:00
Moonchild
2f27335cc4
Issue #1751 -- Remove XP_DARWIN
2021-05-05 10:27:04 +08:00
Moonchild
d29e4f8306
Issue #1751 -- Remove XP_MACOSX conditionals from /dom
2021-05-05 10:26:13 +08:00
roytam1
3348d89604
partly imported from bk55:
...
- import changes from tenfourfox:
- #642 : M1699835 (modified)
- #642 : update eTLDs
2021-04-23 09:27:29 +08:00
roytam1
46c9b4df6f
Merge remote-tracking branch 'origin/master' into custom
2021-04-23 09:23:01 +08:00
Jeff Gilbert
88bfb5d5d1
[WebGL] Bind framebuffer before DrawBuffers/ReadBuffer selection.
2021-04-21 21:55:40 +08:00
Moonchild
7e02267fd3
[DOM] Add missing IDL definitions for CSP .nonce attributes.
...
Apparently Mozilla completely spaced out on this when adding the CSP nonce
mechanism, potentially causing web compat issues if scripting relies on
being able to get/set nonces through DOM and/or causing CSP policy check
issues if websites try to "hide" nonces.
2021-04-20 09:05:20 +08:00
roytam1
7f6520be1a
Merge remote-tracking branch 'origin/master' into custom
2021-04-02 10:50:32 +08:00
athenian200
618fa768c8
Issue #1757 - Reinstate "dom.details_element.enabled" preference
...
The removal of this preference was botched, all other surrounding plumbing changes appear to be working okay. The ability to use prefs to control this stylesheet might be useful in the future, so perhaps this is one of those "if it ain't broke, don't fix it" bugs where leaving well enough alone in the first place would have been the best choice.
2021-04-02 10:33:54 +08:00
roytam1
f9ded55f98
Merge remote-tracking branch 'origin/master' into custom
2021-03-25 09:26:26 +08:00
Moonchild
bdfe49f178
[WebGL] Only allow texture uploads from pixelbuffer if bound.
...
Throw an error if it mismatches.
2021-03-25 09:05:44 +08:00
athenian200
da2461fa57
Issue #1752 - Implement "prefers-color-scheme" as a user preference.
...
This PR passes all current tests for this feature, and implements the "prefers-color-scheme" media query as an enumerated keyword that is controlled by an integer preference.
Currently, the possible options are 0 to see a website's fallback code and essentially behave like this isn't implemented (our current behavior), 1 to express a preference for a light theme (the default for spec reasons), and 2 to express a preference for a dark theme. Over time, this list may expand to include other preferences like a preference for a sepia theme or something, and this leaves us prepared for that future.
2021-03-25 09:05:20 +08:00
Moonchild
b8f2ada817
Issue #1053 - Remove __ANDROID__ defines (except in third party code)
2021-03-25 09:04:29 +08:00
roytam1
e54fcd15f1
Merge remote-tracking branch 'origin/master' into custom
2021-03-12 09:00:51 +08:00
Moonchild
348c6604be
Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE
2021-03-12 08:59:50 +08:00
Moonchild
0ced696351
Issue #1053 - Remove Android-specific blocks from system headers and /dom
2021-03-12 08:57:47 +08:00
roytam1
333a06698b
Merge remote-tracking branch 'origin/master' into custom
2021-03-11 10:14:22 +08:00
Moonchild
1feafdc819
Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises)
2021-03-11 10:13:55 +08:00
Moonchild
50653a7c4c
Issue #1053 - Remove build system MOZ_ANDROID_* defines and related code.
2021-03-11 10:13:09 +08:00
roytam1
75da290189
Merge remote-tracking branch 'origin/master' into custom
2021-02-25 09:43:06 +08:00
Moonchild
8a55eab0f0
[DOM] Don't reveal error details for CORS-cross-origin decoding errors.
2021-02-25 09:26:41 +08:00
Moonchild
d86d1256bc
[dom] Update noscript serialization to the changed spec.
...
Make <noscript> escaping conditional on whether scripting is enabled.
2021-02-25 09:26:37 +08:00
Moonchild
d867f26c0e
[widget] Require user interaction when picking files or folders v2
...
Now with extra sauce to make it work cross-platform and cross-versions and
for HTML input elements only.
2021-02-25 09:25:17 +08:00
roytam1
5b5e1ae07b
Revert "Issue #1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask"
...
This reverts commit 20ba0b34ec .
2021-02-19 07:03:24 +08:00
roytam1
5184ae02a9
Merge remote-tracking branch 'origin/master' into custom
2021-02-18 21:58:57 +08:00
Moonchild
20ba0b34ec
Issue #1743 - Update CK_GCM_PARAMS use for PKCS11 v3.0 in WebCryptoTask
2021-02-18 21:57:45 +08:00
Moonchild
51c4b1838c
Issue #1688 - Add flood guard to state change logic.
2021-02-18 21:57:43 +08:00
roytam1
d18f993c44
Merge remote-tracking branch 'origin/master' into custom
2021-02-03 10:12:19 +08:00
Moonchild
6de0687efc
Issue #1720 - Remove explicit header inclusion from npapi.h
...
This should allow the header to be used outside of the UXP tree for compiling
plugins etc.
Resolves #1720
2021-02-03 10:04:45 +08:00
trav90
a0aabcdaba
Issue #1723 - Fix Linux build bustage in HTMLMenuItemElement.cpp
2021-02-03 10:04:42 +08:00
roytam1
d72c60c303
Merge remote-tracking branch 'origin/master' into custom
2021-01-27 21:05:06 +08:00
Moonchild
202ef2a56a
[DOM] Store weak pointer to next parents.
2021-01-27 21:03:05 +08:00
Moonchild
8630e4f6dc
[DOM] Try to avoid slow shrinking GC during sync calls
2021-01-27 21:03:02 +08:00
Moonchild
1835a24351
[webaudio] Fix up ReverbInputBuffer's writeIndex.
2021-01-27 21:03:00 +08:00
Moonchild
9b6e17cf34
Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data.
2021-01-27 21:02:53 +08:00
Matt A. Tobin
d4324dc064
Issue #1390 - Clean up presentation api leftovers
2021-01-27 21:01:56 +08:00
Moonchild
a828a5f321
Issue #1719 - Make <menuitem> pref-controlled and disable by default.
...
Resolves #1719
2021-01-27 21:01:54 +08:00
roytam1
3e1ffe6299
Merge remote-tracking branch 'origin/master' into custom
2021-01-21 14:42:57 +08:00
Moonchild
15feed4c00
Issue #1689 - Part 4: Add a preference for {Document,Element}.getAnimations()
...
This is probably the last thing we will ship (if ever) since it needs the most
spec and implementation work for arbitrary use that is pretty far into a corner.
2021-01-21 14:31:23 +08:00