Browse Source

LibWeb: Add border style for iframe to default UA stylesheet

Wouldn't be the true <iframe> experience if you didn't have to get rid
of the default inset border :^)
Linus Groh 3 years ago
parent
commit
bc1b33eb22
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Userland/Libraries/LibWeb/CSS/Default.css

+ 5 - 0
Userland/Libraries/LibWeb/CSS/Default.css

@@ -286,3 +286,8 @@ input[type=hidden i] { display: none !important; }
 @media (scripting) {
   noscript { display: none !important; }
 }
+
+/* 15.4.1 Embedded content
+ * https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules
+ */
+iframe { border: 2px inset; }