FranklinDM
4b44df794b
Issue #2112 - Part 11: Remove dead off-thread Stylo functions in nsStyleStruct
2024-04-02 22:44:39 +08:00
FranklinDM
d6852b3170
Issue #2112 - Part 10: Remove remaining Stylo/Servo includes and code
...
Some classes have been marked for removal/merging, macros used for forwarding/casting were moved to DeprecatedUtils.h.
2024-04-02 22:44:24 +08:00
FranklinDM
b96b733bfa
Issue #2112 - Part 9: Remove handling for multiple style backends
2024-04-02 22:42:43 +08:00
FranklinDM
28cd0ceb47
Issue #2112 - Part 8: Remove Stylo Stylesheet Cache
2024-04-02 22:42:25 +08:00
FranklinDM
14764253a5
Issue #2112 - Part 7: Remove Servo CSS Loader support
2024-04-02 22:42:09 +08:00
FranklinDM
10bf8705d0
Issue #2112 - Part 6: Remove IsStyledByServo function and callers
2024-04-02 22:41:54 +08:00
FranklinDM
a93a7bed47
Issue #2112 - Part 5: Remove Servo from forwarding code used by magic pointer classes
2024-04-02 22:41:34 +08:00
FranklinDM
b1c9206051
Issue #2112 - Part 4: Remove Stylo support for mask-image
2024-04-02 22:30:47 +08:00
FranklinDM
e777ae5a3c
Issue #2112 - Part 3: Remove --enable-stylo config and conditionals
2024-04-02 22:30:28 +08:00
FranklinDM
88ac168f96
Issue #2112 - Part 2: Stub out Servo functions
2024-04-02 22:30:08 +08:00
FranklinDM
656ee639c5
Issue #2112 - Part 1: Remove Stylo tests
2024-04-02 22:29:48 +08:00
Eitan Isaacson
2eea07fc65
[layout] Process pairs in coord list in PolyArea.
...
Range -1 assures the array is even with a step size of 2, avoiding lone
value processing.
2024-02-23 10:52:22 +08:00
Moonchild
721ded9b48
Issue #2466 - Part 3: Implement style-src-elem and style-src-attr
2024-02-08 14:33:59 +08:00
Moonchild
4ea2206c15
Issue #2466 - Part 1: Reduce nsContentPolicy type usage.
...
Use CSPDirective instead, since it directly deals with CSP anyway.
This cleanup prepares for the following changes.
2024-02-08 14:33:28 +08:00
Moonchild
47ebb88310
Issue #2388 - Part 5: Make Selection::ToString flush frames
2024-01-18 10:16:36 +08:00
Moonchild
4a438e6607
Issue #2388 - Part 4: Align focus behavior more with Blink/Gecko
2024-01-18 10:16:05 +08:00
Moonchild
681193a256
Issue #2388 - Part 2: move focus at every selection change when it's called by JS
2024-01-18 10:15:43 +08:00
Moonchild
a83e4b6a34
Issue #2388 - Part 1: Mark Selection as "called by JS" when caused by a JS call to the selection API
2024-01-18 10:15:26 +08:00
Martok
a9d7255ba1
Issue #2452 - Bail out from PresShell::Initialize if the pres shell is being destroyed in XBLConstructorRunner
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1428694
2024-01-18 10:09:00 +08:00
Brian Smith
5b068f3726
Issue #2402 - CSP Violation events should have the correct sample for inline contexts. https://bugzilla.mozilla.org/show_bug.cgi?id=1473587 Add preference to increase max length of CSP report source sample. https://bugzilla.mozilla.org/show_bug.cgi?id=1415352 Return valid columnNumber value in CSP violation events. https://bugzilla.mozilla.org/show_bug.cgi?id=1418246
2024-01-11 09:50:12 +08:00
Moonchild
8fe53f59d0
[layout] Always check against fragment length in nsTextFrame
2023-12-21 10:16:53 +08:00
Moonchild
0db18745f4
Issue #2364 - Limit the growth of scaling for animated nsDisplayTransform in the fallback case.
...
This ensures we don't scale the underlying size of the layer beyond what
is close to the current display size. When box shadows get much larger
than this, they start taking so much time to render that successive
frames grow in scale too fast for any inter-frame reuse to be possible.
With this, we avoid that and no longer get crushed by re-rendering
gigantic box shadows every single frame.
See BZ 1383825
2023-11-04 11:41:44 +08:00
Moonchild
f1ccc95daf
Issue #2364 - Only use HWA AlphaBoxBlur when targets are large enough.
...
There's considerable cost associated with creating HWA draw targets
which would negate and regress the performance won by it if used for
too small targets (like small spans of text).
This only uses HWA if >= 8K SurfaceAllocationSize to balance HWA draw
target cost with box blur cost.
2023-11-04 11:40:33 +08:00
Moonchild
4beb3b947c
Issue #2364 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it.
2023-11-04 11:40:00 +08:00
Moonchild
8d30faf95f
Issue #2364 - Re-factor AlphaBoxBlur
...
Only blur one quadrant of a box-shadow and mirror it to the other quadrants.
This applies only if the corners are symmetrical (square corners or equal
corner radii) otherwise we'll fall back to the old method.
2023-11-04 11:39:45 +08:00
Jeremy Andrews
83ecbdfacb
Issue #2357 - Add reftest for WebM alpha.
...
I figured I should include the reftest for the sake of completeness, though I have already verified the feature working from the site mentioned in the forum thread that prompted me to look into this in the first place.
Ref: BZ 1331528
2023-10-26 10:50:17 +08:00
Jeremy Andrews
71cc0ef940
Issue #2357 - WebM demuxer can't tell when a video wants to be transparent.
...
Required to have an alpha channel (which in the strange world of graphics seems to refer to transparency, and not experimental code) in WebM videos. Straight port of Firefox 53 implementation, adapted slightly for a couple of patches previously taken without this.
Ref: BZ 1320829
2023-10-26 10:49:04 +08:00
Moonchild
0bcaa2ff90
Issue #2355 - Apply self-transforms to the frame of top level <svg>
...
We previously didn't do this because we relied on our anonymous wrapper
to perform transforms. However, that resulted in only the children
transforming, and the frame's cliprect wouldn't be updated,
giving the impression of the z-ordering being wrong.
Also adds reftests from the relevant BZ bug found later.
Resolves #2355
2023-10-25 09:58:41 +08:00
Brian Smith
373fb9ae07
Issue #2282 - Align the Performance Observer navigation and resource with the spec. This now passes the conformance tests. https://bugzilla.mozilla.org/show_bug.cgi?id=1425458 Resource timing entries Workers - part 2 - PerformanceTimingData. https://bugzilla.mozilla.org/show_bug.cgi?id=1462605 PerformanceNavigationTiming.name must be the value of the address of the current document. https://bugzilla.mozilla.org/show_bug.cgi?id=1462883 Update PerformanceTimingData::mReportCrossOriginRedirect in SetPropertiesFromHttpChannel. https://bugzilla.mozilla.org/show_bug.cgi?id=1462879 PerformanceNavigationTiming must be notified correctly - part 1 - notify.
2023-10-21 11:04:41 +08:00
Basilisk-Dev
84ca5fdfc7
PR #2347 - Backport of Mozilla tooltip bugs:
...
Bug 148624 - only show tooltip when document has focus
Partial Bug 1857513 - Use window activeness rather than document.hasFocus() to display chrome-only tooltips
2023-10-18 09:54:12 +08:00
Moonchild
bdff76bad2
Issue #2316 - Part 3: Clarify comment
2023-09-27 11:56:53 +08:00
Moonchild
30f7b3284c
Issue #2316 - Part 2: Add reftests
2023-09-27 11:39:23 +08:00
Moonchild
af6a491bfe
Issue #2316 - Part 1: Use fallback element sizes for w/h-less SVG
...
Instead of completely failing the call, use the CSS specified intrinsic
default width/height of 300x150.
2023-09-27 11:38:58 +08:00
Matheus Marinho
9e7d1492e6
Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC
...
Co-authored-by: Moonchild <moonchild@palemoon.org>
2023-09-14 10:22:47 +08:00
Moonchild
f4cc47c049
Issue #2293 - Add preferences to disable CSS animation/transition props.
...
This resolves #2293
2023-08-31 22:40:10 +08:00
Moonchild
4b1c9976be
Issue #2284 - Update reftest for behaviour change.
...
I've verified this against Edge-latest.
2023-08-17 09:10:02 +08:00
Moonchild
5235861f6e
Issue #2284 - Add exception for flex/grid items resolving percentages against parent.
...
This folds in BZ bugs 1578586 and 1092007 part 2.
2023-08-17 09:09:43 +08:00
Moonchild
514ed1423c
PR #2050 follow-up: add symbols to build shared on Windows.
2023-06-24 12:21:05 +08:00
Moonchild
1ef390db08
Issue #1769 : Update symbols for libxul linkage
2023-06-24 12:18:35 +08:00
FranklinDM
3d917c9965
Issue #2250 - Part 2: Ignore the ancestor filter assertion if rule matching is restricted or if the current element is under a shadow host
...
This only affects debug builds.
2023-05-24 09:02:22 +08:00
FranklinDM
1c2dd6aee0
Issue #2250 - Part 1: Return early if the element being tested for is likely an ancestor and does not have an assigned slot
2023-05-24 09:02:07 +08:00
FranklinDM
6ae0a69ac7
Issue #1765 - Part 3: Provided token type should be used in LookForTokenType
...
I didn't realize this immediately after moving the code into a method. Oops.
2023-05-15 09:14:24 +08:00
FranklinDM
d678cc2c45
Issue #1765 - Part 2: Implement calc() parsing inside rgb/a() and the non-hue component of hsl/a()
...
This also adds a new helper method for checking the type of tokens that will be parsed after the current token, which is useful for determining the unit of values inside calc() functions.
Partially based on 8a0897d23f
2023-05-15 09:14:07 +08:00
FranklinDM
73a6dc3122
Issue #1765 - Part 1: Move ReduceNumberCalcOps struct up higher, rename IsCSSTokenCalcFunction to CSSParserImpl::IsCalcFunctionToken
2023-05-15 09:13:47 +08:00
Moonchild
2f117eecaa
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews,
media and memory. More to come.
2023-05-05 22:57:19 +08:00
Job Bautista
51426d1053
Issue #1862 - Follow-up: Replace deprecated Harfbuzz functions with current ones.
...
Based on Mozilla bug 1500356.
2023-05-01 06:53:51 +08:00
FranklinDM
7c759b2c21
Issue #252 - Follow-up: Include a null check against mDocument
2023-04-08 07:33:48 +08:00
FranklinDM
b2d7504112
Issue #252 - Move getElementsByName from HTMLDocument to Document
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1415176
2023-04-08 07:29:02 +08:00
Job Bautista
b5d5963a4f
Issue #2191 - Remove as much old fontconfig support as needed for Harfbuzz update.
...
Based on Mozilla bugs 1119128, 1285533, and 1421964.
gfx.font_rendering.fontconfig.fontlist.enabled is no longer available.
gfxFontconfigUtils.h still exists, and will be removed in another commit. Just
need more research on bug 1385029.
Tag #1862
2023-04-07 08:23:07 +08:00
Matt A. Tobin
6b510a74e7
Issue #61 - Add missing external symbols for gkmedias when WebRTC is built
2023-03-28 12:09:00 +08:00