Age | Commit message (Collapse) | Author |
|
Co-authored-by: Andreas Kling <kling@serenityos.org>
|
|
|
|
|
|
This appears to be consistent with other engines, and fixes many pages
where we were misinterpreting super large z-index values as something
else entirely.
|
|
After the EventLoop changes, we do not need to override LibVideo's timer
with a Qt timer for Ladybird. The timer callback provided here also does
not need the JS::SafeFunction wrapper that Platform::Timer provides.
|
|
|
|
Start implementation of https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate
Co-authored-by: Andreas Kling <kling@serenityos.org>
|
|
|
|
|
|
One of the valid enum values for "referrer policy" is the empty string.
Since we're using an enum for this, just add it as an enum value.
|
|
Also add FIXMEs about removing no-longer-used enum values.
|
|
This is "POST resource" from the HTML spec.
|
|
The check on the currently active document for an existing favicon has
been removed. It caused an issue during navigation because the active
document will only be updated after the load and the favicon check has
been executed against the old document.
|
|
This means iframes are transparent by default (as in firefox/chrome).
Painting the outermost canvas background is moved to the PageHost.
|
|
Implement https://github.com/whatwg/fetch/commit/ca10f49748f2289433ce75dcf1f2fcf451f4f24f
Fixes the issue I found while working on navigation:
https://github.com/whatwg/fetch/issues/1629
|
|
|
|
Move all old usages to the more explicit `JsonArray:must_{append/set}`
|
|
Co-authored-by: Andreas Kling <kling@serenityos.org>
|
|
|
|
The old version is still around since it has many users, so we can't
remove it until everything has been updated to use the new version.
|
|
Implementation of "make active" algorithm from the spec for Document.
Co-authored-by: Andreas Kling <kling@serenityos.org>
|
|
|
|
This fixes a bug that was seen when a combination of the grid having
been floated with `float: left` and a `minmax()` column size were used.
The issue was that a grid track size should be considered intrinsically
sized if both the min and max sizes are intrinsic, not just one of them.
|
|
|
|
The timestamp text was very tiny on a HiDPI display.
|
|
|
|
|
|
|
|
https://html.spec.whatwg.org/multipage/document-sequences.html#node-navigable
|
|
This will be used to look up a document's node navigable. It might be
nice to have a direct pointer from Document to its Navigable, but at
the moment I don't understand the algorithms well enough to maintain
that linkage.
|
|
|
|
|
|
|
|
We never clear content filters on either end of the Browser-WebContent
IPC connection. So when the filters change, we re-append all filters to
the Vector holding them. This incidentally makes it impossible to remove
a filter.
Change both sides to clear their filter lists when receiving a new set
of filters.
|
|
Specifically, this makes `<link>` elements with an `integrity` attribute
actually work. Previously, we would load their resource, and then drop
it on the floor without actually using it.
The Subresource Integrity code is in `LibWeb/SRI`, since SRI is the name
of the recommendation spec: https://www.w3.org/TR/SRI/
However, the Fetch spec links to the editor's draft, which varies
significantly from the recommendation, and so that is what the code is
based on and what the spec comments link to:
https://w3c.github.io/webappsec-subresource-integrity/
Fixes #18408
|
|
This automatically protects captured objects from being GC'd before the
callback runs.
|
|
This step was added in this commit:
https://github.com/whatwg/fetch/commit/2d78995db8dbbe1c9ab4a9c6765d7d6603216bff
|
|
Required by jigsawpuzzles.io, which particularly uses typed arrays.
|
|
Required by old versions of Pixi.js's XMLFormat bitmap font loader.
https://github.com/pixijs/pixijs/blob/db824181dc3dfffa0951fb8579282ba8e654cb3b/packages/text-bitmap/src/formats/XMLFormat.ts#L16
|
|
The representation is used to indicate whether the layout node should
paint a video frame, the video's poster, or a "transparent black" box.
|
|
This will fetch the URL indicated by the poster attribute when it's set,
changed, or removed. The spec doesn't say how to handle animated poster
images, so we just grab the first frame of the image, which seems to
match other implementations.
|
|
Note that this doesn't do much yet, as the HTMLVideoElement does not
handle its poster attribute as of this commit.
|
|
|
|
These will be need to be overridden by HTMLVideoElement. We also need to
be sure to invoke HTMLMediaElement's base class's did_remove_attribute.
|
|
This will be needed by the layout node, which may change what is painted
when the position of the frame image is not the same as the element's
current time.
|
|
This will be needed by the layout node, which may change what is painted
when the position of the frame image is not the same as the element's
current time.
|
|
Fix translation of iframes when pixel size is not 1.0.
|
|
An Optional<Layout::LineBoxFragmentCoordinate> is 24 bytes, which isn't
small enough to pass by value and then copy.
|
|
|
|
These don't match the type name, which is confusing.
|