c486e4cb02
System/Libraries/Html/Renderer: Temporary hack for link styles until we implement pseudo-classes
2025-04-25 14:37:47 -04:00
500cc4d913
Meta: Add more CSS debugging info
2025-04-25 14:34:28 -04:00
8bad367d08
System/Libraries/Html/Renderer: Parse rgb,rgba color tuples
2025-04-24 21:09:30 -04:00
3bf6238aac
System/Libraries/Html/Renderer: A whole bunch of CSS changes
...
We now handle simple and compound selectors, but not yet pseudo-classes
or (most) combinators.
2025-04-24 15:17:15 -04:00
04a602bb3b
Meta: Update debugging stuff
2025-04-23 10:27:21 -04:00
d9b835cea3
System/Libraries/Html/Renderer: Handle font-size pt values
2025-04-23 10:25:57 -04:00
652396a18c
System/Libraries/Html/Renderer: Apply CSS display rules in order
2025-04-23 09:22:38 -04:00
453d6f35a5
System/Libraries/Css+Html: Handle text-align: left
2025-04-22 15:45:39 -04:00
1cf0007b0b
System/Libraries/Css+Html: Handle display: inline-block
2025-04-22 15:34:17 -04:00
75a2bb10c4
System/Libraries/Css+Html: Implement text-decoration-line: line-through
2025-04-21 09:31:00 -04:00
b7cab3b419
System/Libraries/Html/Renderer: Use renderer->task instead of erythros_mem_task where applicable
2025-04-19 16:28:14 -04:00
c214ba9552
Meta: clang-format 20
2025-04-19 07:54:18 -04:00
402d802d2f
System/Libraries/Html/Renderer: Set text underline height to 2px
2025-04-16 19:43:18 -04:00
5192ae34ec
System/Libraries/Html/Renderer: Set focus is autofocus attribute is present
2025-04-16 18:21:31 -04:00
4ef542cf32
System/Libraries/Html/Renderer: Keep track of form element widgets
...
Save a pointer to the corresponding Gui widget for each form element as
an attribute in the @html_dom_node.
I'm not a fan of doing this, but it is probably one of the better
options considering the way things are currently implemented, and the
remaining work to be done.
2025-04-16 14:57:33 -04:00
99268200f4
System/Libraries/Html/Renderer: Fix BGR/RGB flip in background
...
This is no longer needed and breaks things, so let's revert it.
2025-04-16 14:55:31 -04:00
24500f52a3
System/Libraries/(Css,Graphics2D,Html): Support underlined text
...
This commit adds the necessary functions to minimally implement support
for CSS text-decoration: underline.
2025-04-16 14:53:16 -04:00
622c35e038
System/Libraries/Html/Renderer: Apply CSS and HTML Element attribute width/height values to form elements
2025-04-16 10:36:51 -04:00
e60ffee006
System/Libraries/Html/Renderer: Unset node->display_block based on CSS value
2025-04-16 10:19:50 -04:00
0a579a4f09
System/Libraries/Html/Renderer: Handle italic/oblique text
2025-04-15 16:21:52 -04:00
3b83397e60
System/Libraries/Html/Renderer: Render STRONG
2025-04-15 15:35:20 -04:00
60606317b2
System/Libraries/Html/Renderer: Render LI ordered/unordered items
2025-04-15 15:34:54 -04:00
d6ff8beb9f
System/Libraries/Html/Renderer: Initial support for CSS font-weight
2025-04-15 11:52:43 -04:00
ae42db0be5
System/Libraries/Html/Renderer: Implement some CSS default rules
2025-04-15 10:40:28 -04:00
def7d53101
System/Libraries/Html/Renderer: Increase background_ctx to max size before fill()
2025-04-15 10:03:04 -04:00
dfb73f029c
Applications/Internet/Cyberia: Create background ctx and fill #ffffff when a new Renderer is created
2025-04-15 07:50:11 -04:00
c998d040ed
System/Libraries/Html/Renderer: Create background_ctx for each HtmlRenderer instance
2025-04-14 21:16:04 -04:00
b30759c12e
System/Libraries/Html/Renderer: Always return DEFAULT_FAVICON instead of NULL
2025-04-14 17:26:22 -04:00
10309b6b18
System/Libraries/Html/Renderer: Initial favicon support
...
This only supports RGBx color depths at the moment, but it's good enough
for most modern sites.
2025-04-14 16:45:51 -04:00
6532218883
System/Libraries/Html/Renderer: Handle node->textAlign a bit better
...
Just a few QoL tweaks for now, until we properly handle CSS, layout,
and everything else.
2025-04-14 10:53:05 -04:00
dd86ef6a44
Meta: Add some layout debugging stuff
2025-04-13 14:40:44 -04:00
08313be27f
System/Libraries/Html/Renderer: Refactor @render_node_list
2025-04-13 14:39:24 -04:00
fc0c98ee2b
System/Libraries/Html/Renderer: Add debug options
2025-04-12 20:12:43 -04:00
9e0668d0e0
System/Libraries/Html/Renderer: Initial support for node->textAlign
...
This only works for very simple cases, but it is enough for centering
and right-align text on sites like Wiby, and a centered Google logo. :^)
2025-04-12 19:57:49 -04:00
e8bc19b444
System/Libraries/Html/Renderer: Fix an oopsie woopsie (advance by code point, rather than byte)
2025-04-12 18:48:58 -04:00
d068f46bc6
Meta: Remove debugging stuff
2025-04-12 18:26:43 -04:00
df0adc0a15
Everywhere: Changes to @html_dom_node and TrueType API
...
CSS properties fontFamily and fontSize are part of @html_dom_node now,
and the TrueType API only accepts I32 code point streams, so we have
to preprocess UTF-8 streams before rendering text.
2025-04-12 18:09:26 -04:00
603e1d15ab
System/Libraries/Html/Renderer: Apply bgcolor/color element attribute values to CSS
2025-04-11 17:22:29 -04:00
17910faac2
System/Libraries/Html/Renderer: Match rules in accordance with CSS Specificity
2025-04-11 16:58:48 -04:00
3e8d126fbe
System/Libraries/Html/Renderer: Add NULL check to @reflow_node_list()
2025-04-10 19:48:11 -04:00
c45b862b2b
System/Libraries/Html/Renderer: Render INPUT type=checkbox
2025-04-10 14:49:35 -04:00
4992c222d7
System/Libraries/Html/Renderer: Render INPUT type=password
2025-04-10 11:41:13 -04:00
42e4f89b8b
System/Libraries/Html/Renderer: Render INPUT type=text
2025-04-10 11:35:43 -04:00
d3048f31e5
Applications/Internet/Cyberia: Add web browser
...
This is the initial commit of the Cyberia web browser, Html and Css
libraries.
2025-04-10 10:51:59 -04:00