Tete17
8ab568bc76
LibWeb: Unify will_validate for form associated elements
...
We had the same implementation in quiet a few places. With this change
we unify them in a single place
2025-08-29 19:27:30 +01:00
Callum Law
11457e533a
LibWeb: Update is_autocapitalize_inheriting
method name with spec
...
This was changed when the autocorrect attribute was introduced:
7bab05a
2025-08-29 15:47:17 +01:00
Timothy Flynn
7280ed6312
Meta: Enforce newlines around namespaces
...
This has come up several times during code review, so let's just enforce
it using a new clang-format 20 option.
2025-05-14 02:01:59 -06:00
Andreas Kling
aecb144df0
LibWeb: Add more fast_is<T> helpers for DOM::Node subclasses
2025-04-18 14:45:56 +02:00
sideshowbarker
e79319ad85
LibWeb: Implement the form-control willValidate property
...
This change — part of the HTML constraint-validation API (aka
“client-side form validation”) — implements the willValidate IDL/DOM
attribute/property for all form controls that support it.
2025-02-26 05:45:06 +00:00
Andreas Kling
74469a0c1f
LibWeb: Make CSS::ComputedProperties GC-allocated
2024-12-22 10:12:49 +01:00
Andreas Kling
c1cad8fa0e
LibWeb: Rename CSS::StyleProperties => CSS::ComputedProperties
...
Now that StyleProperties is only used to hold computed properties, let's
name it ComputedProperties.
2024-12-22 10:12:49 +01:00
Aliaksandr Kalenik
c47d19d05a
LibWeb: Update LegendBox and FieldSetBox to use GC namespace
...
Fixes broken build.
2024-11-19 14:51:42 +01:00
Kostya Farber
a820308a02
LibWeb: Add layout objects for fieldset and legend
...
Add the boilerplate code for the layout objects that represent the
`<fieldset>` and `<legend>` elements. Using these, we can make progress
towards laying out these two elements per the spec at
https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements .
2024-11-19 14:31:03 +01:00
Shannon Booth
f87041bf3a
LibGC+Everywhere: Factor out a LibGC from LibJS
...
Resulting in a massive rename across almost everywhere! Alongside the
namespace change, we now have the following names:
* JS::NonnullGCPtr -> GC::Ref
* JS::GCPtr -> GC::Ptr
* JS::HeapFunction -> GC::Function
* JS::CellImpl -> GC::Cell
* JS::Handle -> GC::Root
2024-11-15 14:49:20 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00
Andreas Kling
865f524d5b
AK+LibGUI+LibWeb: Remove AK::TypeTraits in favor of RTTI-based helpers
...
Now that we have RTTI in userspace, we can do away with all this manual
hackery and use dynamic_cast.
We keep the is<T> and downcast<T> helpers since they still provide good
readability improvements. Note that unlike dynamic_cast<T>, downcast<T>
does not fail in a recoverable way, but will assert if the object being
casted is not a T.
2021-01-01 15:33:30 +01:00
Luke
e8a9e8aed5
LibWeb: Add namespace to Element
2020-10-22 15:24:42 +02:00
Ben Wiederhake
08f9bc26a6
Meta+LibHTTP through LibWeb: Make clang-format-10 clean
2020-09-25 21:18:17 +02:00
Luke
b90a91da4a
LibWeb: Add all HTML elements between A and F
2020-08-09 21:14:51 +02:00