Age | Commit message (Collapse) | Author |
|
This is a normative change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/2419680
|
|
This is a normative change in the Temporal spec.
See: https://github.com/tc39/proposal-temporal/commit/f3c771f
|
|
|
|
`Window` itself isn't generated from an IDL file so it doesn't get to
make use of this mixin, but it ideally would do so.
|
|
|
|
Also added FIXMEs for some missing methods while I was at it.
|
|
|
|
Makes me wonder how things were working when Document was never
including GlobalEventHandlers.
|
|
|
|
In case we failed to open /res/usb.ids or the user requested to not use
that file, we simply don't try to resolve the USB IDs and print them
without any identification.
|
|
This is another case of out of bounds indexing exposed by 13406b8.
|
|
|
|
|
|
|
|
This was removed from the change-array-by-copy proposal. See:
https://github.com/tc39/proposal-change-array-by-copy/commit/4c194d9
|
|
This was fixed in the change-array-by-copy proposal. See:
https://github.com/tc39/proposal-change-array-by-copy/commit/60823eb
|
|
Before, programs using open_file_url (such as Terminal) would
fail to open any file if its extension (or mime type) wasn't
specified in LaunchServer.ini. This patch now permits it.
|
|
Before, LaunchServer would only open files based on their extension.
This wouldn't work if the file had the wrong one.
|
|
|
|
This avoids slow RTTI lookups in selector matching.
|
|
This avoids slow RTTI lookups in Document::base_url().
|
|
Which is to say, a T where `is_calculated()` is false.
As is becoming a repeating theme with CSS types, we have two states for
a FooPercentage that is a `calc()` expression: Either the FooPercentage
holds the CalculatedStyleValue directly, or it holds a Foo which itself
holds the CalculatedStyleValue. The first case was already handled to
return Foo, and with this patch, the second is too. :^)
|
|
Fixes #14697
Percentages inside `calc()` only got converted to the concrete type
(eg, Length) when added or subtracted with one. So if the `calc
()` doesn't contain any of that type, it would resolve to a
Percentage.
Now, we catch that returned Percentage and convert it to the proper
type. This fixes cases like `width: calc(100% / 2);`.
|
|
|
|
This fixes indexing the StringView before knowing if the index
is valid. This did not crash until the changes from 13406b8
which added runtime checks for StringView indexing.
|
|
Previously, windows without a defined minimum size (or one produced from
the minimum sizes of their contents) would be shrunk down to 0 x 0,
which makes the title buttons stick out the side and become impossible
to interact with.
This patch uses the theme metrics to calculate a minimum size that is as
small as possible while still keeping the title buttons and app icon
usable. This is combined with the minimum size requested by the app
itself.
Switching themes automatically updates the calculated minimum sizes for
all existing windows. As noted, if the new theme has narrower title
buttons then the old minimum is kept, but this shouldn't be noticeable
unless you're looking for it.
|
|
Without this, it gets a minimum size that's very large and stops you
from resizing the Browser window narrower than 609px.
|
|
The files weren't starting exactly from the beginning before.
This happened because the parameter now takes the sample index, instead
of a seekpoint.
|
|
Out of 40/63 failed tests, this change reduces the number down to four.
:^)
See: #14683
|
|
This fixes the shape of the subreddit logo on new reddit.
|
|
|
|
|
|
|
|
This pulls process_blob_parts() out of the Blob class and makes it
publicly accessible.
|
|
Blob::bytes() returns the ReadonlyBytes representation of our internal
ByteBuffer.
This change requires us to ByteBuffer::copy() Blob's ReadonlyBytes to a
ByteBuffer in XHR::send() and corresponding error handling of the copy
operation.
This removes the need for Blob to declare XMLHttpRequest as a friend
class.
|
|
This is a normative change to the Intl NumberFormat V3 spec:
https://github.com/tc39/proposal-intl-numberformat-v3/commit/0c3d849
|
|
This is a normative change to the Intl NumberFormat V3 spec:
https://github.com/tc39/proposal-intl-numberformat-v3/commit/0c3d849
|
|
This is a normative change to the Intl spec:
https://github.com/tc39/ecma402/commit/769df4b
|
|
|
|
Previously we were checking if values were "auto" after resolving the
"auto"-ness out of them, which didn't work. There's still a bunch of
work to do on this algorithm, but now we can at least resolve some basic
automatic height scenarios.
|
|
We already cache these values with each flex item, so let's just use
those instead.
|
|
We'll eventually need some way to determine if a calc() value results
in a definite size.
|
|
Percentage sizes of flex items are relative to the flex container, but
even when the flex container is automatically sized, we still have to
support them.
To make this work, we first do a pass where percentage sizes are ignored
(treated as "auto", basically) in order to get a "reference" value.
Then we do a second pass where percentages can be resolved against this
reference value.
|
|
Follow the spec more closely.
|
|
We were neglecting to clamp flex items when calculating the intrinsic
main size of the flex container. This was covered by a FIXME, which we
can now remove. :^)
|
|
We had an older incomplete implementation of flex container max-content
sizing that we used for unconstrained main size determination.
This patch replaces the old implementation with a call to the new
max-content sizing code.
Note that this isn't a complete implementation of flex container sizing
still, but at least we've deduplicated some code.
|
|
|
|
|
|
The CSS-FLEXBOX-1 spec gives us two situations in which flex item cross
sizes should be considered definite. Both of them happen *during* flex
layout, which is super finicky but it is what it is.
|
|
When calculating intrinsic sizes, we don't need to recurse into *every*
box and layout its insides. IIUC, we can skip any unconstrained box with
definite sizes in both axes. So this patch does exactly that.
|