Преглед изворни кода

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 година
родитељ
комит
bc1b33eb22
1 измењених фајлова са 5 додато и 0 уклоњено
  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; }