mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
LibWeb: Respect the document's link_color for Linktext identifiers
This commit is contained in:
parent
ec190baa55
commit
7a766bdb83
3 changed files with 13 additions and 3 deletions
4
Tests/LibWeb/Ref/body-link-attribute.html
Normal file
4
Tests/LibWeb/Ref/body-link-attribute.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/body-link-attribute-ref.html" />
|
||||
<body link="#FF0000">
|
||||
<a href="about:blank">link
|
8
Tests/LibWeb/Ref/reference/body-link-attribute-ref.html
Normal file
8
Tests/LibWeb/Ref/reference/body-link-attribute-ref.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/body-link-attribute.html-ref" />
|
||||
<style>
|
||||
a {
|
||||
color: #FF0000;
|
||||
}
|
||||
</style>
|
||||
<a href="about:blank">link
|
Loading…
Add table
Add a link
Reference in a new issue