Timothy Flynn
c2ead84bd9
LibJS: Implement Temporal.PlainDate.prototype.add/subtract/equals
2024-11-23 14:46:00 +01:00
Timothy Flynn
9fbb5a57fa
LibJS: Implement stringification Temporal.PlainDate prototypes
2024-11-23 14:46:00 +01:00
Timothy Flynn
a0c55f76e7
LibJS: Implement the Temporal.PlainDate constructor
...
And the simple Temporal.PlainDate.prototype getters, so that the
constructed Temporal.PlainDate may actually be validated.
2024-11-23 14:46:00 +01:00
Andreas Kling
30fb2bf2e1
Tests: Skip html/rendering/pixel-length-attributes.html for now
...
This test is too slow for GCC CI.
2024-11-23 14:41:41 +01:00
Andreas Kling
1b4763f75f
LibWeb: Allow border="0" on HTMLObjectElement
2024-11-23 14:41:41 +01:00
Andreas Kling
6e85363a84
LibWeb: Allow border="0" on HTMLInputElement
2024-11-23 14:41:41 +01:00
Andreas Kling
1288452bc3
LibWeb: Honor border
attribute on HTMLImageElement
2024-11-23 14:41:41 +01:00
Andreas Kling
e781aab274
LibWeb: Honor the various margin attributes in HTMLBodyElement
...
This one is particularly weird as there's a priority order, and we even
have to look at attributes from the container element if we're inside a
subframe.
2024-11-23 14:41:41 +01:00
Andreas Kling
97aa608c13
Tests: Import WPT test for pixel length attributes
2024-11-23 14:41:41 +01:00
Andreas Kling
7ea7352bf3
LibWeb: Bail on applying the history step when no active window
...
This is an ad-hoc hack papering over the fact that we can apparently
end up in these places without an active window, and proceeding without
one leads to assertions on WPT.
2024-11-23 14:41:41 +01:00
rmg-x
59c8e0cd5a
Documentation: Remove SerenityOS references where appropriate
2024-11-23 14:29:48 +01:00
rmg-x
d389fb440f
CI: Ignore changes to Documentation related files
...
This will prevent CI from running if:
- the only changes included are under the Documentation folder, or
- the only changes included are *.md files in the root
See:
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-excluding-paths
2024-11-23 10:44:54 +01:00
Psychpsyo
3e536a4cd7
LibWeb: Implement more IntersectionObserver attributes
2024-11-23 09:52:32 +01:00
Gingeh
7444f76b0d
LibWeb: Make querySelectorAll match each element at most once
2024-11-23 09:49:33 +01:00
Gingeh
bb678e75f9
LibWeb: Reject selectors with named namespaces in querySelectorAll
2024-11-23 09:49:33 +01:00
Gingeh
ba0cc7fe46
LibWeb: Use correct case-sensitivity when matching attribute selectors
...
Also removed get_attribute_with_lowercase_qualified_name
because it was buggy, duplicated logic, and now unused.
2024-11-23 09:49:33 +01:00
Gingeh
a2cf1d17fd
LibWeb: Require CSS combinators to be followed by a simple selector
2024-11-23 09:49:33 +01:00
Gingeh
bb5678a175
LibWeb: Don't allow trailing commas in selector lists
...
comma-separated list != #-multiplier
2024-11-23 09:49:33 +01:00
sideshowbarker
8965698ce7
LibWeb: Support accessible-name computation for SVG elements
...
This change adds support for computing accessible names for SVG
elements, per the https://w3c.github.io/svg-aam/#mapping_additional_nd
spec requirements. Otherwise, without this change, accessible names for
SVG elements don’t get exposed as expected.
2024-11-23 04:34:23 +00:00
Psychpsyo
b22341fc77
LibGfx: Support AVIF images with missing pixi property
2024-11-23 03:57:54 +00:00
Shannon Booth
3fffd1129c
LibWeb: Implement overload resolution for sequence types
...
Fixes : #2508
2024-11-23 02:38:21 +00:00
Psychpsyo
e2b2115722
LibWeb: Fix spec link in FlexFormattingContext
2024-11-23 01:37:32 +00:00
Andreas Kling
9a7c9286c4
LibWeb: Support individual scale
CSS property
2024-11-22 20:06:44 +01:00
Andreas Kling
66a821e731
LibWeb: Support individual translate
CSS property
2024-11-22 20:06:44 +01:00
Andreas Kling
6836d4edb1
LibWeb: Fix incomplete plumbing for individual rotate
CSS property
2024-11-22 20:06:44 +01:00
Andreas Kling
d6f7fccf49
Tests: Import a bunch of WPT tests from /css/css-transforms
2024-11-22 20:06:44 +01:00
Timothy Flynn
b64ccb95ec
LibJS: Implement Temporal.PlainYearMonth.prototype.valueOf
2024-11-22 19:55:24 +01:00
Timothy Flynn
35f22dcf79
LibJS: Implement Temporal.PlainYearMonth.prototype.add/subtract
2024-11-22 19:55:24 +01:00
Timothy Flynn
cb5d1b5086
LibJS: Implement Temporal.PlainYearMonth.prototype.until/since
2024-11-22 19:55:24 +01:00
Timothy Flynn
203269fae2
LibJS: Implement Temporal.PlainYearMonth.prototype.with/equals
2024-11-22 19:55:24 +01:00
Timothy Flynn
2da526423f
LibJS: Implement stringification Temporal.PlainYearMonth prototypes
2024-11-22 19:55:24 +01:00
Timothy Flynn
b68d67693e
LibJS: Implement the Temporal.PlainYearMonth constructor
...
And the simple Temporal.PlainYearMonth.prototype getters, so that the
constructed Temporal.PlainYearMonth may actually be validated.
2024-11-22 19:55:24 +01:00
Pavel Shliak
1c733993e0
LibGfx: Do not provide BPP
2024-11-22 15:05:46 +01:00
Psychpsyo
3f5fff79ae
LibWeb: Update checkbox focus lost test
2024-11-22 13:58:36 +00:00
Psychpsyo
c75dda8f8b
LibWeb: Stop radio buttons firing change events when losing focus
2024-11-22 13:58:36 +00:00
Shannon Booth
75b7a3e413
LibWeb: Add definitions for PointerEvent event handlers
...
Also removing a FIXME about not covering all of the event names as it is
not exactly clear when such a FIXME would be addressed, especially as
these come from multiple specifications.
2024-11-22 14:33:58 +01:00
Jonne Ransijn
4d38e04e48
LibMedia: Remove LibMedia::Audio::LoaderError
...
This class was used as little more than a wrapper around `Error`,
so we might as well use `Error` in the first place.
2024-11-22 12:43:57 +01:00
Nico Weber
f4b0d17e4b
LibWeb: Plumb svg stroking state to DisplayListPlayerSkia
...
The state is still ignored there, so no behavior change, but this
should make it fairly easy to actually implement complete stroking
support for SVGs.
2024-11-22 12:21:29 +01:00
Borna Lang
201648485f
LibGfx: Reimplement from_hsla
...
- Hue now wraps properly when negative or larger than 360
- The hsl to rgb conversion now closely mirrors the code example from
the spec.
This fixes a number of WPT tests in
/css/css-color/parsing/color-computed-hsl.html
2024-11-22 12:10:30 +01:00
Timothy Flynn
bc846d933d
CI: Use correct path to upload ref test dumps
2024-11-22 09:57:27 +01:00
Timothy Flynn
c6fccc04e1
LibJS: Use Temporal's ISO8601 parser to parse UTC offset strings
...
We now have the Temporal facilities to implement the Date AOs which
parse UTC offset strings using the ISO8601 parser. This patch updates
those AOs and their callers in accordance with the Temporal spec.
2024-11-21 19:24:25 -05:00
Timothy Flynn
64811ab7b6
LibJS: Implement Temporal.PlainMonthDay.prototype.valueOf
2024-11-21 19:24:25 -05:00
Timothy Flynn
5389acc231
LibJS: Implement Temporal.PlainMonthDay.prototype.with/equals
2024-11-21 19:24:25 -05:00
Timothy Flynn
5bccb36a6f
LibJS: Implement stringification Temporal.PlainMonthDay prototypes
2024-11-21 19:24:25 -05:00
Timothy Flynn
1a386e78c3
LibJS: Implement the Temporal.PlainMonthDay constructor
...
And the simple Temporal.PlainMonthDay.prototype getters, so that the
constructed Temporal.PlainMonthDay may actually be validated.
2024-11-21 19:24:25 -05:00
Timothy Flynn
b3b968bed9
LibJS: Implement several more ISO8601 productions
...
This started with implementing TemporalMonthDayString. It turns out that
the facilities needed to parse that production includes nearly all the
helpers to parse each of:
TemporalDateTimeString
TemporalInstantString
TemporalMonthDayString
TemporalTimeString
TemporalYearMonthString
TemporalZonedDateTimeString
As most of these invoke the same helpers with different options. So,
all 6 of those productions are implemented here.
2024-11-21 19:24:25 -05:00
Aliaksandr Kalenik
8614e0f856
LibWeb: Dispatch pointer events in EventHandler
...
Now, along with the mouse events we also dispatch pointerup, pointerdown
and pointermove.
With this change shape painting works on https://excalidraw.com/
2024-11-22 00:32:58 +01:00
rmg-x
e4dc758343
LibWeb/CSS: Check for matching custom properties on parent elements
...
Previously, we were only checking the current element and not the
parents in `ResolvedCSSStyleDeclaration::custom_property()` which wasn't
correct.
2024-11-22 00:32:19 +01:00
Tim Ledbetter
00f6a2b744
LibWeb: Use ByteString arguments for XMLHttpRequest.setRequestHeader()
2024-11-21 15:49:48 -05:00
Tim Ledbetter
2aee5d7f62
headless-browser: Treat files ending in '.htm' as valid tests
2024-11-21 15:49:48 -05:00