소스 검색

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) {
 @media (scripting) {
   noscript { display: none !important; }
   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; }