浏览代码

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; }