Sam Atkins
2db168acc1
LibTextCodec+Everywhere: Port Decoders to new Strings
2023-02-19 17:15:47 +01:00
Sam Atkins
f2a9426885
LibTextCodec+Everywhere: Return Optional<Decoder&> from decoder_for()
2023-02-19 17:15:47 +01:00
Jonah
29d724d95c
LibWeb: Serialize Accessible Name and Description for Accessibility Tree
...
These will get displayed in the DOM inspector.
2023-02-19 15:58:20 +01:00
Jonah
da5c9189b2
LibWeb: Implement Accessible Name and Description Calculation
...
This is an initial implementation of the accname standard. There is
still some of the algorithm left unimplemented that we will need
to implement in the future. However, as is, this implementation is
sufficient for basic pages.
2023-02-19 15:58:20 +01:00
Jonah
fc3ee471ed
LibWeb: Add ARIA::allows_name_from_content
...
This is required to implement accessible name and description
calculation.
2023-02-19 15:58:20 +01:00
Andreas Kling
df235d2c9f
LibWeb: Relax unnecessarily narrow cast in Node::containing_block()
2023-02-19 12:28:50 +01:00
Sam Atkins
6cc5e09c71
LibWeb: Port StyleComputer to new Strings
2023-02-19 00:51:16 +01:00
Sam Atkins
1c77867c78
LibWeb: Port FontCache to new Strings
2023-02-19 00:51:16 +01:00
Sam Atkins
faab2fe101
LibWeb: Store stylesheet sources as StringViews
2023-02-19 00:51:16 +01:00
Sam Atkins
13d2111b74
LibWeb: Port Selector to new Strings
...
Also use `Infra::is_ascii_case_insensitive_match()` in some appropriate
places, after checking the specs.
2023-02-19 00:51:16 +01:00
Sam Atkins
c2f0b20d6b
LibWeb: Port FontFace to new Strings
2023-02-19 00:51:16 +01:00
Sam Atkins
33e9c4e1b2
LibWeb: Port GeneralEnclosed to new Strings
2023-02-19 00:51:16 +01:00
Sam Atkins
2026ea557e
LibWeb: Use is_ascii_case_insensitive_match() where the spec says to
2023-02-19 00:46:47 +01:00
Aliaksandr Kalenik
05b5a3bfba
LibWeb: Transform translate() values to device pixels before painting
2023-02-19 00:43:40 +01:00
Luke Wilde
3275d659bf
LibWeb: Convert FormData to String and Vector storage
...
This makes use of the new [UseNewAKString] extended attribute. Using
Vector storage will make it easier to make this interface into an IDL
iterable. It seems the reason it didn't use Vector originally was due
to awkward DeprecatedString -> String conversions.
2023-02-18 01:23:36 +01:00
Kenneth Myhra
84c7af4dcb
LibWeb: Make factory method of XHR::ProgressEvent fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
35622606c1
LibWeb: Make factory method of URL::URLSearchParams fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
71316614b8
LibWeb: Make factory method of SVG::SVGLength fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
bfc8cbcf3b
LibWeb: Make factory method of HTML::ModuleScript fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
3e834636a6
LibWeb: Make factory method of HTML::Window fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
b41401bab2
LibWeb: Make factory method of HTML::Storage fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
d7ee378018
LibWeb: Make factory method of HTML::Navigator fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
2f4db60c08
LibWeb: Make factory method of HTML::History fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
3941e64fde
LibWeb: Make factory method of HTML::PromiseRejectionEvent fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
193de231e0
LibWeb: Make factory method of HTML::WorkerNavigator fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
86b7f148b9
LibWeb: Make factory method of HTML::Path2D fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
2b391ea622
LibWeb: Make factory method of HTML::HTMLOptionsCollection fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
b604bbaf29
LibWeb: Make factory method of HTML::DOMStringMap fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
809206f50e
LibWeb: Make factory method of HTML::SubmitEvent fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
c5de2c3348
LibWeb: Make factory method of HTML::TextMetrics fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
d9845bb24b
LibWeb: Make factory method of HTML::PageTransitionEvent fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
97b5aa56da
LibWeb: Make factory method of HTML::ErrorEvent fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
2ed7f64c73
LibWeb: Make factory method of HTML::CloseEvent fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
b7c488e51e
LibWeb: Make factory method of HTML::CanvasRenderingContext2D fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
2506666991
LibWeb: Make factory methods of HTML::CanvasGradient fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
63b69f3672
LibWeb: Make factory method of SVG::SVGAnimatedLength fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
200d22c650
LibWeb: Make factory method of DOM::Text fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
2411dadc35
LibWeb: Make factory method of DOM::StaticNodeList fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
d94b59263e
LibWeb: Make factory method of DOM::NodeIterator fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
0791195843
LibWeb: Make factory methods of DOM::Range fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
e3e281addd
LibWeb: Make factory method of DOM::NamedNodeMap fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
ce18dfc417
LibWeb: Make factory method of DOM::MutationRecord fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
7852915dd3
LibWeb: Make factory method of DOM::MutationObserver fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
24d7e688fc
LibWeb: Make factory method of DOM::LiveNodeList fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
ff875d353b
LibWeb: Make factory method of DOM::HTMLCollection fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
c120c46acc
LibWeb: Make factory methods of DOM::Event fallible
...
Because of interdependencies between DOM::Event and UIEvents::MouseEvent
to template function fire_an_event() in WebDriverConnection.cpp, the
commit: 'LibWeb: Make factory methods of UIEvents::MouseEvent fallible'
have been squashed into this commit.
2023-02-18 00:52:47 +01:00
Kenneth Myhra
0d9076c9f5
LibWeb: Make factory methods of DOM::Document fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
552663a2ba
LibWeb: Make factory method of DOM::TreeWalker fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
251c063897
LibWeb: Make factory method of DOM::DOMTokenList fallible
2023-02-18 00:52:47 +01:00
Kenneth Myhra
1e03aa0ece
LibWeb: Make factory method of DOM::AccessibilityTreeNode fallible
2023-02-18 00:52:47 +01:00