summaryrefslogtreecommitdiff
path: root/Base/home
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-09 21:25:29 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-09 21:25:29 +0200
commitfdbad6284c6884a3d5b0b1c125b26711fbe585f8 (patch)
tree97ff4be8efff228ef23486e9324b5b0d44509063 /Base/home
parent33043941f97e89cfdb2148265dda379a489e5247 (diff)
downloadserenity-fdbad6284c6884a3d5b0b1c125b26711fbe585f8.zip
LibHTML: Implement the <blink> element
Just in time for Serenity's 1st birthday, here is the <blink> element! This patch adds a bunch of different mechanisms to enable partial repaints of the layout tree (LayoutNode::set_needs_display())) It also adds LayoutNode::is_visible(), which can be toggled to prevent a LayoutNode from rendering anything (it still takes up space though.)
Diffstat (limited to 'Base/home')
-rw-r--r--Base/home/anon/www/blink.html5
-rw-r--r--Base/home/anon/www/welcome.html1
2 files changed, 6 insertions, 0 deletions
diff --git a/Base/home/anon/www/blink.html b/Base/home/anon/www/blink.html
new file mode 100644
index 0000000000..529923b485
--- /dev/null
+++ b/Base/home/anon/www/blink.html
@@ -0,0 +1,5 @@
+<html>
+ <body>
+ <blink>Hello friends!</blink>
+ </body>
+</html>
diff --git a/Base/home/anon/www/welcome.html b/Base/home/anon/www/welcome.html
index ce4ccd86a6..8a1524bc29 100644
--- a/Base/home/anon/www/welcome.html
+++ b/Base/home/anon/www/welcome.html
@@ -23,6 +23,7 @@ h1 {
<li><a href="images.html">images</a></li>
<li><a href="selectors.html">selectors</a></li>
<li><a href="link.html">link element</a></li>
+ <li><a href="blink.html">blink element</a></li>
<li><a href="http://www.serenityos.org/">www.serenityos.org</a></li>
</ul>
</body>