LibWeb: Cloudflare Turnstile differences between us and other engines #226
Labels
bug
Something isn't working
enhancement
New feature or request
reduction of web content
Issue has a simplified reduction based on real-world web content.
task list
This issue contains a list of tasks.
web compatibility
NOTE: This is a living document, it does not contain every difference currently and will be added to.
Neat site for checking the connection side of things (not sure of trustworthiness, take it with a grain of salt): https://cloudflare.manfredi.io/en/tools/connection/
navigator.pdfViewerEnabled
)navigator.pdfViewerEnabled
)first-input
performance entry typepaint
performance entry type (includingfirst-paint
andfirst-contentful-paint
)navigation
performance entry typeresource
performance entry type (definitely needs implementing, disablingdom.enable_resource_timing
in Firefox makes it never pass)visibility-state
performance entry typelong-animation-frame
performance entry typeDedicatedWorkerHost: Unable to fetch script blob:https://localhost:8080/c838e9e6-b238-4210-a349-9c909821d0a5 because script was null
min--moz-device-pixel-ratio
viawindow.matchMedia
for zoom calculation, and reporting "ff" in the same testdocument.all
is not"undefined"
ladybird/Userland/Libraries/LibWeb/Fetch/Fetching/Fetching.cpp
Lines 1582 to 1583 in e800605
ladybird/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp
Lines 73 to 74 in e800605
ladybird/Userland/Libraries/LibWeb/Fetch/Fetching/Fetching.cpp
Line 1353 in e800605
<link rel="preload" as="...">
doesn't follow the spec at all, using ResourceLoader directly (missing fetch headers, missing window load event delay, etc.)JSON.stringify(window.getComputedStyle(document.body))
returns{}
instead of the serialization of all the properties and their valuesCSS and serialization via cssText:
https://localhost:8080
, this:Serializes as:
@keyframe
are serialized separately instead of together, e.g.:Should serialize as:
But we serialize it as:
Fail to parse and serialize multiple animations declared in one animation property, e.g.
animation: fillfail 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
Some properties are serialized as full form when they shouldn't:
text-decoration: underline;
->text-decoration: underline auto solid currentcolor;
border-radius: 50%;
->border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
animation: scale-up-center 0.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
->animation: cubic-bezier(0.55, 0.085, 0.68, 0.53) normal scale-up-center running 0s 0.6s both 1;
(note that this is also serialized out of order)background: #fff;
->background: rgb(255, 255, 255) none left 0% top 0% auto auto repeat repeat scroll padding-box border-box;
flex-flow: column nowrap;
(as specified in the actual style sheet) should serialize asflex-flow: column
, but we keep it as isflex-flow: row nowrap;
andflex-flow: row-reverse nowrap;
Missing
stroke-dashoffset
and it's serializationMissing
stroke-linecap
and it's serializationMissing
stroke-miterlimit
and it's serializationMissing
stroke-dasharray
and it's serializationMissing
stroke-linejoin
and it's serializationThis:
Should serialize as:
Should stay as is, but we serialize it as:
The text was updated successfully, but these errors were encountered: