Bug 1551696 - Remove type=text/css from style references since its not necessary. r=MattN draft
authorpulselistener
Sat, 18 May 2019 06:37:03 +0000
changeset 2008484 726f8a69def04ff9977241747b2cdf199c78a15d
parent 2005215 507d95016ed26c189386369dac28bd49c5fb3a7d
child 2008485 ab93fdcc1f48097b394556874bbed7d745417c00
push id363918
push userreviewbot
push dateSat, 18 May 2019 06:38:13 +0000
treeherdertry@e7ae34bf2e12 [default view] [failures only]
reviewersMattN
bugs1551696
milestone68.0a1
Bug 1551696 - Remove type=text/css from style references since its not necessary. r=MattN Differential Revision: https://phabricator.services.mozilla.com/D31283 Differential Diff: PHID-DIFF-3d7rkdeopnklz57y6l2b
browser/components/aboutlogins/content/aboutLogins.html
browser/components/aboutlogins/tests/mochitest/test_login_filter.html
browser/components/aboutlogins/tests/mochitest/test_login_item.html
browser/components/aboutlogins/tests/mochitest/test_login_list.html
browser/components/aboutlogins/tests/mochitest/test_modal_input.html
browser/components/aboutlogins/tests/mochitest/test_reflected_fluent_element.html
--- a/browser/components/aboutlogins/content/aboutLogins.html
+++ b/browser/components/aboutlogins/content/aboutLogins.html
@@ -11,18 +11,18 @@
     <link rel="localization" href="browser/aboutLogins.ftl">
     <script defer="defer" src="chrome://browser/content/aboutlogins/components/reflected-fluent-element.js"></script>
     <script defer="defer" src="chrome://browser/content/aboutlogins/components/login-filter.js"></script>
     <script defer="defer" src="chrome://browser/content/aboutlogins/components/login-item.js"></script>
     <script defer="defer" src="chrome://browser/content/aboutlogins/components/login-list.js"></script>
     <script defer="defer" src="chrome://browser/content/aboutlogins/components/login-list-item.js"></script>
     <script defer="defer" src="chrome://browser/content/aboutlogins/components/modal-input.js"></script>
     <script defer="defer" src="chrome://browser/content/aboutlogins/aboutLogins.js"></script>
-    <link rel="stylesheet" type="text/css" href="chrome://global/skin/in-content/common.css">
-    <link rel="stylesheet" type="text/css" href="chrome://browser/content/aboutlogins/aboutLogins.css">
+    <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
+    <link rel="stylesheet" href="chrome://browser/content/aboutlogins/aboutLogins.css">
   </head>
   <body>
     <header>
       <login-filter data-l10n-id="login-filter"
                     data-l10n-attrs="placeholder"></login-filter>
     </header>
     <login-list data-l10n-id="login-list"
                 data-l10n-attrs="count"
@@ -38,34 +38,34 @@
                                  password-label,
                                  save-changes-button,
                                  time-created,
                                  time-changed,
                                  time-used,
                                  username-label"></login-item>
 
     <template id="login-list-template">
-      <link rel="stylesheet" type="text/css" href="chrome://global/skin/in-content/common.css">
+      <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
       <link rel="stylesheet" href="chrome://browser/content/aboutlogins/components/login-list.css">
       <div class="meta">
         <span class="count"></span>
       </div>
       <ol>
       </ol>
     </template>
 
     <template id="login-list-item-template">
-      <link rel="stylesheet" type="text/css" href="chrome://global/skin/in-content/common.css">
+      <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
       <link rel="stylesheet" href="chrome://browser/content/aboutlogins/components/login-list-item.css">
       <span class="hostname"></span>
       <span class="username"></span>
     </template>
 
     <template id="login-item-template">
-      <link rel="stylesheet" type="text/css" href="chrome://global/skin/in-content/common.css">
+      <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
       <link rel="stylesheet" href="chrome://browser/content/aboutlogins/components/login-item.css">
       <div class="header">
         <h2 class="title"></h2>
         <button class="edit-button"></button>
         <button class="delete-button"></button>
       </div>
       <div class="detail-row">
         <label>
@@ -89,22 +89,22 @@
       <p class="time-created meta-info"></p>
       <p class="time-changed meta-info"></p>
       <p class="time-used meta-info"></p>
       <button class="save-changes-button"></button>
       <button class="cancel-button"></button>
     </template>
 
     <template id="login-filter-template">
-      <link rel="stylesheet" type="text/css" href="chrome://global/skin/in-content/common.css">
+      <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
       <link rel="stylesheet" href="chrome://browser/content/aboutlogins/components/login-filter.css">
       <input type="text"/>
     </template>
 
     <template id="modal-input-template">
-      <link rel="stylesheet" type="text/css" href="chrome://global/skin/in-content/common.css">
+      <link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
       <link rel="stylesheet" href="chrome://browser/content/aboutlogins/components/modal-input.css">
       <span class="locked-value"></span>
       <input type="text" class="unlocked-value"/>
       <button class="reveal-button"/>
     </template>
   </body>
 </html>
--- a/browser/components/aboutlogins/tests/mochitest/test_login_filter.html
+++ b/browser/components/aboutlogins/tests/mochitest/test_login_filter.html
@@ -9,17 +9,17 @@ Test the login-filter component
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <script src="/tests/SimpleTest/EventUtils.js"></script>
   <script src="reflected-fluent-element.js"></script>
   <script src="login-filter.js"></script>
   <script src="login-list-item.js"></script>
   <script src="login-list.js"></script>
   <script src="aboutlogins_common.js"></script>
 
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
   <p id="display">
   </p>
 <div id="content" style="display: none">
   <iframe id="templateFrame" src="aboutLogins.html"
           sandbox="allow-same-origin"></iframe>
 </div>
--- a/browser/components/aboutlogins/tests/mochitest/test_login_item.html
+++ b/browser/components/aboutlogins/tests/mochitest/test_login_item.html
@@ -7,17 +7,17 @@ Test the login-item component
   <meta charset="utf-8">
   <title>Test the login-item component</title>
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <script src="reflected-fluent-element.js"></script>
   <script src="login-item.js"></script>
   <script src="modal-input.js"></script>
   <script src="aboutlogins_common.js"></script>
 
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
   <p id="display">
   </p>
 <div id="content" style="display: none">
   <iframe id="templateFrame" src="aboutLogins.html"
           sandbox="allow-same-origin"></iframe>
 </div>
--- a/browser/components/aboutlogins/tests/mochitest/test_login_list.html
+++ b/browser/components/aboutlogins/tests/mochitest/test_login_list.html
@@ -7,17 +7,17 @@ Test the login-list component
   <meta charset="utf-8">
   <title>Test the login-list component</title>
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <script src="reflected-fluent-element.js"></script>
   <script src="login-list-item.js"></script>
   <script src="login-list.js"></script>
   <script src="aboutlogins_common.js"></script>
 
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
   <p id="display">
   </p>
 <div id="content" style="display: none">
   <iframe id="templateFrame" src="aboutLogins.html"
           sandbox="allow-same-origin"></iframe>
 </div>
--- a/browser/components/aboutlogins/tests/mochitest/test_modal_input.html
+++ b/browser/components/aboutlogins/tests/mochitest/test_modal_input.html
@@ -6,17 +6,17 @@ Test the modal-input component
 <head>
   <meta charset="utf-8">
   <title>Test the modal-input component</title>
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <script src="reflected-fluent-element.js"></script>
   <script src="modal-input.js"></script>
   <script src="aboutlogins_common.js"></script>
 
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
   <p id="display">
   </p>
 <div id="content" style="display: none">
   <iframe id="templateFrame" src="aboutLogins.html"
           sandbox="allow-same-origin"></iframe>
 </div>
--- a/browser/components/aboutlogins/tests/mochitest/test_reflected_fluent_element.html
+++ b/browser/components/aboutlogins/tests/mochitest/test_reflected_fluent_element.html
@@ -5,17 +5,17 @@ Test the reflected-fluent-element compon
 -->
 <head>
   <meta charset="utf-8">
   <title>Test the reflected-fluent-element component</title>
   <script src="/tests/SimpleTest/SimpleTest.js"></script>
   <script src="reflected-fluent-element.js"></script>
   <script src="aboutlogins_common.js"></script>
 
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
+  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
 </head>
 <body>
   <p id="display">
   </p>
 <div id="content" style="display: none">
   <iframe id="templateFrame" src="aboutLogins.html"
           sandbox="allow-same-origin"></iframe>
 </div>